码迷,mamicode.com
首页 > 系统相关 > 详细

Ubuntu 14.04 更换阿里云源

时间:2019-01-22 01:23:36      阅读:184      评论:0      收藏:0      [点我收藏+]

标签:str   gpo   UNC   bsp   修改   更换   4.0   ash   main   

 

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak #备份

sudo vim /etc/apt/sources.list #修改
sudo apt-get update #更新列表
 
阿里源,将默认的源全部删除掉
deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
 
 
 
 
 

Ubuntu 14.04 更换阿里云源

标签:str   gpo   UNC   bsp   修改   更换   4.0   ash   main   

原文地址:https://www.cnblogs.com/judes/p/10301647.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!