**Official Guide**
https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_12_Bookworm
https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_13_Trixie
Proxmox 8 = Debian 12로 진행하고, Proxmox 9 = Debian 13으로 진행.
본문은 Proxmox 9 = Debian 13으로 진행한다.
### 1. Debian Download - 13 (Trixie)
[https://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/](https://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/) 에서 다운로드 후,
USB에 rufus (dd mode)
### 2. Debian Install
Install 과정에서 신경써야 할 것 = SSH Server, 표준 시스템 유틸리티 Install
(SSH Server가 없어도 Proxmox 구동엔 문제 없음)
### 3. Debian Setting - 고정 IP
```
nano /etc/network/interfaces
... static
address 192.168.XXX.XXX
netmask 255.255.255.0
gateway 192.168.XXX.1
CTRL X, Y, ENTER
```
```
nano /etc/hosts
127.0.0.1 localhost
192.168.XXX.XXX ... ...
CTRL X, Y, ENTER
```
```
nano /etc/resolv.conf
nameserver 192.168.XXX.XXX
CTRL X, Y, ENTER
```
### 4. Debian to Proxmox
```
nano /etc/apt/sources.list.d/pve-install-repo.sources
Types: deb
URIs: http://download.proxmox.com/debian/pve
Suites: trixie
Components: pve-no-subscription
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
CTRL X, Y, ENTER
```
```
wget https://enterprise.proxmox.com/debian/proxmox-archive-keyring-trixie.gpg -O /usr/share/keyrings/proxmox-archive-keyring.gpg
# verify
sha256sum /usr/share/keyrings/proxmox-archive-keyring.gpg
136673be77aba35dcce385b28737689ad64fd785a797e57897589aed08db6e45
```
```
apt update && apt full-upgrade -y
apt install proxmox-default-kernel
systemctl reboot
```
```
apt install proxmox-ve postfix open-iscsi chrony -y
(local only)
```
```
apt remove linux-image-amd64 'linux-image-6.12*'
update-grub
```
### 5-1. Proxmox Setting - 네트워크
```
# ip a로 고정할 인터페이스 이름 확인
# 첫 번째 인터페이스를 eth0으로 고정
pve-network-interface-pinning generate --interface <현재_인터페이스명1> --target-name eth0
# 두 번째 인터페이스를 eth1으로 고정
pve-network-interface-pinning generate --interface <현재_인터페이스명2> --target-name eth1
reboot
```
*만약 삭제하고 싶다면,*
```
ls -l /usr/local/lib/systemd/network/
rm /usr/local/lib/systemd/network/50-pve-eth0.link # eth0을 삭제하고 싶은 경우
rm /usr/local/lib/systemd/network/50-pve-eth1.link # eth1을 삭제하고 싶은 경우
update-initramfs -u -k all
```
### 5-2. Proxmox Setting - 네트워크 (GUI)
(1) https://192.168.XXX.XXX:8006 으로 접속
(2) ID = root, PWD = Debian 설치 때 입력했던 암호로 로그인
(3) 데이터센터 - (컴퓨터 이름) - 시스템 - 네트워크
```
# eth0 = 다 지움
# eth1 = 다 지움 (듀얼랜의 경우만 설정)
# 생성 - Linux Bridge
- 이름 : vmbr0 / vmbr1
- IPv4/CIDR : 192.168.XXX.XXX/24 (eth0의 ip)
- 게이트웨이 (IPv4) : 192.168.XXX.1 (eth0의 gateway)
- 자동시작 : 체크
- 브릿지 포트 : eth0 / eth1
```