我这里使用的搜狐的源,博友们可以自己穿件源
cd /etc/yum.repos.d
mv CentOS-Base.repo CentOS-Base.repo.save
wget http://mirrors.sohu.com/help/CentOS-Base-sohu.repo
yum update
yum makecache
本文转自 xinsir999 51CTO博客,原文链接:http://blog.51cto.com/xinsir/1532659,如需转载请自行联系原作者