PVE 经验教程 ·

Proxmox VE 6.2 国内源设置

更换 PVE 社区源
删除企业源

rm -rf /etc/apt/sources.list.d/pve-enterprise.list

下载秘钥

wget http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg

添加社区源

echo "deb http://download.proxmox.wiki/debian/pve stretch pve-no-subscription" >/etc/apt/sources.list.d/pve-install-repo.list

更换 Debian 国内源
备份原文件
备份原文件: /etc/apt/sources.list

cp /etc/apt/sources.list /etc/apt/sources.list.bak

编辑源信息

nano /etc/apt/sources.list

在原文件增加下面的内容

deb http://mirrors.aliyun.com/debian/ buster main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ buster main non-free contrib
deb http://mirrors.aliyun.com/debian-security buster/updates main
deb-src http://mirrors.aliyun.com/debian-security buster/updates main
deb http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib
deb-src 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/ buster-backports main non-free contrib

更新和升级

apt update
apt dist-upgrade

参与评论