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

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

e3be8298800043c5be834dce8941ac40 第1张

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

微信截图_20230627212904 第2张

更换自带的企业源

# 删除自带的源
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博客

 

本文固定链接: https://blog.liangjinjin.cn/?p=1966 | 嘉靖博客

该日志由 admin 于2023年06月27日发表在 PVE 分类下, 你可以发表评论,并在保留原文地址及作者的情况下引用到你的网站或博客。
原创文章转载请注明: ProxmoxVE 7.x删除订阅源及更换国内源 | 嘉靖博客

ProxmoxVE 7.x删除订阅源及更换国内源:等您坐沙发呢!

发表评论

您必须 [ 登录 ] 才能发表留言!