• ubuntu和centos源


    ubuntu

    ubuntu14
    deb http://mirrors.cloud.tencent.com/ubuntu trusty main restricted universe multiverse
    deb http://mirrors.cloud.tencent.com/ubuntu trusty-updates main restricted universe multiverse
    deb http://mirrors.cloud.tencent.com/ubuntu trusty-security main restricted universe multiverse
    #deb http://mirrors.cloud.tencent.com/ubuntu trusty-backports main restricted universe multiverse
    #deb http://mirrors.cloud.tencent.com/ubuntu trusty-proposed main restricted universe multiverse
    deb-src http://mirrors.cloud.tencent.com/ubuntu trusty main restricted universe multiverse
    deb-src http://mirrors.cloud.tencent.com/ubuntu trusty-updates main restricted universe multiverse
    deb-src http://mirrors.cloud.tencent.com/ubuntu trusty-security main restricted universe multiverse
    #deb-src http://mirrors.cloud.tencent.com/ubuntu trusty-backports main restricted universe multiverse
    #deb-src http://mirrors.cloud.tencent.com/ubuntu trusty-proposed main restricted universe multiverse
    
    ubuntu16.04
    deb http://mirrors.cloud.tencent.com/ubuntu/ xenial main restricted universe multiverse
    deb http://mirrors.cloud.tencent.com/ubuntu/ xenial-security main restricted universe multiverse
    deb http://mirrors.cloud.tencent.com/ubuntu/ xenial-updates main restricted universe multiverse
    #deb http://mirrors.cloud.tencent.com/ubuntu/ xenial-proposed main restricted universe multiverse
    #deb http://mirrors.cloud.tencent.com/ubuntu/ xenial-backports main restricted universe multiverse
    deb-src http://mirrors.cloud.tencent.com/ubuntu/ xenial main restricted universe multiverse
    deb-src http://mirrors.cloud.tencent.com/ubuntu/ xenial-security main restricted universe multiverse
    deb-src http://mirrors.cloud.tencent.com/ubuntu/ xenial-updates main restricted universe multiverse
    #deb-src http://mirrors.cloud.tencent.com/ubuntu/ xenial-proposed main restricted universe multiverse
    #deb-src http://mirrors.cloud.tencent.com/ubuntu/ xenial-backports main restricted universe multiverse
    
    
    ubuntu 18
    deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
    deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
    deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
    deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
    deb-src 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-backports main restricted universe multiverse
    
    # ubuntu20
    deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
    deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
    deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
    deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
    deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
    deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
    
    apt-get clean all
    apt-get update
    

    centos

    # centos7
    wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.cloud.tencent.com/repo/centos7_base.repo
    # centos8
    wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.cloud.tencent.com/repo/centos8_base.repo
    # 缓存
    yum clean all
    yum makecache
    
    
  • 相关阅读:
    《当大数据遇见网络:大数据与SDN》
    Internet History, Technology and Security (Week 9)
    Internet History, Technology and Security (Week 8)
    Internet History, Technology and Security (Week 7)
    北京讲座所感---6.14~6.15
    Internet History, Technology and Security (Week 6)
    Internet History, Technology and Security (Week 4)
    Internet History, Technology and Security (Week 3)
    Alpha 事后诸葛亮(团队)
    Alpha答辩总结
  • 原文地址:https://www.cnblogs.com/yizhangheka/p/16169916.html
Copyright © 2020-2023  润新知