日本三级片在线观看视频_西西大胆午夜人体视频无码_少妇无码一区二区_亚洲天堂超碰_极品少妇被猛的白浆直流_91精品云霸高清中文字幕_草草五月天伊人_久久少妇无码专区_欧美激欧美啪啪5老太_日韩在线在线成人

Ubuntu 18.04修改默認源為國內(nèi)源

2019-01-17 18:26:04 411

修改阿里源為Ubuntu 18.04默認的源

備份/etc/apt/sources.list
#備份
cp /etc/apt/sources.list /etc/apt/sources.list.bak

在/etc/apt/sources.list文件前面添加如下條目
#添加阿里源

deb http://m.lncdfzh.com.cn/ubuntu/ bionic main restricted universe multiverse
deb http://m.lncdfzh.com.cn/ubuntu/ bionic-security main restricted universe multiverse
deb http://m.lncdfzh.com.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb http://m.lncdfzh.com.cn/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://m.lncdfzh.com.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://m.lncdfzh.com.cn/ubuntu/ bionic main restricted universe multiverse
deb-src http://m.lncdfzh.com.cn/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://m.lncdfzh.com.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://m.lncdfzh.com.cn/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://m.lncdfzh.com.cn/ubuntu/ bionic-backports main restricted universe multiverse

最后執(zhí)行如下命令更新源
##更新

sudo apt-get update
sudo apt-get upgrade

另外其他幾個國內(nèi)源如下: 
中科大源
##中科大源

deb http://m.lncdfzh.com.cn/ubuntu/ bionic main restricted universe multiverse
deb-src http://m.lncdfzh.com.cn/ubuntu/ bionic main restricted universe multiverse
deb http://m.lncdfzh.com.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://m.lncdfzh.com.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb http://m.lncdfzh.com.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://m.lncdfzh.com.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb http://m.lncdfzh.com.cn/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://m.lncdfzh.com.cn/ubuntu/ bionic-security main restricted universe multiverse
deb http://m.lncdfzh.com.cn/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://m.lncdfzh.com.cn/ubuntu/ bionic-proposed main restricted universe multiverse

163源
##163源

deb http://m.lncdfzh.com.cn/ubuntu/ bionic main restricted universe multiverse
deb http://m.lncdfzh.com.cn/ubuntu/ bionic-security main restricted universe multiverse
deb http://m.lncdfzh.com.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb http://m.lncdfzh.com.cn/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://m.lncdfzh.com.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://m.lncdfzh.com.cn/ubuntu/ bionic main restricted universe multiverse
deb-src http://m.lncdfzh.com.cn/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://m.lncdfzh.com.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://m.lncdfzh.com.cn/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://m.lncdfzh.com.cn/ubuntu/ bionic-backports main restricted universe multiverse

清華源
##清華源

deb http://m.lncdfzh.com.cn/ubuntu/ bionic main restricted universe multiverse
deb-src http://m.lncdfzh.com.cn/ubuntu/ bionic main restricted universe multiverse
deb http://m.lncdfzh.com.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://m.lncdfzh.com.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb http://m.lncdfzh.com.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://m.lncdfzh.com.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb http://m.lncdfzh.com.cn/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://m.lncdfzh.com.cn/ubuntu/ bionic-security main restricted universe multiverse
deb http://m.lncdfzh.com.cn/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://m.lncdfzh.com.cn/ubuntu/ bionic-proposed main restricted universe multiverse


提交成功!非常感謝您的反饋,我們會繼續(xù)努力做到更好!

這條文檔是否有幫助解決問題?

非常抱歉未能幫助到您。為了給您提供更好的服務(wù),我們很需要您進一步的反饋信息:

在文檔使用中是否遇到以下問題: