PROXMOX 6.0国内源设置与升级
vi /etc/apt/sources.list.d/pve-enterprise.list
deb http://download.proxmox.wiki/debian/pve buster pve-no-subscription
vi /etc/apt/sources.list
# pve6 <--> debian buster
#deb http://ftp.debian.org/debian buster main contrib
#deb http://ftp.debian.org/debian buster-updates main contrib
# security updates
#deb http://security.debian.org buster/updates main contrib
# https needs(apt install apt-transport-https -y)
deb https://mirrors.aliyun.com/debian buster main contrib non-free
deb https://mirrors.aliyun.com/debian buster-updates main contrib non-free
deb https://mirrors.aliyun.com/debian-security buster/updates main contrib non-free
# pve6 repository: pve-no-subscription
#deb http://download.proxmox.com/debian/pve buster pve-no-subscription
#deb https://mirrors.ustc.edu.cn/proxmox/debian/pve buster pve-no-subscription
#deb http://download.proxmox.wiki/debian/pve buster pve-no-subscription
#ceph相关安装提速
deb https://mirrors.ustc.edu.cn/proxmox/debian/ceph-nautilus/ buster main
最后执行
apt update
apt dist-upgrade #如需升级pve,则执行该命令
去掉订阅提醒
sed -i "s/data.status !== 'Active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
systemctl restart pveproxy
来源:oschina
链接:https://my.oschina.net/xnsee/blog/4297111