Proxmox VE를 설치 후 업데이트 관련 설정을 변경하지 않으면 OS는 업데이트가 가능하지만 Proxmox VE는 제공받지 못합니다. Proxmox VE의 공식 업데이트를 받으려면 반드시 Proxmox의 No-Subscription 저장소(Repository)를 활성화해야 합니다.

 

◎ 저장소(Repository) 활성화 방법

 - /etc/apt/sources.list.d/pve-enterprise.list 는 유료구독용 설정파일이기 때문에 무료로만 이용할 경우 삭제해도 됩니다.

 - /etc/apt/sources.list.d/ceph.list 는 분산스토리지관련 업데이트 설정입니다. 분산스토리지 기능은 무료인데 기능을 사용하면 업데이트 설정을 하지 않는 경우 업데이트가 불가합니다. 분산스토리지 기능을 사용하지 않는 경우 삭제해도 됩니다.
 - /etc/apt/sources.list.d/pve-no-subscription.list 파일을 설정하지 않는 경우 Proxmox 업데이트는 불가하고 OS 업데이트만 가능합니다.

 

[Proxmox 8 release]

# rm -f /etc/apt/sources.list.d/pve-enterprise.list
# rm -f /etc/apt/sources.list.d/ceph.list
# vi /etc/apt/sources.list.d/pve-no-subscription.list
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
# apt update && apt dist-upgrade -y

 

 - Debian OS 코드네임이 변경되면 Proxmox 업데이트 설정의 코드네임도 변경해야 합니다.

 - bookworm은 Debian 12의 코드네임입니다. 아래 명령어로 VERSION_CODENAME 항목에서 확인이 가능합니다.

# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

 

 - Proxmox VE 버전은 아래 명령어로 확인이 가능합니다.

# pveversion -v
proxmox-ve: 8.3.0 (running kernel: 6.8.12-4-pve)
pve-manager: 8.3.0 (running version: 8.3.0/c1689ccb1065a83b)
proxmox-kernel-helper: 8.1.0
proxmox-kernel-6.8: 6.8.12-4
proxmox-kernel-6.8.12-4-pve-signed: 6.8.12-4
...(생략)

 

 - Proxmox VE 업데이트 후 비교 결과입니다.

# pveversion -v
proxmox-ve: 8.4.0 (running kernel: 6.8.12-4-pve)
pve-manager: 8.4.1 (running version: 8.4.1/2a5fa54a8503f96d)
proxmox-kernel-helper: 8.1.1
proxmox-kernel-6.8.12-11-pve-signed: 6.8.12-11
proxmox-kernel-6.8: 6.8.12-11
proxmox-kernel-6.8.12-4-pve-signed: 6.8.12-4
...(생략)

 

[Proxmox 9 release]

 - 기존 8버전대에서 9버전대로 업데이트 시 /etc/apt/sources.list를 백업하고 수정합니다.(문제 발생 시 복원 용)

# cat /etc/apt/sources.list
#deb http://ftp.kr.debian.org/debian bookworm main contrib
deb http://ftp.debian.org/debian bookworm main contrib
#deb http://ftp.kr.debian.org/debian bookworm-updates main contrib
deb http://ftp.debian.org/debian bookworm-updates main contrib

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription

# security updates
deb http://security.debian.org bookworm-security main contrib

# cp /etc/apt/sources.list /etc/apt/sources.list.backup

 

 - Debian OS 코드네임을 변경하고 업데이트합니다.

# sed -i 's/bookworm/trixie/g' /etc/apt/sources.list
# sed -i 's/bookworm/trixie/g' /etc/apt/sources.list.d/pve-enterprise.list
# cat > /etc/apt/sources.list.d/pve-enterprise.sources << EOF
Types: deb
URIs: https://enterprise.proxmox.com/debian/pve
Suites: trixie
Components: pve-enterprise
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
EOF

# 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

# 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

# apt update
# apt dist-upgrade

 

 

> 업데이트 완료

 - trixie은 Debian 13의 코드네임입니다. 아래 명령어로 VERSION_CODENAME 항목에서 확인이 가능합니다.

# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 13 (trixie)"
NAME="Debian GNU/Linux"
VERSION_ID="13"
VERSION="13 (trixie)"
VERSION_CODENAME=trixie
DEBIAN_VERSION_FULL=13.0
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

 

 - Proxmox VE 버전은 아래 명령어로 확인이 가능합니다.

# pveversion -v
proxmox-ve: 9.0.0 (running kernel: 6.14.8-2-pve)
pve-manager: 9.0.3 (running version: 9.0.3/025864202ebb6109)
proxmox-kernel-helper: 9.0.3
proxmox-kernel-6.14.8-2-pve-signed: 6.14.8-2
proxmox-kernel-6.14: 6.14.8-2
proxmox-kernel-6.8.12-13-pve-signed: 6.8.12-13
proxmox-kernel-6.8: 6.8.12-13
proxmox-kernel-6.8.12-4-pve-signed: 6.8.12-4
proxmox-kernel-6.8.4-2-pve-signed: 6.8.4-2
...(생략)

 

반응형

+ Recent posts