zoukankan      html  css  js  c++  java
  • Ubuntu 18.04 国内的 apt 源

    Ubuntu 18.04 国内的 apt 源

    1. 阿里源

    1

    2

    3

    4

    5

    6

    7

    8

    9

    10

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

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

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

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

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

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

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

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

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

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

    2. 中科大源

    1

    2

    3

    4

    5

    6

    7

    8

    9

    10

    deb https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse

    deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse

    deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse

    deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse

    deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse

    deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse

    deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse

    deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse

    deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse

    deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse

    3. 163源

    1

    2

    3

    4

    5

    6

    7

    8

    9

    10

    deb http://mirrors.163.com/ubuntu/ bionic main restricted universe multiverse

    deb http://mirrors.163.com/ubuntu/ bionic-security main restricted universe multiverse

    deb http://mirrors.163.com/ubuntu/ bionic-updates main restricted universe multiverse

    deb http://mirrors.163.com/ubuntu/ bionic-proposed main restricted universe multiverse

    deb http://mirrors.163.com/ubuntu/ bionic-backports main restricted universe multiverse

    deb-src http://mirrors.163.com/ubuntu/ bionic main restricted universe multiverse

    deb-src http://mirrors.163.com/ubuntu/ bionic-security main restricted universe multiverse

    deb-src http://mirrors.163.com/ubuntu/ bionic-updates main restricted universe multiverse

    deb-src http://mirrors.163.com/ubuntu/ bionic-proposed main restricted universe multiverse

    deb-src http://mirrors.163.com/ubuntu/ bionic-backports main restricted universe multiverse

    3. 清华源

    1

    2

    3

    4

    5

    6

    7

    8

    9

    10

    deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse

    deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse

    deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse

    deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse

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

    deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse

    deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse

    deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse

    deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse

    deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse

    二、更新源的方法

    1

    2

    3

    4

    5

    6

    7

    8

    9

    sudo su -     # 切换到 root 目录

    # cd /etc/apt/

    # cp sources.list  sources.list.bak

    # true > sources.list

    # vi  /etc/apt/sources.list    # 将上面的源复制到文件中, 保存退出

    # apt update    # 更新本地 apt 源

    正因为当初对未来做了太多的憧憬,所以对现在的自己尤其失望。生命中曾经有过的所有灿烂,终究都需要用寂寞来偿还。
  • 相关阅读:
    [BJDCTF 2nd]fake google
    flask之ssti模板注入初窥
    ctfshow-web14
    ctfshow-web 13
    ctfshow-web12
    ctfshow-web 11
    ctfshow-web10
    ctfshow-web9
    python学习笔记(四)- 常用的字符串的方法
    python学习笔记(三)- 字典、集合
  • 原文地址:https://www.cnblogs.com/candlia/p/11919924.html
Copyright © 2011-2022 走看看