8个Debian国内镜像源整理 提高服务器软件安装速度

随笔1个月前发布 卢桐生
42 0 0

有些时候我们选择的Linux云服务器默认是Debian官方国外的源,使用国外的源在国内用的时候安装软件速度比较慢。于是,我们一般是会切换成国内的镜像源的。在这里,国内的源也有很多可以选择,比如中科大、华为云、腾讯云、163等。 

8个Debian国内镜像源整理 提高服务器软件安装速度

 

 

我们可以在Debian官方全球源列表中看到中国的源渠道,这里我整理8个常用的源。

当然,如果我们需要更换源的时候直接在对应的:

/etc/apt/sources.list

文件中复制更新后再执行升级。

apt update -y&& apt upgrade -y

阿里云源镜像

deb http://mirrors.aliyun.com/debian/ buster main non-free contrib

deb http://mirrors.aliyun.com/debian-security buster/updates main

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-src 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

163源镜像

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.cloud.tencent.com/debian/ buster main non-free contrib

deb http://mirrors.cloud.tencent.com/debian-security buster/updates main

deb http://mirrors.cloud.tencent.com/debian/ buster-updates main non-free contrib

deb http://mirrors.cloud.tencent.com/debian/ buster-backports main non-free contrib

deb-src http://mirrors.cloud.tencent.com/debian-security buster/updates main

deb-src http://mirrors.cloud.tencent.com/debian/ buster main non-free contrib

deb-src http://mirrors.cloud.tencent.com/debian/ buster-updates main non-free contrib

deb-src http://mirrors.cloud.tencent.com/debian/ buster-backports main non-free contrib

华为云源镜像

deb https://mirrors.huaweicloud.com/debian/ buster main contrib non-free

deb https://mirrors.huaweicloud.com/debian/ buster-updates main contrib non-free

deb https://mirrors.huaweicloud.com/debian/ buster-backports main contrib non-free

deb https://mirrors.huaweicloud.com/debian-security/ buster/updates main contrib non-free

deb-src https://mirrors.huaweicloud.com/debian/ buster main contrib non-free

deb-src https://mirrors.huaweicloud.com/debian/ buster-updates main contrib non-free

deb-src https://mirrors.huaweicloud.com/debian/ buster-backports main contrib non-free

中科大源镜像

deb https://mirrors.ustc.edu.cn/debian/ buster main contrib non-free

deb https://mirrors.ustc.edu.cn/debian/ buster-updates main contrib non-free

deb https://mirrors.ustc.edu.cn/debian/ buster-backports main contrib non-free

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

deb-src https://mirrors.ustc.edu.cn/debian/ buster main contrib non-free

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

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

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

清华大学源镜像

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free

deb https://mirrors.tuna.tsinghua.edu.cn/debian-security/ buster/updates main contrib non-free

deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free

deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free

deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free

deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security/ buster/updates main contrib non-free

兰州大学源镜像

deb http://mirror.lzu.edu.cn/debian stable main contrib non-free

deb http://mirror.lzu.edu.cn/debian stable-updates main contrib non-free

deb http://mirror.lzu.edu.cn/debian/ buster-backports main contrib non-free

deb http://mirror.lzu.edu.cn/debian-security/ buster/updates main contrib non-free

deb-src http://mirror.lzu.edu.cn/debian stable main contrib non-free

deb-src http://mirror.lzu.edu.cn/debian stable-updates main contrib non-free

deb-src http://mirror.lzu.edu.cn/debian/ buster-backports main contrib non-free

deb-src http://mirror.lzu.edu.cn/debian-security/ buster/updates main contrib non-free

上海交大源镜像

deb https://mirror.sjtu.edu.cn/debian/ buster main contrib non-free

deb https://mirror.sjtu.edu.cn/debian/ buster-updates main contrib non-free

deb https://mirror.sjtu.edu.cn/debian/ buster-backports main contrib non-free

deb https://mirror.sjtu.edu.cn/debian-security/ buster/updates main contrib non-free

deb-src https://mirror.sjtu.edu.cn/debian/ buster-updates main contrib non-free

deb-src https://mirror.sjtu.edu.cn/debian/ buster-backports main contrib non-free

deb-src https://mirror.sjtu.edu.cn/debian/ buster main contrib non-free

deb-src https://mirror.sjtu.edu.cn/debian-security/ buster/updates main contrib non-free

这里的几个国内源镜像,可以根据需要选择使用。如果我们的服务器已经是国内的源就没有必要更换。

本文原创出处链接:https://www.zhujipingjia.com/update-debian-sources.html

© 版权声明

相关文章

暂无评论

您必须登录才能参与评论!
立即登录
暂无评论...