cenots6 公有云YUM源站失效更新国内搜狐源

修改YUM源

#wget -q http://mirrors.sohu.com/.help/
cat > CentOS6-Base-sohu.repo << EOF  
[base]
name=CentOS-6  
failovermethod=priority  
baseurl=http://mirrors.sohu.com/centos/6/os/x86_64/  
gpgcheck=0

[updates]
name=CentOS-6 - Updates  
baseurl=http://mirrors.sohu.com/centos/6/updates/x86_64/  
gpgcheck=0  
EOF