1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
| #可选操作,2选1
#选项 1: PVE官方sourcelist
tee /etc/apt/sources.list.d/pve-install-repo.list << "EOF"
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
EOF
# 选项2: 中科大国内镜像
tee /etc/apt/sources.list.d/pve-install-repo.list << "EOF"
deb [arch=amd64] https://mirrors.ustc.edu.cn/proxmox/debian/pve bullseye pve-no-subscription
EOF
#安装gpg密钥
#如下操作2选1
#选项 1: 官方站点
wget http://download.proxmox.com/debian/proxmox-release-bookworm.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg
#选项2: 中科大镜像
wget https://mirrors.ustc.edu.cn/proxmox/debian/proxmox-release-bookworm.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg
#Ceph源更改
#二选一
#选项 1: pve官方源
echo "deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription" > /etc/apt/sources.list.d/ceph.list
#选项 2: 中科大国内镜像
echo "deb https://mirrors.ustc.edu.cn/proxmox/debian/ceph-quincy bookworm no-subscription" > /etc/apt/sources.list.d/ceph.list
# 更新并安装
apt update && apt -y full-upgrade
# Install proxmxo ve kernel
apt install pve-kernel-6.2
# 重启系统
systemctl reboot
|