1. sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
  1. sudo vim /etc/apt/sources.list
  1. sudo apt-get update
  1. #aliyun
  2. deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
  3. deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
  4. deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
  5. deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
  6. deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
  7. deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
  8. deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
  9. deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
  10. deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
  11. deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
  1. #ubuntu
  2. deb http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
  3. deb http://archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
  4. deb http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
  5. deb http://archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse
  6. deb http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
  7. deb-src http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
  8. deb-src http://archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
  9. deb-src http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
  10. deb-src http://archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse
  11. deb-src http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
  1. #ubuntu other
  2. deb http://archive.canonical.com/ubuntu/ trusty partner
  3. deb http://extras.ubuntu.com/ubuntu/ trusty main

dd

Ubuntu14.04 换源 阿里云的更多相关文章

  1. linux:centOs7换源阿里云

    备份: mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 下载: wget -O /etc/y ...

  2. Ubuntu14.04.6配置阿里源

    Ubuntu14.04.6配置阿里源 这两天上手 Ubuntu 系统,因为公司用的是 14.04.6 版本,所以有了一些踩坑记录. 起因是安装完系统我需要安装一个搜狗输入法,过程得安装 fcitx,需 ...

  3. Ubuntu16.04换源(转)

    乌班图换源(ubuntu 16.04换阿里云源为例) 换成国内最快的阿里云源 第一步:备份原来的源文件 cd /etc/apt/ 1 2 然后会显示下面的源文件sources.list 输入命令 su ...

  4. Ubuntu14.04更新源

    Ubuntu14.04更新源 http://jingyan.baidu.com/article/7f41ecec1b7a2e593d095ce6.html Ubuntu源 http://wiki.ub ...

  5. CentOS配置本地yum源/阿里云yum源/163yuan源,并配置yum源的优先级

    一.用Centos镜像搭建本地yum源 由于安装centos后的默认yum源为centos的官方地址,所以在国内使用很慢甚至无法访问,所以一般的做法都是把默认的yum源替换成aliyun的yum源或者 ...

  6. ubuntu 16.04换源 网易、搜狐、阿里云

    如何更改源可以在软件更新中选择源 使用如下命令更改(修改前先备份): [html] view plain copy print?sudo cp /etc/apt/source.list /etc/ap ...

  7. Ubuntu16.04换源

    换成国内最快的阿里云源 第一步:备份原来的源文件 cd /etc/apt/ 然后会显示下面的源文件sources.list 输入命令 sudo cp sources.list sources.list ...

  8. ubuntu 16.04 换源

    第一步:备份原来的源文件 cd /etc/apt/ 命令 cp sources.list sources.list.bak 将sources.list备份到sources.list.bak 第二步:替 ...

  9. docker的本地仓库换成阿里云的镜像仓库

    1,阿里云上注册账号,我的已经注册好了,仓库名称:registry.cn-hangzhou.aliyuncs.com/woccb2/chen 2,本地安装docker: yum -y install ...

随机推荐

  1. STL——list

    1.关键概述 list 是定义在 namespace::std 的模板,声明在 <list> ,存储结构是 双向链表, 提供的 正向和反向迭代器. 2.构造list对象 list<i ...

  2. C++ 求阶乘

    #include<iostream> using namespace std; ; //输入阶乘数 int main() { long long factorial[size]; fact ...

  3. python 推导式的用法

    推导式看了不少,可每次都有新发现 例子1:返回满足条件为真,否则为假 try_list = [1, 2, 3, 4, 5] # 前2种一样, [a > 3 for a in b] [True i ...

  4. 2,PyAudio 实现录音 自动化交互实现问答

    Python 很强大其原因就是因为它庞大的三方库 , 资源是非常的丰富 , 当然也不会缺少关于音频的库 关于音频, PyAudio 这个库, 可以实现开启麦克风录音, 可以播放音频文件等等,此刻我们不 ...

  5. 开启一个项目如何上传到git

    1.(先进入项目文件夹)通过命令 git init 把这个目录变成git可以管理的仓库 git init 2.把文件添加到版本库中,使用命令 git add .添加到暂存区里面去,不要忘记后面的小数点 ...

  6. Uber CEO博鳌论坛采访:看好中国市场共享经济的发展模式

    滴快车单单2.5倍,注册地址:http://www.udache.com/ 如何注册Uber司机(全国版最新最详细注册流程)/月入2万/不用抢单:http://www.cnblogs.com/mfry ...

  7. Error: Error while compiling statement: FAILED: SemanticException Unable to determine if hdfs://hadoopNode2:8020/user/hive/warehouse/test is encrypted...

    1.发现问题: 在hive客户端或者beeline查询hive表时候报错: 根据报错信息查看,是在集群namenode做了HA之后,产生的hdfs路径不对的问题: 2.解决问题,修改hive元数据my ...

  8. 监控memcache服务

    监控memcache服务是否正常,模拟用户(web客户端)检测. 使用nc命令加上set/get来模拟检测,以及监控响应时间及命中率. #!/bin/bash #################### ...

  9. HDU 3698 Let the light guide us(DP+线段树)(2010 Asia Fuzhou Regional Contest)

    Description Plain of despair was once an ancient battlefield where those brave spirits had rested in ...

  10. Alpha 冲刺5/10

    队名:我头发呢队 组长博客 杰(组长) 过去两天完成了哪些任务 继续翻阅Material Design2文档 翻阅网易云的web端网页 接下来的计划 音源爬取 还剩下哪些任务 app开发 燃尽图 有哪 ...