centos7一键换源脚本(centos7停止维护对应方法)
通知公告new 2024-08-03 12:08 9634

因为现在centos7版本官方已经停止维护,yum安装源无法使用,导致老版本centos系统不能正常安装软件(涉及:centos6.X~centos7.X、centos8的所有版本),需要更换yum源以下为更换yum源的脚本,根据自己需要选择

优先:首选脚本-2号腾讯源,弹出的提示都选Y或直接Enter键下一步。如提示失败可以尝试其他源

首选脚本

bash <(curl -sSL http://linux.niuteyun.com/hybase.sh)

 

教育网备用

bash <(curl -sSL http://linux.niuteyun.com/hybase.sh) --edu

github地址备用

bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/ChangeMirrors.sh)

gitee地址备用

bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh)

 

海外备用

bash <(curl -sSL https://linuxmirrors.cn/main.sh) --abroad

github地址

bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/ChangeMirrors.sh) --abroad

gitee地址

bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh) --abroad

标签:

  • centos7停止更新,linux一键换源
Powered by ©智简魔方