先查看yum.conf配置文件下yum源地址
wget http://mirrors.aliyun.com/repo/Centos-6.repo
下载下来
然后查看cat /etc/yum/yum.repos.d
更换yum源地址mv Centos-6.repo CentOS-Base.repo
/etc/init.d/iptables stop  关闭防火墙
/etc/init.d/httpd start    开启http 服务
posted on 2016-03-09 13:22  阡陌客  阅读(258)  评论(0编辑  收藏  举报