上一篇 下一篇 分享链接 返回 返回顶部

一键更换yum源命令

发布人:小李 发布时间:2024-03-14 11:48 阅读量:1831

centos_7换源脚本

curl --insecure -sSL -o centos_7.sh https://down.baota.me/project/mirror_sources/script/centos_7.sh && bash centos_7.sh

centos_8换源脚本

curl --insecure -sSL -o centos_8.sh https://down.baota.me/project/mirror_sources/script/centos_8.sh && bash centos_8.sh

centos_stream_8换源脚本

curl --insecure -sSL -o centos_stream_8.sh https://down.baota.me/project/mirror_sources/script/centos_stream_8.sh && bash centos_stream_8.sh

debian_10换源脚本

wget --no-check-certificate -qO debian_10.sh https://down.baota.me/project/mirror_sources/script/debian_10.sh && bash debian_10.sh

debian_11换源脚本

curl --insecure -sSL -o debian_11.sh https://down.baota.me/project/mirror_sources/script/debian_11.sh && bash debian_11.sh

debian_12换源脚本

curl --insecure -sSL -o debian_12.sh https://down.baota.me/project/mirror_sources/script/debian_12.sh && bash debian_12.sh
目录结构
全文
关于Centos官网停止维护导致源失效解决方案

重大通知!用户您好,以下内容请务必知晓!

由于CentOS官方已全面停止维护CentOS Linux项目,公告指出 CentOS 7和8在2024年6月30日停止技术服务支持,详情见CentOS官方公告。
导致CentOS系统源已全面失效,比如安装宝塔等等会出现网络不可达等报错,解决方案是更换系统源。
输入以下命令:

centos_7换源脚本


  • curl --insecure -sSL -o centos_7.sh https://down.baota.me/project/mirror_sources/script/centos_7.sh && bash centos_7.sh
     

弘速云超值福利:推广最高领 100 元余额!

推广奖励:
 
  • 发布相关文章(含官网 / 优惠产品 / 教程 + 明显网址链接):赠 50 元平台余额
  • 额外制作发布 5 分钟以上视频(需发 B 站,同文章内容要求):再赠 50 元平台余额
  • 文章 + 视频组合参与:直接领 100 元平台余额
  • 余额仅可平台消费,不可提现,每人限 1 次参与资格
  推广规则:
  1. 发布平台:B 站、youtube、CSDN、百家号、知名主机论坛
  2. 内容需含弘速云官网广告 + 明显网址链接,拒绝粗制滥造
  3. 发布后 60 天内不可删除,平台将核查

查看详情 关闭
网站通知