zoukankan      html  css  js  c++  java
  • ubuntu16.04换国内源

    1.备份/etc/apt目录下的源文件sources.list。

    2.更换源地址为如下其中一个:

    清华源:

    deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted

    deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted

    deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial universe

    deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates universe

    deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial multiverse

    deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates multiverse

    deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse

    deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted

    deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security universe deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security multiverse

    阿里源:

    deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse

    deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse

    deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse

    deb-src http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse

    deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse

    deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse

    deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse

    deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse

    deb http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse

    deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse

    中科大源:

    deb http://debian.ustc.edu.cn/ubuntu/ hardy main multiverse restricted universe

    deb http://debian.ustc.edu.cn/ubuntu/ hardy-backports main multiverse restricted universe

    deb http://debian.ustc.edu.cn/ubuntu/ hardy-proposed main multiverse restricted universe

    deb http://debian.ustc.edu.cn/ubuntu/ hardy-security main multiverse restricted universe

    deb http://debian.ustc.edu.cn/ubuntu/ hardy-updates main multiverse restricted universe

    deb-src http://debian.ustc.edu.cn/ubuntu/ hardy main multiverse restricted universe

    deb-src http://debian.ustc.edu.cn/ubuntu/ hardy-backports main multiverse restricted universe

    deb-src http://debian.ustc.edu.cn/ubuntu/ hardy-proposed main multiverse restricted universe

    deb-src http://debian.ustc.edu.cn/ubuntu/ hardy-security main multiverse restricted universe

    deb-src http://debian.ustc.edu.cn/ubuntu/ hardy-updates main multiverse restricted universe

    结束。

  • 相关阅读:
    Ehcache缓存配置和基本使用
    微信公众号接入图灵机器人实现自动回复消息
    数据库索引的使用
    oracle中=>是什么意思
    [转载]AppSettings和ConnectionStrings的区别
    获得字符串长度
    HTML------8.调用接口 实现动态折现图
    HTML------7.编辑折现图
    JAVA------14.今日和昨日时间转换
    JAVA------13.字符串去掉非数字 ,从大到小排序
  • 原文地址:https://www.cnblogs.com/liusingbon/p/12868109.html
Copyright © 2011-2022 走看看