首页 > 系统相关 >Linux跟环国内更新源配置系列

Linux跟环国内更新源配置系列

时间:2022-08-21 22:26:57浏览次数:66  
标签:系列 buster 更新 Linux contrib http deb main debian

目录

Debian

编辑/etc/apt/sources.list,注释官方源,添加(任选其一,取消注释):

点击查看内容
# Debian 10 buster

# 中科大源

#deb http://mirrors.ustc.edu.cn/debian buster main contrib non-free
#deb http://mirrors.ustc.edu.cn/debian buster-updates main contrib non-free
#deb http://mirrors.ustc.edu.cn/debian buster-backports main contrib non-free
#deb http://mirrors.ustc.edu.cn/debian-security/ buster/updates main contrib non-free

# deb-src http://mirrors.ustc.edu.cn/debian buster main contrib non-free
# deb-src http://mirrors.ustc.edu.cn/debian buster-updates main contrib non-free
# deb-src http://mirrors.ustc.edu.cn/debian buster-backports main contrib non-free
# deb-src http://mirrors.ustc.edu.cn/debian-security/ buster/updates main contrib non-free

# 官方源

# deb http://deb.debian.org/debian buster main contrib non-free
# deb http://deb.debian.org/debian buster-updates main contrib non-free
# deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free

# deb-src http://deb.debian.org/debian buster main contrib non-free
# deb-src http://deb.debian.org/debian buster-updates main contrib non-free
# deb-src http://deb.debian.org/debian-security/ buster/updates main contrib non-free

# 网易源

# deb http://mirrors.163.com/debian/ buster main non-free contrib
# deb http://mirrors.163.com/debian/ buster-updates main non-free contrib
# deb http://mirrors.163.com/debian/ buster-backports main non-free contrib
# deb http://mirrors.163.com/debian-security/ buster/updates main non-free contrib

# deb-src http://mirrors.163.com/debian/ buster main non-free contrib
# deb-src http://mirrors.163.com/debian/ buster-updates main non-free contrib
# deb-src http://mirrors.163.com/debian/ buster-backports main non-free contrib
# deb-src http://mirrors.163.com/debian-security/ buster/updates main non-free contrib

# 阿里云

# deb http://mirrors.aliyun.com/debian/ buster main non-free contrib
# deb http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib
# deb http://mirrors.aliyun.com/debian/ buster-backports main non-free contrib
# deb http://mirrors.aliyun.com/debian-security buster/updates main

# deb-src http://mirrors.aliyun.com/debian/ buster main non-free contrib
# deb-src http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib
# deb-src http://mirrors.aliyun.com/debian/ buster-backports main non-free contrib
# deb-src http://mirrors.aliyun.com/debian-security buster/updates main

标签:系列,buster,更新,Linux,contrib,http,deb,main,debian
From: https://www.cnblogs.com/fushengduoshaoji/p/16611194.html

相关文章

  • Linq-20220817更新
    一、常用函数Where:每一项数据都会经过predicate(传入的委托lambda表达式)的测试,如果对元素执行predicate后返回值为True,则这个元素会添加到结果数组中Count:每一项数据都......
  • RabbitMQ 入门系列:3、基础含义:持久化、排它性、自动删除、强制性、路由键。
    系列目录RabbitMQ入门系列:1、MQ的应用场景的选择与RabbitMQ安装。RabbitMQ入门系列:2、基础含义:链接、通道、队列、交换机。RabbitMQ入门系列:3、基础含义:持久化、......
  • Linux虚拟机Nginx代理vue前端与SpringBoot后端资源
    1.Nginx安装配置详细参见菜鸟教程:https://www.runoob.com/linux/nginx-install-setup.html2.nginx.conf内容usernginx;worker_processes1;#设置值和CPU核心数......
  • Linux允许Root登录FTP
    键入命令:cd/etc/vsftpd进入vsftpd目录键入命令:ls查看该目录包含的文件键入命令:vivsftpd.ftpusers进入文件vsftpd.ftpusers,在root前加#注释root同理,键入命令:vivsft......
  • linux特殊引导符号
    linux特殊引导符号名称解释单引号''所见即所得,强引用,单引号中内容会原样输出双引号""弱引用,能够识别各种特殊符号、变量、转义符等、解析后输出结果没......
  • Linux 基于源码安装 Redis
    1.下载Redis:前往Redis官网复制Redis相应版本的下载链接,到终端下载2.进入到指定目录,下载redis.tar.gz包,运行wget+复制的下载链接 例如:wgethttps://d......
  • Python入门系列(六)一篇学会python函数
    函数函数是只在调用时运行的代码块。defmy_function():print("Hellofromafunction")my_function()信息可以作为参数传递到函数中。defmy_function(fname):......
  • Python入门系列(七)开发常说的“累”与“对象”
    类与对象Python是一种面向对象的编程语言。要创建类,请使用关键字classclassMyClass:x=5创建一个名为p1的对象,并打印x的值p1=MyClass()print(p1.x)所有类......
  • Python入门系列(五)一篇搞懂python语句
    If语句elif关键字是pythons表示“如果前面的条件不为真,那么试试这个条件”。Theelsekeywordcatchesanythingwhichisn'tcaughtbytheprecedingconditions.a=......
  • linux-tar、gz
    tar参数说明:-z:表示gz压缩-c:建立新的存档(压缩)-x:从存档展开文件(解压)-v:详细显示处理的文件;-f:指定存档或设备打包文件tar-cvffile.tar目录#将目录打包成file......