ubuntu更換阿里鏡像源
1、備份 /etc/apt/sources.list 文件
命令:
舊的ubuntu文件是這樣

?
?2、編輯 sources.list 文件
?
命令:
?
阿里巴巴鏡像源站:
https://developer.aliyun.com/mirror/
?
將以下內(nèi)容覆蓋 sources.list 原內(nèi)容
?新的是這樣

3、更新源
命令:sudo apt-get update
4、更新軟件
命令:sudo apt-get upgrade

標(biāo)簽: