注册 登录
查看: 1876|回复: 0

Ubuntu软件安装源配置(阿里云源)

[复制链接]

54

主题

56

帖子

1167

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1167
发表于 2016-12-25 08:39:56 | 显示全部楼层 |阅读模式
以下是Ubuntu14.04软件安装源的配置。
  1. sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak #备份
  2. sudo vim /etc/apt/sources.list #修改
  3. sudo apt-get update #更新列表
复制代码
  1. deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
  2. deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
  3. deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
  4. deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
  5. deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
  6. deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
  7. deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
  8. deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
  9. deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
  10. deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
复制代码

帖子来源:http://www.cnblogs.com/littlemonsters/p/5783690.html

如果你使用的是阿里云服务器,请把aliyun.com换成aliyuncs.com,由外网换成内网,速度更快!

更多Ubuntu版本安装源的配置,请查看阿里云Ubuntu的镜像的相关帮助。链接:
http://mirrors.aliyun.com/help/ubuntu
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回列表 返回顶部