简单介绍
由于centos7等系统EOL,但仍有不少业务运行在这些旧系统之上。
希望这个工具可以方便大家切换镜像源。
由于时间精力有限,暂时只做了centos EOL系统的脚本,其他的后续慢慢补齐。
演示截图

脚本特性
1.自动测速,选择最快的镜像源地址。
2.一键换源,一键执行自动切换。
小广告
弘速云(hosuyun.com) 香港8C8G 仅需50元/月
【宝塔】送你10850元礼包
【腾讯云】云产品1折特惠专区
【阿里云】云产品爆款特惠
补充说明
1.旧镜像配置文件均备份在 脚本所在目录/mirror_sources/ 目录下
2.执行yum -y update命令后,配置文件会被恢复到官方源,需要再次执行脚本修改源配置文件。
3.该脚本目前还在开发中,纯小白+生产环境暂时不要使用,避免遇到未知错误。
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
第一时间更新将会在我的博客中发布,欢迎光临我的小栈。
https://www.baota.me/post-450.html
linuxmirrors.cn
@rui #1 这个我一直用的
@rui #1
不是一回事
我是对镜像测速自动选择镜像地址
不是这种交互式的
@chentaiyang #2
不是一回事
我是对镜像测速自动选择镜像地址
不是这种交互式的
@gacjie #3
你的也很不错,收藏了哈哈哈
不错不错,感谢分享。