1.輸入wget --version查看是否有安裝wegt,有的話會直接顯示版本號,如果沒有安裝輸入yum install wget執(zhí)行安裝。
2.輸入yum install ca-certificates安裝ca-certificates。
3.下載腳本,示例是海外機(jī)器所以使用海外下載腳本。
海外下載腳本
wget https://raw.githubusercontent.com/oooldking/script/master/superupdate.sh
國內(nèi)加速下載腳本
wget https://mirror.ghproxy.com/https://raw.githubusercontent.com/oooldking/script/master/superupdate.sh
4.輸入bash superupdate.sh運(yùn)行更換軟件源。