标签:sudo color 阿里 width http image update etc ops
1、备份原有
cp /etc/apt/sources.list /etc/apt/sources.list.old
2、打开阿里巴巴镜像源: https://opsx.alibaba.com/mirror,打开帮助找到
deb http://mirrors.aliyun.com/ubuntu/ xenial main deb-src http://mirrors.aliyun.com/ubuntu/ xenial main deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main deb http://mirrors.aliyun.com/ubuntu/ xenial universe deb-src http://mirrors.aliyun.com/ubuntu/ xenial universe deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates universe deb http://mirrors.aliyun.com/ubuntu/ xenial-security main deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security universe
3、修改配置
vi /etc/apt/sources.list,删除原有配置内容,并将上面的找到的ubuntu16.04配置粘贴sources.list
结果如下:
4、sudo apt-get update更新镜像源
标签:sudo color 阿里 width http image update etc ops
原文地址:https://www.cnblogs.com/qingfengxuxu/p/10461384.html