Debian使用腳本一鍵更換軟件源
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
國(guó)內(nèi)加速下載
wget https://ghproxy.com/https://raw.githubusercontent.com/oooldking/script/master/superupdate.sh
3.運(yùn)行更換軟件源
bash superupdate.sh
對(duì)于 Debian 系統(tǒng)還設(shè)置了四套其他的源,阿里云,CloudFront CDN,網(wǎng)易163,中科大的源,請(qǐng)根據(jù)需要使用參數(shù)一鍵設(shè)置
bash superupdate.sh cn bash superupdate.sh 163 bash superupdate.sh aliyun bash superupdate.sh aws
如果配置的文件不滿意,一鍵還原
bash superupdate.sh restore
版權(quán)保護(hù): 本文「Debian使用腳本一鍵更換軟件源」由 云主機(jī)配置專家 原創(chuàng),轉(zhuǎn)載請(qǐng)保留鏈接: http://www.iqcg.cn/docs/system/582.html