标签:
首先备份/etc/yum.repos.d/CentOS-Base.repo
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
下载对应版本repo文件, 放入/etc/yum.repos.d/(操作前请做好相应备份)
运行以下命令生成缓存
yum clean all yum makecache
引自:http://mirrors.163.com/.help/centos.html
标签:
原文地址:http://www.cnblogs.com/tdcqma/p/5477167.html