一、负载均衡器端1.安装(MASTER、BACKUP)A、wget http://mirrors.163.com/.help/CentOS6-Base-163.repo -O /etc/yum.repos.d/CentOS-Base.repoB、yum makecacheC、yum -y updateD、yum -y install ipvsadm modcluster piranha syste
wget -O cnipv4 .txt http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest grep "CN" cnipv4.txt |grep "ipv4" | awk -F "|" "{print $4,
wget -O ip.txt http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest;grep 'asn' ip.txt |grep 'CN' | awk -F "|" '{print $4}' >as.txt  
Copyright © 2005-2023 51CTO.COM 版权所有 京ICP证060544号