zoukankan      html  css  js  c++  java
  • 把Ubuntu系统自带的源修改为国内的源,中科大源链接:https://mirrors.ustc.edu.cn/repogen/

    https://mirrors.ustc.edu.cn/repogen/

    Tips: 可通过 URL 的形式直接下载配置. 例如:

    https://mirrors.ustc.edu.cn/repogen/conf/debian-http-6-sid
    https://mirrors.ustc.edu.cn/repogen/conf/archlinux-https-4

    Archlinux (/etc/pacman.d/mirrorlist):   

     
    Server = https://mirrors.ustc.edu.cn/archlinux/$repo/os/$arch
    

    Debian (/etc/apt/sources.list):    

    Tips: Remember to install package <apt-transport-https>

    deb https://mirrors.ustc.edu.cn/debian/ stretch main contrib non-free
    deb-src https://mirrors.ustc.edu.cn/debian/ stretch main contrib non-free
    
    deb https://mirrors.ustc.edu.cn/debian/ stretch-updates main contrib non-free
    deb-src https://mirrors.ustc.edu.cn/debian/ stretch-updates main contrib non-free
    
    deb https://mirrors.ustc.edu.cn/debian/ stretch-backports main contrib non-free
    deb-src https://mirrors.ustc.edu.cn/debian/ stretch-backports main contrib non-free
    
    deb https://mirrors.ustc.edu.cn/debian-security/ stretch/updates main contrib non-free
    deb-src https://mirrors.ustc.edu.cn/debian-security/ stretch/updates main contrib non-free
    

    Ubuntu (/etc/apt/sources.list):    

     
    deb https://mirrors.ustc.edu.cn/ubuntu/ eoan main restricted universe multiverse
    deb-src https://mirrors.ustc.edu.cn/ubuntu/ eoan main restricted universe multiverse
    
    deb https://mirrors.ustc.edu.cn/ubuntu/ eoan-security main restricted universe multiverse
    deb-src https://mirrors.ustc.edu.cn/ubuntu/ eoan-security main restricted universe multiverse
    
    deb https://mirrors.ustc.edu.cn/ubuntu/ eoan-updates main restricted universe multiverse
    deb-src https://mirrors.ustc.edu.cn/ubuntu/ eoan-updates main restricted universe multiverse
    
    deb https://mirrors.ustc.edu.cn/ubuntu/ eoan-backports main restricted universe multiverse
    deb-src https://mirrors.ustc.edu.cn/ubuntu/ eoan-backports main restricted universe multiverse
    
    ## Not recommended
    # deb https://mirrors.ustc.edu.cn/ubuntu/ eoan-proposed main restricted universe multiverse
    # deb-src https://mirrors.ustc.edu.cn/ubuntu/ eoan-proposed main restricted universe multiverse
    

    Made by sNullp. Collaborator: @ZhangCheng, @Knight

    Source code hosted on LUG@USTC GitLabHelp us improve it!

  • 相关阅读:
    谈Vite在Electron环境下吃花卷拉馒头的现象
    公司只提供签名服务,不提供证书文件,如何打包Electron应用
    vue3微前端架构——基于蚂蚁qiankun框架
    Vite ❤ Electron——基于Vite搭建Electron+Vue3的开发环境【一】
    dotnet core 高CPU lldb篇
    Openshift入门(转)
    使用 dotnet test 和 xUnit 在 .NET Core 中进行 C# 单元测试
    ASP.NET Core 中的单元测试控制器逻辑
    ASP.NET Core 中间件
    Precise Computation of CLR Object Size
  • 原文地址:https://www.cnblogs.com/shuimuqingyang/p/11089783.html
Copyright © 2011-2022 走看看