首页 > 系统服务 > 详细

ubuntu更改阿里云键镜像

时间:2020-01-02 10:08:32      阅读:97      评论:0      收藏:0      [点我收藏+]

ubuntu更改阿里云键镜像

1.备份

cp sources.list sources.list.old

2.用vim打开: sudo vim sources.list 输入ggdG删除所有内容,按i键进入插入模式,鼠标右键粘贴

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

3.更新镜像源

sudo apt-get update

4.其他版本镜像
https://blog.csdn.net/aria_miazzy/article/details/102741907

ubuntu更改阿里云键镜像

原文:https://www.cnblogs.com/tomtellyou/p/12131663.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!