1
2
3
4
5
|
cd
/
etc
/
yum.repos.d
mv CentOS
-
Base.repo CentOS
-
Base.repo.backup
wget http:
/
/
mirrors.
163.com
/
.
help
/
CentOS6
-
Base
-
163.repo
mv CentOS6
-
Base
-
163.repo
CentOS
-
Base.repo
yum clean
all
|
Centos镜像地址:
http://mirrors.163.com/.help/centos.html
本文转自stock0991 51CTO博客,原文链接:http://blog.51cto.com/qing0991/1966065,如需转载请自行联系原作者