ProxmoxVE 7.x删除订阅源及更换国内源

去除登录时的订阅提示
nano /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
# 把下面这直接改成false

e3be8298800043c5be834dce8941ac40

改成这样就行了(浏览器清理一下缓存,再登录才生效,直接可能登录还会提示)

微信截图_20230627212904

更换自带的企业源

# 删除自带的源
rm /etc/apt/sources.list.d/pve-enterprise.list

# 添加官方,非订阅源(和下面国内非订阅源,二选一)
echo 'deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription' >> /etc/apt/sources.list.d/pve-no-subscription.list

# 这个是国内,非订阅源
echo 'deb http://mirrors.ustc.edu.cn/proxmox/debian/pve bullseye pve-no-subscription' >> /etc/apt/sources.list.d/pve-no-subscription.list

更换Linux源为国内源

# 编辑源文件:/etc/apt/sources.list
nano /etc/apt/sources.list
# 这里直接用winscp改也可以

#整个文件内容改为(将原始内容每行前面加#也可以):
# debian aliyun source
deb https://mirrors.aliyun.com/debian bullseye main contrib
deb https://mirrors.aliyun.com/debian bullseye-updates main contrib
# security updates
deb https://mirrors.aliyun.com/debian-security bullseye-security main contrib

更新

apt-get update
apt-get dist-upgrade -y

信息来源:ProxmoxVE 7.x删除订阅源及更换国内源_proxmox 国内源_MiddleWeek的博客-CSDN博客

 

阅读剩余
THE END