Centos系統(tǒng)使用腳本一鍵更換軟件源
1.輸入`wget --version`查看是否有安裝wegt,有的話會(huì)直接顯示版本號(hào),如果沒有安裝輸入`yum install wget `執(zhí)行安裝。
2.輸入`yum install ca-certificates`安裝ca-certificates。
3.下載腳本,示例是海外機(jī)器所以使用海外下載腳本。
海外下載腳本 wget https://raw.githubusercontent.com/oooldking/script/master/superupdate.sh
國(guó)內(nèi)加速下載腳本
wget https://mirror.ghproxy.com/https://raw.githubusercontent.com/oooldking/script/master/superupdate.sh
4.輸入`bash superupdate.sh`運(yùn)行更換軟件源。
版權(quán)保護(hù): 本文「Centos系統(tǒng)使用腳本一鍵更換軟件源」由 云主機(jī)配置專家 原創(chuàng),轉(zhuǎn)載請(qǐng)保留鏈接: http://www.iqcg.cn/docs/system/324.html