zoukankan      html  css  js  c++  java
  • Ubuntu 修改源

    Steps

    1. 打开Ubuntu的终端,输入
    
     sudo gedit /etc/apt/sources.list
    
    
    1. 删掉里边所有旧的内容,把新的内容贴进去

    2. 执行

    
    sudo apt-get update
    
    

    ailiyun:

    TRUSTY(14.04) ref

    
    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
    
    

    163:

    
    deb http://mirrors.163.com/ubuntu/ intrepid main restricted universe multiverse
    
    deb http://mirrors.163.com/ubuntu/ intrepid-security main restricted universe multiverse
    
    deb http://mirrors.163.com/ubuntu/ intrepid-updates main restricted universe multiverse
    
    deb http://mirrors.163.com/ubuntu/ intrepid-proposed main restricted universe multiverse
    
    deb http://mirrors.163.com/ubuntu/ intrepid-backports main restricted universe multiverse
    
    deb-src http://mirrors.163.com/ubuntu/ intrepid main restricted universe multiverse
    
    deb-src http://mirrors.163.com/ubuntu/ intrepid-security main restricted universe multiverse
    
    deb-src http://mirrors.163.com/ubuntu/ intrepid-updates main restricted universe multiverse
    
    deb-src http://mirrors.163.com/ubuntu/ intrepid-proposed main restricted universe multiverse
    
    deb-src http://mirrors.163.com/ubuntu/ intrepid-backports main restricted universe multiverse 
    
    
  • 相关阅读:
    java实现九九乘法表
    for循环的阶乘
    Struts2 表单提交与execute()方法的结合使用
    Struts2 第三个程序 namespacce的用法
    java 字符串的比较compareTo
    java中的位预算
    java调用C++ DLL库方法
    Socket编程模式理解与对比
    c 高级函数的简单用法
    TCP粘包分析与处理
  • 原文地址:https://www.cnblogs.com/pengzhen/p/5779896.html
Copyright © 2011-2022 走看看