帮助文档>Linux系统 > Centos系统使用脚本一键更换软件源

Centos系统使用脚本一键更换软件源

发布时间:2024-01-12 12:44

1.输入wget --version查看是否有安装wegt,有的话会直接显示版本号,如果没有安装输入yum install wget执行安装。

img

2.输入yum install ca-certificates安装ca-certificates。

img

3.下载脚本,示例是海外机器所以使用海外下载脚本。

海外下载脚本

  1. wget https://raw.githubusercontent.com/oooldking/script/master/superupdate.sh

国内加速下载脚本

  1. wget https://mirror.ghproxy.com/https://raw.githubusercontent.com/oooldking/script/master/superupdate.sh![img](https://public-1251015552.cos.ap-guangzhou.myqcloud.com/Uploads/image/2023-12-11/1503185aea18a.jpg)

4.输入bash superupdate.sh运行更换软件源。

img

本文导读

客户热线:15578077729

客户服务中心