centos 更新源_CentOS 6停止更新

论坛 期权论坛 编程之家     
选择匿名的用户   2021-6-2 18:07   1514   0

CentOS 6于2020年11月30日停止更新,官方,清华,阿里,网易等yum库也已经关闭了

68e144c3baaab7a7828df17448e630f7.png

  • CentoS 6 停止维护更新日期2020年11月30日

  • CentOS 7 停止维护更新日期2024年6月30日

  • CentOS 8 停止维护更新日期2029年5月31日,后来又改成了2021年12月31日

如果现在还在使用CentOS6系统的,可以使用vault.centos.org作为更新源

  • CentOS官方:http://vault.centos.org/

  • 阿里云镜像:http://mirrors.aliyun.com/centos-vault/

1、关闭fastestmirror

vi /etc/yum/pluginconf.d/fastestmirror.conf
enable=0

2、将原来的源备份处理

mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak

3、更换源

#替换为官方Vault源wget -O /etc/yum.repos.d/CentOS-Base.repo https://static.lty.fun/%E5%85%B6%E4%BB%96%E8%B5%84%E6%BA%90/SourcesList/Centos-6-Vault-Official.repo
#替换为阿里云Vault镜像wget -O /etc/yum.repos.d/CentOS-Base.repo https://static.lty.fun/%E5%85%B6%E4%BB%96%E8%B5%84%E6%BA%90/SourcesList/Centos-6-Vault-Aliyun.repo
分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP