Centos系统使用脚本一键更换软件源
1.输入`wget --version`查看是否有安装wegt,有的话会直接显示版本号,如果没有安装输入`yum install wget `执行安装。
2.输入`yum install ca-certificates`安装ca-certificates。
3.下载脚本,示例是海外机器所以使用海外下载脚本。
海外下载脚本 wget https://raw.githubusercontent.com/oooldking/script/master/superupdate.sh
国内加速下载脚本
wget https://mirror.ghproxy.com/https://raw.githubusercontent.com/oooldking/script/master/superupdate.sh
4.输入`bash superupdate.sh`运行更换软件源。
版权保护: 本文「Centos系统使用脚本一键更换软件源」由 云主机配置专家 原创,转载请保留链接: https://www.miandns.com/docs/system/324.html