zoukankan      html  css  js  c++  java
  • 让Ubuntu使用阿里云国内源,解决下载速度慢问题。

    阿里云镜像官方地址

    http://mirrors.aliyun.com/

    找到最新源地址列表:

    http://www.linuxdiyf.com/linux/23163.html

    软件包管理中心(推荐)

    在软件包管理中心“软件源”中选择“中国的服务器”下mirros.aliyun.com即可自动使用

    在终端中修改方法:

    sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup            #备份当前也就是默认官方的源列表

    sudo gedit /etc/apt/sources.list                                                #修改sources.list文件中源的列表,删除全部内容,替换为国内源地址。 保存编辑好的文件。

    sudo apt-get update                                                               #更新源列表,换源后必须执行

    国内源列表:本人试用过的比较快的源

    deb http://mirrors.aliyun.com/ubuntu/ trusty main multiverse restricted universe
    deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main multiverse restricted universe
    deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main multiverse restricted universe
    deb http://mirrors.aliyun.com/ubuntu/ trusty-security main multiverse restricted universe
    deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main multiverse restricted universe
    deb-src http://mirrors.aliyun.com/ubuntu/ trusty main multiverse restricted universe
    deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main multiverse restricted universe
    deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main multiverse restricted universe
    deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main multiverse restricted universe
    deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main multiverse restricted universe

    记录自己、分享公众、成就别人
  • 相关阅读:
    SpringCloud_组件常用注解
    SpringBoot_启动器
    SICP习题 1.5 (应用序与正则序)
    SICP习题 1.4 ( if 语句返回运算符)
    SICP习题 1.3 (求较大两个数的递归)
    SICP习题 1.2 (前缀表达式)
    SICP习题 1.1 (if cond语句)
    MySQL5.7 踩坑实录
    类找不到总结java.lang.ClassNotFoundException
    网易校招2018----题目3----字符串碎片
  • 原文地址:https://www.cnblogs.com/microman/p/6109370.html
Copyright © 2011-2022 走看看