Debian使用脚本一键更换软件源
时间:2024/4/25 8:47:14 来源:米安网络 作者:云主机配置专家 点击:18次
1.安装 wget 和 ca-certificates
apt-get install -y wget && apt-get install -y ca-certificates
2.下载脚本
海外下载
wget https://raw.githubusercontent.com/oooldking/script/master/superupdate.sh
国内加速下载
wget https://ghproxy.com/https://raw.githubusercontent.com/oooldking/script/master/superupdate.sh
3.运行更换软件源
bash superupdate.sh
对于 Debian 系统还设置了四套其他的源,阿里云,CloudFront CDN,网易163,中科大的源,请根据需要使用参数一键设置
bash superupdate.sh cn
bash superupdate.sh 163
bash superupdate.sh aliyun
bash superupdate.sh aws
如果配置的文件不满意,一键还原
bash superupdate.sh restore
版权保护: 本文「Debian使用脚本一键更换软件源」由 云主机配置专家 原创,转载请保留链接: https://www.miandns.com/docs/system/582.html