1.参考Centos镜像帮助

(1.1)备份原始repo

shell> sudo mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup

(1.2)下载163 repo,放入 /etc/yum.repos.d/ ,并修改文件名称

shell > sudo cd /etc/yum.repos.d/
shell > sudo wget http://mirrors.163.com/.help/CentOS7-Base-163.repo
shell > sudo mv CentOS7-Base-163.repo CentOS-Base.repo

ps: 相关repo地址  

centos7 : http://mirrors.163.com/.help/CentOS7-Base-163.repo

centos6 : http://mirrors.163.com/.help/CentOS6-Base-163.repo

centos5 : http://mirrors.163.com/.help/CentOS5-Base-163.repo

(1.3)生成缓存

shell> sudo yum clean all
shell > sudo yum makecache

2. 相关链接

 官方主页: http://www.centos.org/ 

 邮件列表: http://www.centos.org/modules/tinycontent/index.php?id=16

 论坛: http://www.centos.org/modules/newbb/

 文档: http://www.centos.org/docs/

 Wiki: http://wiki.centos.org/

 镜像列表: http://www.centos.org/modules/tinycontent/index.php?id=32

相关文章:

  • 2022-12-23
  • 2021-10-17
  • 2021-11-27
  • 2021-08-01
  • 2021-08-01
  • 2021-10-26
  • 2022-12-23
猜你喜欢
  • 2022-01-24
  • 2021-07-10
  • 2021-05-29
  • 2021-11-27
  • 2022-01-12
  • 2021-09-19
  • 2021-05-28
相关资源
相似解决方案