[root@xuegod60 ~]# mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
[root@xuegod60 ~]# wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.163.com/.help/CentOS6-Base-163.repo[root@xuegod60 ~]# yum clean all[root@xuegod60 ~]# yum makecache
以上部分来自网络博客,本人做了一些总结