去除订阅弹窗
#修改js 替换为void
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
配置Debain国内源
#备份原始源
mv /etc/apt/sources.list /etc/apt/sources.list.bak
#修改源(清华)
nano /etc/apt/sources.list
deb https://mirrors.ustc.edu.cn/debian/ bookworm main non-free non-free-firmware contrib
deb-src https://mirrors.ustc.edu.cn/debian/ bookworm main non-free non-free-firmware contrib
deb https://mirrors.ustc.edu.cn/debian-security/ bookworm-security main
deb-src https://mirrors.ustc.edu.cn/debian-security/ bookworm-security main
deb https://mirrors.ustc.edu.cn/debian/ bookworm-updates main non-free non-free-firmware contrib
deb-src https://mirrors.ustc.edu.cn/debian/ bookworm-updates main non-free non-free-firmware contrib
deb https://mirrors.ustc.edu.cn/debian/ bookworm-backports main non-free non-free-firmware contrib
deb-src https://mirrors.ustc.edu.cn/debian/ bookworm-backports main non-free non-free-firmware contrib
配置PVE国内源
# 编辑文件 pve-enterprise.list
nano /etc/apt/sources.list.d/pve-enterprise.list
# 改成如下内容
deb https://mirrors.ustc.edu.cn/proxmox/debian bookworm pve-no-subscription
#deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise
# 编辑 PVE ceph 源
nano /etc/apt/sources.list.d/ceph.list
# 改成如下内容
deb https://mirrors.ustc.edu.cn/proxmox/debian/ceph-quincy bookworm no-subscription
#deb https://enterprise.proxmox.com/debian/ceph-quincy bookworm enterprise
更新源
apt update
安装常用工具
apt install vim net-tools git tig -y
升级内核(慎重 可选)
apt install -y pve-kernel-6.8.8-2-pve pve-headers-6.8.8-2-pve pve-firmware