This shared guide is currently available only in Chinese. Use the controls below to select the mirror endpoint and command options.

General options
Guide options

Debian 软件源

参考 Debian 帮助 修改 /etc/apt/sources.list

Proxmox 软件源

传统格式(/etc/apt/sources.list.d/pve-no-subscription.list):

新建 /etc/apt/sources.list.d/pve-no-subscription.list(如果选择的不是 pve,需要使用另一个文件名),内容为:

/etc/apt/sources.list.d/pve-no-subscription.list
deb https://mirrors.zju.edu.cn/proxmox/debian/pve trixie pve-no-subscription

DEB822 格式(/etc/apt/sources.list.d/pve-no-subscription.sources):

/etc/apt/sources.list.d/pve-no-subscription.sources
Types: deb
URIs: https://mirrors.zju.edu.cn/proxmox/debian/pve
Suites: trixie
Components: pve-no-subscription
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg

注意快速配置中的文件名需要根据需求而修改。

ISO 安装文件下载

https://mirrors.zju.edu.cn/proxmox/iso/

CT Templates

如果你需要加速 Proxmox 网页端下载 CT Templates,可以替换 CT Templates 的源。

具体方法:将 /usr/share/perl5/PVE/APLInfo.pm 文件中默认的源地址 http://download.proxmox.com 替换为

https://mirrors.zju.edu.cn/proxmox

可以使用如下命令修改:

cp /usr/share/perl5/PVE/APLInfo.pm /usr/share/perl5/PVE/APLInfo.pm_back
sed -i 's|http://download.proxmox.com|https://mirrors.zju.edu.cn/proxmox|g' /usr/share/perl5/PVE/APLInfo.pm

针对 /usr/share/perl5/PVE/APLInfo.pm 文件的修改,重启后生效。

OpenMediaVault

本节供 OpenMediaVault 帮助使用。

omv-env set OMV_PROXMOX_APT_REPOSITORY_URL "https://mirrors.zju.edu.cn/proxmox/debian"

Guide content comes from mirrorz-org/mirrorz-docs@50cb65f78be4 under CC BY-NC-SA 4.0.