Ubuntu18.04更换换阿里源 - UU实验室
TypechoJoeTheme

UU实验室

统计
登录
用户名
密码

小陈

不怕神一样的对手,就怕猪一样的队友。
网站页面

Ubuntu18.04更换换阿里源

备份原始文件

cp /etc/apt/sources.list /etc/apt/sourses.list.backup
sudo nano /etc/apt/sources.list

添加以下阿里源

deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

更新

sudo apt-get update && sudo apt-get upgrade
朗读
赞 · 0
版权属于:

UU实验室

本文链接:

https://uulab.org/server/625.html(转载时请注明本文出处及文章链接)

评论 (0)