群晖、NAS、PVE、飞牛、二手品牌机、垃圾佬

每一位热爱生活的垃圾佬都值得敬畏

PVE系列教程(二十五)、PVE7.2-3无损升级到PVE8.2.2

PVE系列教程(二十五)、PVE7.2-3无损升级到PVE8.2.2 一、PVE7.2需要先升级到最新版本7. […]

PVE系列教程(二十五)、PVE7.2-3无损升级到PVE8.2.2

一、PVE7.2需要先升级到最新版本7.4-17

如果是7.0版本,执行下面这个

#如果是7.0版本,执行下面这个
vim/etc/apt/sources.list.d

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free

如果是7.2版本执行下面这个

#如果是7.2执行下面这个
vi /etc/apt/sources.list.d/pve-enterprise.list
deb https://mirrors.tuna.tsinghua.edu.cn/proxmox/debian bullseye pve-no-subscription

二、更新软件源并升级

apt update && apt dist-upgrade -y
#完成之后reboot
reboot

image-20240524134246964

三、7.4升级到8.2

vi /etc/apt/sources.list
#注释掉原来的源,把下面的贴过去
deb https://mirrors.ustc.edu.cn/debian/ bookworm main contrib
deb-src https://mirrors.ustc.edu.cn/debian/ bookworm main contrib
deb https://mirrors.ustc.edu.cn/debian/ bookworm-updates main contrib
deb-src https://mirrors.ustc.edu.cn/debian/ bookworm-updates main contrib

vi /etc/apt/sources.list.d/pve-no-subscription.list
#注释掉原来的源,把下面的贴过去
deb https://mirrors.tuna.tsinghua.edu.cn/proxmox/debian bookworm pve-no-subscription

#升级
apt update && apt dist-upgrade -y

中途会有一些选项让你选择,这里选English英文吧。

image-20240524135937102

这里选Yes,同意升级

image-20240524140102521

过程中还有这种选项,就选Y,表示同意新版本就好。

image-20240524140619489

升级完重启,就可以看到已经是8.2.2的版本了。

image-20240524141358193

参考:https://blog.csdn.net/m0_67954492/article/details/135773321