Proxmox6虚拟化平台破解

一、使用rufus+GPT+DD方式写入U盘

二、更换国内源

1、删除企业源

mv /etc/apt/sources.list.d/pve-enterprise.list /etc/apt/sources.list.d/pve-enterprise.list.bak

2、下载秘钥

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

3、添加社区源

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

4、添加阿里源

cp /etc/apt/sources.list /etc/apt/sources.list.orgin && \
echo "\
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">/etc/apt/sources.list

三、去除订阅

#备份许可证文件
cp
/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js.bak && vim /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js

1)找到if (data.status !== 'Active')改为if (false)

2)重启网页服务systemctl restart pveproxy

 

【备注】

如果是6.3-2版本,找到大概457行,修改为if (false),然后重启服务

 

posted @ 2021-09-23 17:28  三人行必有我师娘  阅读(846)  评论(0编辑  收藏  举报