记录PVE9.0安装过程
1.用rufus-4.5.exe把下载的ISO文件装到u盘上。
2.安装时要插好网线,一路NEXT即可。
3.进入https://ip:8006后选pve--shell,开始换源。
nano /etc/apt/sources.list.d/debian.sources
删除文件内容,粘贴如下内容
Types: deb
URIs: https://mirrors.ustc.edu.cn/debian
Suites: trixie trixie-updates trixie-backports
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
Types: deb
URIs: https://mirrors.ustc.edu.cn/debian-security
Suites: trixie-security
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
nano /etc/apt/sources.list.d/proxmox.sources
删除文件内容,粘贴如下内容
Types: deb
URIs: http://mirrors.ustc.edu.cn/proxmox/debian/pve
Suites: trixie
Components: pve-no-subscription
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
4.换源成功验证命令
apt clean
apt update
apt list --upgradable #查看需要升级的文件清单
apt-get upgrade

5.关弹窗命令
sed -Ezi.bak "s#(Ext.Msg.show({s+title: gettext('No valid sub)#void({ //1#g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service
