标题:
Debian 10 Buster 国内常用镜像源(转)
[打印本页]
作者:
linda
时间:
2022-2-7 16:51
标题:
Debian 10 Buster 国内常用镜像源(转)
为了去掉国内vps里预装的监控程序,可以使用dd重新网络安装,但安装之后,需要更换apt源为国内源,否则debian官方源很慢。
bash <(wget --no-check-certificate -qO- 'https://www.moe.am/drive/Windows/InstallNET.sh') -d 10 -v 64 -a
随着 Debian Buster 10.3 的发布,Debian Buster 日趋稳定。如果在生产上使用了 Debian 9 的系统,现在是可以安全的,灰度升级到 Debian Buster 做前期验证了。这里我们整理一下国内较知名的镜像站点,共大家在生产环境中使用。
如何更新系统安装源
一般我们修改 /etc/apt/sources.list 文件,将 Debian 的默认源地址改成新的地址即可,比如将
http://deb.debian.org
改成
https://mirrors.163.com
,可使用以下这条命令:
sed -i 's#
http://deb.debian.org
#
https://mirrors.163.com
#g' /etc/apt/sources.list
注意,如果安装源是 https 协议的,我们还需要安装软件包 apt-transport-https。 执行 apt-get install apt-transport-https,随后再执行 apt-get update 即可。
常用安装源站点列表
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
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
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.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
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
清华大学镜像站
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.debian.org/mirror/list
原文:
https://cloud.tencent.com/developer/article/1590080
[
本帖最后由 linda 于 2022-2-7 16:58 编辑
]
作者:
linda
时间:
2022-4-1 11:33
ubuntu源
deb
http://mirrors.aliyun.com/ubuntu/
focal main restricted universe multiverse
deb
http://mirrors.aliyun.com/ubuntu/
focal-security main restricted universe multiverse
deb
http://mirrors.aliyun.com/ubuntu/
focal-updates main restricted universe multiverse
deb
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 main restricted universe multiverse
deb-src
http://mirrors.aliyun.com/ubuntu/
focal-security main restricted universe multiverse
deb-src
http://mirrors.aliyun.com/ubuntu/
focal-updates main restricted universe multiverse
deb-src
http://mirrors.aliyun.com/ubuntu/
focal-proposed main restricted universe multiverse
deb-src
http://mirrors.aliyun.com/ubuntu/
focal-backports main restricted universe multiverse focal
欢迎光临 中神通公司技术论坛 (http://trustcomputing.com.cn/bbs/)
Powered by Discuz! 6.0.0