• 分享一下Ubuntu好用的源


    vim /etc/apt/sources.list

    然后用G跳转到最后一行,然后[ESC]切换到命令行模式,然后键入[o](表示在当前行后插入)。也可以多插入几个空行。这样可以有条理的和系统默认的区分。将来方便恢复,修改。

    内容如下:

    deb http://debian.ustc.edu.cn/ubuntu/ natty main multiverse restricted universe
    deb http://debian.ustc.edu.cn/ubuntu/ natty-backports main multiverse restricted universe
    deb http://debian.ustc.edu.cn/ubuntu/ natty-proposed main multiverse restricted universe
    deb http://debian.ustc.edu.cn/ubuntu/ natty-security main multiverse restricted universe
    deb http://debian.ustc.edu.cn/ubuntu/ natty-updates main multiverse restricted universe
    deb-src http://debian.ustc.edu.cn/ubuntu/ natty main multiverse restricted universe
    deb-src http://debian.ustc.edu.cn/ubuntu/ natty-backports main multiverse restricted universe
    deb-src http://debian.ustc.edu.cn/ubuntu/ natty-proposed main multiverse restricted universe
    deb-src http://debian.ustc.edu.cn/ubuntu/ natty-security main multiverse restricted universe
    deb-src http://debian.ustc.edu.cn/ubuntu/ natty-updates main multiverse restricted universe
    

    然后我们可以:

    sudo apt-get update

    ----------------------------罪-恶-的-分-割-线------------------------------

    更新一下,不用再去麻烦找各种源了。国内很多公司以及大学提供了国内的下载源。

    中科大:http://mirrors.ustc.edu.cn/

    清华大学:https://mirrors.tuna.tsinghua.edu.cn/

    华为:https://mirrors.huaweicloud.com/

    网易: http://mirrors.163.com/

    此外国内还有很多,有需要自取吧。

  • 相关阅读:
    限制字数输出,,超出的用...
    tablesorter 的使用
    二维数组根据某个特定字段排序
    对维数组排序 array_multisort()的应用
    多个字段关键字查询
    CASE WHEN用法
    type="submit" button的用法
    获取近30天的数据的时间方式
    练习题
    管理经济学第九章
  • 原文地址:https://www.cnblogs.com/magic-zero/p/6307642.html
Copyright © 2020-2023  润新知