浙江大学Debian镜像配置

HB 网络 2023-09-19

Debian 的软件源配置文件是 /etc/apt/sources.list。将系统自带的该文件做个备份,将该文件替换为下面内容,即可使用浙江大学的软件源镜像。

如果遇到无法拉取 https 源的情况,请先使用 http 源并安装:

sudo apt install apt-transport-https ca-certificates

再使用下面的软件源镜像。

版本:buster

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.zju.edu.cn/debian/ buster main contrib non-free
# deb-src https://mirrors.zju.edu.cn/debian/ buster main contrib non-free
deb https://mirrors.zju.edu.cn/debian/ buster-updates main contrib non-free
# deb-src https://mirrors.zju.edu.cn/debian/ buster-updates main contrib non-free
deb https://mirrors.zju.edu.cn/debian/ buster-backports main contrib non-free
# deb-src https://mirrors.zju.edu.cn/debian/ buster-backports main contrib non-free
deb https://mirrors.zju.edu.cn/debian-security buster/updates main contrib non-free
# deb-src https://mirrors.zju.edu.cn/debian-security buster/updates main contrib non-free

其他Debian版本请访问浙江大学官网:

https://mirrors.zju.edu.cn/docs/debian/

PREV
使用loophole实现内网穿透发布网站以及自定义域名
NEXT
Docker部署AdGuard Home

评论(0)

发布评论