我要投稿如果你有好的文章,欢迎分享给我们,我们会给与适当的补贴

PROXMOX VE8.0到9.0轻松升级

Proxmox VE 9.0 正式发布了,主要的更新是基于Debian13,然后小修小补,所以新鲜升级。

首先确定现有版本是最新的8.4

apt update
apt dist-upgrade

更新版本之后,运行以下的命令,确定是否兼容,如果有Failures,先解决Failures。

pve8to9 #快速检查
pve8to9 --full #完全检查

完成之后,更新源

sed -i 's/bookworm/trixie/g' /etc/apt/sources.list
sed -i 's/bookworm/trixie/g' /etc/apt/sources.list.d/pve-enterprise.list

以下添加PVE 9.0的软件源

cat > /etc/apt/sources.list.d/proxmox.sources << EOF
Types: deb
URIs: http://download.proxmox.com/debian/pve
Suites: trixie
Components: pve-no-subscription
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
EOF

添加ceph的无订阅源

cat > /etc/apt/sources.list.d/ceph.sources << EOF
Types: deb
URIs: http://download.proxmox.com/debian/ceph-squid
Suites: trixie
Components: no-subscription
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
EOF

添加完了之后,最好运行下pve8to9,重新检查下。

apt update
apt dist-upgrade

其中会有一段文字需要阅读,我直接就输入Q,退出了。然后会有两个提问,一个是是否允许系统自动重启一些程序,我是选择了yes。然后是一些配置文件怎么处理,我选择了保留。因为我怕系统出问题。

Tags:

Add a Comment

Your email address will not be published. Required fields are marked *