原文

https://gitee.com/yeungchie/CentOS6_yum/

 

https://www.cnblogs.com/yeungchie/

CentOS6 已经停更了,但由于某些原因还得接着用着,找到几个暂时还能用的 yum 源

备份

mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
mv /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo.backup
 

下载

-O /etc/yum.repos.d/CentOS-Base.repo https://gitee.com/yeungchie/CentOS6_yum/raw/master/CentOS6-Base.repo
-O /etc/yum.repos.d/epel.repo https://gitee.com/yeungchie/CentOS6_yum/raw/master/epel6.repo
 

更新

yum clean all
yum makecache

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-23
  • 2021-08-01
  • 2022-12-23
  • 2022-12-23
  • 2021-11-20
猜你喜欢
  • 2022-02-20
  • 2022-01-04
  • 2021-06-07
  • 2022-12-23
  • 2021-06-06
相关资源
相似解决方案