pve7.4.3升级至8.1最新

本人使用的是Virtual Environment 7.4-3,直接使用内置shell即可升级

1.更换 Debian系统源
cp /etc/apt/sources.list /etc/apt/sources.list_bak #备份源
nano /etc/apt/sources.list #改写新的
在这里插入图片描述

清除原内容替换为以下
#国内清华镜像源
deb http://mirrors.tuna.tsinghua.edu.cn/debian bookworm main contrib non-free non-free-firmware
deb http://mirrors.tuna.tsinghua.edu.cn/debian bookworm-updates main contrib non-free non-free-firmware
deb http://mirrors.tuna.tsinghua.edu.cn/debian bookworm-backports main contrib non-free non-free-firmware

deb http://mirrors.tuna.tsinghua.edu.cn/debian-security bookworm-security main contrib non-free non-free-firmware

添加pve-8软件包仓库
echo “deb https://mirrors.tuna.tsinghua.edu.cn/proxmox/debian/pve bookworm pve-no-subscription” > /etc/apt/sources.list.d/pve-enterprise.list

更新ceph包仓库
echo “deb https://mirrors.ustc.edu.cn/proxmox/debian/ceph-quincy/ bookworm no-subscription” > /etc/apt/sources.list.d/ceph.list

cp /usr/share/perl5/PVE/CLI/pveceph.pm /usr/share/perl5/PVE/CLI/pveceph.pm_back
sed -i ‘s|http://download.proxmox.com|https://mirrors.ustc.edu.cn/proxmox|g’ /usr/share/perl5/PVE/CLI/pveceph.pm

wget https://enterprise.proxmox.com/debian//proxmox-release-bookworm.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg

apt update
apt dist-upgrade -y

在这里插入图片描述
在这里插入图片描述

弹出页面
一路默认回车就完了
apt update
apt dist-upgrade -y 中途退出即可再执行

在这里插入图片描述
在这里插入图片描述

在这里插入图片描述
在这里插入图片描述

pveversion 确认版本

##pve-manager/8.1.3/b46aac3b42da5d15 (running kernel: 5.15.102-1-pve)
————————————————

                        ![
  • 4
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值