Proxmox虚拟化配置国内源

可紊 提交于 2020-08-11 21:31:43

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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!