简介
最近 pve8 出来了,带来了更新的内核基于Debian 12
详细怎么更新可以看下面
https://pve.proxmox.com/wiki/Upgrade_from_7_to_8
操作
首先要备份原来的企业源
mv /etc/apt/sources.list.d/pve-enterprise.list /etc/apt/sources.list.d/pve-enterprise.list.bak
添加pve-no-subscription源
source /etc/os-release
echo "deb https://mirrors.ustc.edu.cn/proxmox/debian/pve $VERSION_CODENAME pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list
之后更新系统
apt update
apt dist-upgrade
执行pve7to8脚本来检查下是不是可以升级
pve7to8
备份原来的软件源
cp /etc/apt/sources.list /etc/apt/sources.list.bak
把软件源更新为bookworm
sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list
修改pve-no-subscription
源
echo "deb https://mirrors.ustc.edu.cn/proxmox/debian/pve bookworm pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list
添加 ceph 源
echo "deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription" > /etc/apt/sources.list.d/ceph.list
更新系统
apt update && apt dist-upgrade
重启
如果没问题的话,查看目前的 pve 版本
pveversion
查看目前的内核
uname -a
root@pve:~# pveversion
pve-manager/8.0.3/bbf3993334bfa916 (running kernel: 6.2.16-3-pve)
root@pve:~# uname -a
Linux pve 6.2.16-3-pve #1 SMP PREEMPT_DYNAMIC PVE 6.2.16-3 (2023-06-17T05:58Z) x86_64 GNU/Linux
root@pve:~#
欢迎关注我的博客www.bboy.app
Have Fun