Prerequisites
Before you touch an ISO, get the boring stuff right. I've watched more Proxmox installs go sideways because of a missed BIOS toggle or a flaky USB stick than because of anything exotic in the installer itself.
On the hardware side, you need a 64-bit CPU with Intel VT-x or AMD-V, and ideally VT-d or AMD-Vi if you plan on PCI passthrough later. Memory is where people get stingy. The official minimum is 2 GB, but that's a number for a lab curiosity. For anything real, plan on 16 GB or more, and add roughly 1 GB per terabyte of raw ZFS storage if you're using ZFS. For storage, use at least one SSD for the OS. Two mirrored disks are better, and I'd argue mandatory for a host that will carry production guests.
You'll also need the following ready before you start:
- The current Proxmox VE ISO from the official download page, with its SHA256 checksum verified.
- A USB stick of 8 GB or larger, or IPMI/iKVM virtual media access.
- A static IP, gateway, and DNS server for the management interface. In this guide we'll use 192.168.10.21/24 with a gateway of 192.168.10.1.
- A planned FQDN. We'll use sw-infrarunbook-01.solvethenetwork.com.
- A keyboard and monitor, or a working remote console.
Verify the ISO before writing it. It takes ten seconds and it saves you from chasing phantom installer crashes.
infrarunbook-admin@workstation:~$ sha256sum proxmox-ve_8.x-1.iso
# compare the output against the checksum published on the download page
infrarunbook-admin@workstation:~$ sudo dd if=proxmox-ve_8.x-1.iso of=/dev/sdX bs=1M conv=fsync status=progressDouble-check that
/dev/sdXreally is your USB stick. I've seen someone overwrite a data disk with dd exactly once, and they never did it again.
Step 1: Prepare the BIOS or UEFI
Reboot the server and enter firmware setup. Three things matter here. First, enable hardware virtualization (VT-x or AMD-V). Without it, KVM won't work and you'll be limited to containers. Second, enable VT-d or IOMMU if passthrough is on your roadmap. Third, decide on boot mode. Modern Proxmox installs happily in UEFI mode, and I recommend it unless your hardware is ancient. Secure Boot is supported in recent releases, but if you hit odd boot problems, disabling it is a reasonable first troubleshooting step.
If the machine sits behind a hardware RAID controller, think about whether you want that. ZFS wants direct access to the disks. Put the controller in HBA or IT mode if it supports it. Layering ZFS on top of a hardware RAID volume works, but you lose most of what makes ZFS worth using.
Step 2: Boot the Installer
Boot from the USB stick and choose Install Proxmox VE (Graphical). If the graphical installer produces a blank screen, which happens on some server GPUs, fall back to the terminal UI option from the same menu. It asks for the same information.
Accept the EULA and you'll land on the target disk screen. This is the most consequential decision in the whole process, so slow down here.
Step 3: Choose the Target Disk and Filesystem
Click Options next to the target harddisk. You'll see several filesystem choices: ext4, xfs, btrfs, and several ZFS layouts.
My rule of thumb is simple. For a single disk lab box, ext4 on LVM is fine and uses the least RAM. For anything with two or more disks, use ZFS RAID1 (mirror). You get checksumming, snapshots, replication support, and self-healing reads. For four or more disks, ZFS RAID10 gives you the best mix of performance and redundancy for VM workloads. I avoid RAIDZ1 and RAIDZ2 for VM storage because the write amplification and IOPS profile hurt once you've got a dozen busy guests.
With ZFS, check the advanced options. Set ashift to 12 for 4K-sector drives, which covers nearly every SSD and modern HDD you'll buy. Leave compression at lz4 (on). Under hdsize, you can limit how much of each disk the installer uses, which is handy if you want to carve out a partition for something else later.
Select both disks in the disk drop-downs and confirm the RAID level is set to zfs (RAID1). Click OK.
Step 4: Locale, Password, and Network
Set your country, time zone, and keyboard layout. Get the time zone right, because clustering and certificate validity both care about clock sanity later on.
On the next screen, set a strong root password and an administrator email address. The email is used for alerts, including ZFS degradation notices and backup job results, so use a real mailbox that somebody reads.
Now the management network page. Choose the correct NIC from the dropdown, then fill in:
Hostname (FQDN): sw-infrarunbook-01.solvethenetwork.com
IP Address (CIDR): 192.168.10.21/24
Gateway: 192.168.10.1
DNS Server: 192.168.10.2One thing to burn into memory: the hostname and IP are painful to change after the fact, especially if you later join a cluster. Pick them deliberately now. The FQDN must be resolvable, and the installer writes it into
/etc/hostsfor you.
Review the summary screen. Tick Automatically reboot after successful installation if you like, then click Install. It takes a few minutes on SSDs. Pull the USB stick when the machine restarts.
Step 5: First Login and the Web UI
Once the host boots, you'll see a console banner with the management URL. Browse to it from your workstation:
https://192.168.10.21:8006You'll get a self-signed certificate warning. That's expected for now. Log in as
rootwith realm Linux PAM standard authentication. A subscription nag dialog will appear on every login if you're not using an enterprise subscription. It's cosmetic.
Step 6: Fix the Repositories
Out of the box, Proxmox points at the enterprise repository, which returns a 401 error without a subscription. That breaks
apt updatein an ugly way. If you don't have a subscription, switch to the no-subscription repository. It's fine for labs and many small shops, though for production I'd buy a subscription for the stable enterprise repo and support.
SSH in as root, or use the shell in the web UI. This example is for Proxmox VE 8 on Debian 12 (bookworm). Newer releases built on Debian 13 use the deb822
.sourcesformat, so check
/etc/apt/sources.list.d/and match your release codename.
root@sw-infrarunbook-01:~# cat /etc/apt/sources.list.d/pve-enterprise.list
deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise
# comment out the enterprise line
root@sw-infrarunbook-01:~# sed -i 's/^deb/#deb/' /etc/apt/sources.list.d/pve-enterprise.list
# add the no-subscription repo
root@sw-infrarunbook-01:~# echo "deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list
# repeat for the Ceph enterprise list if present
root@sw-infrarunbook-01:~# ls /etc/apt/sources.list.d/Then update and upgrade the host:
root@sw-infrarunbook-01:~# apt update
root@sw-infrarunbook-01:~# apt full-upgrade -y
root@sw-infrarunbook-01:~# rebootUse
full-upgrade, not plain
upgrade. Proxmox kernel and package dependencies sometimes require new packages to be pulled in or old ones removed, and plain upgrade will hold them back.
Step 7: Review the Network Bridge
The installer creates a Linux bridge called
vmbr0and attaches your physical NIC to it. VMs plug into this bridge to reach the LAN. Open the config and make sure it looks right.
root@sw-infrarunbook-01:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface eno1 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.10.21/24
gateway 192.168.10.1
bridge-ports eno1
bridge-stp off
bridge-fd 0
source /etc/network/interfaces.d/*If you plan to use VLANs, add
bridge-vlan-aware yesand
bridge-vids 2-4094under vmbr0. That lets you tag traffic per VM NIC rather than building one bridge per VLAN. I do this on every host now, because retrofitting it later means a maintenance window.
auto vmbr0
iface vmbr0 inet static
address 192.168.10.21/24
gateway 192.168.10.1
bridge-ports eno1
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094Apply changes with
ifreload -a, which is safer than restarting networking. Do it from the console or IPMI if you can, not over the SSH session you're about to cut off.
Step 8: Add a Non-Root Admin User
Working as root everywhere is a habit worth breaking early. Create a PVE-realm or PAM user, grant it the Administrator role, and enable two-factor authentication.
root@sw-infrarunbook-01:~# adduser infrarunbook-admin
root@sw-infrarunbook-01:~# pveum user add infrarunbook-admin@pam
root@sw-infrarunbook-01:~# pveum acl modify / --users infrarunbook-admin@pam --roles AdministratorLog in with the new account in the web UI, then add TOTP under Datacenter, Permissions, Two Factor.
Step 9: Configure Storage
With a ZFS install, you'll already have
local(for ISOs, templates, and backups) and
local-zfs(for VM disks and containers). That's enough to start. If you have extra disks, create a second pool.
root@sw-infrarunbook-01:~# zpool status
pool: rpool
state: ONLINE
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
sda3 ONLINE 0 0 0
sdb3 ONLINE 0 0 0
root@sw-infrarunbook-01:~# zpool create -o ashift=12 tank mirror /dev/disk/by-id/ata-DISK_A /dev/disk/by-id/ata-DISK_B
root@sw-infrarunbook-01:~# pvesm add zfspool tank-vm --pool tank --content images,rootdirAlways use
/dev/disk/by-idpaths for additional pools. Device names like
/dev/sdccan shuffle after a reboot and you don't want ZFS guessing.
Full Configuration Example
Here's the end state of a healthy, freshly built host. This is what I'd expect to see across the key files once everything above is done.
# /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.10.21 sw-infrarunbook-01.solvethenetwork.com sw-infrarunbook-01
# /etc/hostname
sw-infrarunbook-01
# /etc/resolv.conf
search solvethenetwork.com
nameserver 192.168.10.2
# /etc/apt/sources.list.d/pve-no-subscription.list
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
# /etc/network/interfaces
auto lo
iface lo inet loopback
iface eno1 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.10.21/24
gateway 192.168.10.1
bridge-ports eno1
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
# /etc/pve/storage.cfg
dir: local
path /var/lib/vz
content iso,vztmpl,backup
zfspool: local-zfs
pool rpool/data
sparse 1
content images,rootdir
zfspool: tank-vm
pool tank
content images,rootdirVerification Steps
Don't assume it works because the login page loaded. Run through a short checklist.
First, confirm the version and that the services are running.
root@sw-infrarunbook-01:~# pveversion -v | head -n 5
root@sw-infrarunbook-01:~# systemctl status pveproxy pvedaemon pve-cluster --no-pager
root@sw-infrarunbook-01:~# pvesh get /nodes/sw-infrarunbook-01/statusSecond, verify hardware virtualization is exposed to the kernel, and check IOMMU if you enabled it.
root@sw-infrarunbook-01:~# egrep -c '(vmx|svm)' /proc/cpuinfo
16
root@sw-infrarunbook-01:~# lsmod | grep kvm
kvm_intel 380928 0
kvm 1146880 1 kvm_intel
root@sw-infrarunbook-01:~# dmesg | grep -e DMAR -e IOMMUA count of zero from the first command means virtualization is disabled in the BIOS. Go back and fix it.
Third, check networking and name resolution. The host should reach its gateway, resolve its own FQDN, and reach the package mirrors.
root@sw-infrarunbook-01:~# ip -br addr show vmbr0
vmbr0 UP 192.168.10.21/24
root@sw-infrarunbook-01:~# ping -c 3 192.168.10.1
root@sw-infrarunbook-01:~# hostname --ip-address
192.168.10.21
root@sw-infrarunbook-01:~# apt updateFourth, check storage health.
root@sw-infrarunbook-01:~# zpool status -x
all pools are healthy
root@sw-infrarunbook-01:~# pvesm statusFinally, prove the whole stack by creating a small test container or VM, starting it, and pinging out from it. If a guest on vmbr0 can reach the gateway, you're done.
Common Mistakes
Leaving the enterprise repo enabled without a subscription. Every
apt updatethrows 401 errors and people assume the mirror is down. Disable it or buy the subscription.
Forgetting hardware virtualization in the BIOS. The installer works fine, the web UI works fine, and then VMs refuse to start with a KVM error. Check
/proc/cpuinfoearly.
Using a hostname that resolves to 127.0.1.1. Proxmox services, and especially the cluster stack, need the hostname to resolve to the real management IP. If
hostname --ip-addressreturns a loopback address, pve-cluster and the certificate generation will misbehave.
Running ZFS on top of a hardware RAID volume. It boots, it runs, and then one day a silent corruption occurs that ZFS can't repair because it only sees a single logical disk. Use an HBA.
Under-provisioning RAM for ZFS. The ARC will happily eat up to half your memory by default. On a 16 GB host that's a lot. You can cap it with
options zfs zfs_arc_max=4294967296in
/etc/modprobe.d/zfs.conf, then run
update-initramfs -uand reboot.
Changing hostname or IP after clustering. Just don't. Plan it right the first time, because rebuilding a node is often cleaner than untangling the cluster config.
Applying network changes over SSH on a single-NIC host. One typo in
/etc/network/interfacesand you're driving to the data center. Use the console, or at least keep a second session open and test with
ifreload -abefore you walk away.
A clean install is maybe thirty minutes of work, but the decisions you make in those thirty minutes, namely filesystem, hostname, bridge layout, and repositories, stick with the host for its whole life. Get them right, take a backup of
/etconce the host is configured, and you'll have a solid foundation to build clusters, backups, and workloads on.
