Tutorials

Hands-on guides and configuration examples.

Configuration library · scripts and downloads ↗

Install and configure Proxmox VE 9.2

Proxmox VE is a Debian-based hypervisor with a web interface for QEMU/KVM virtual machines and LXC containers.

This guide starts with a dedicated x86-64 server and the Proxmox VE 9.2 ISO, based on Debian 13 “Trixie”.

You will build a networked Debian VM, back it up to separate storage and test a restore.

  1. Prepare the server and USB drive

    For a first homelab, use an x86-64 computer with Intel VT-x or AMD-V, wired Ethernet, an SSD and a monitor and keyboard for setup. Enable hardware virtualization in UEFI.

    • Example starting point with a 256 GB SSD and 16 GB of RAM. Leave 4 GB available for the host and start with a 2 to 4 GB VM. These are sizing examples for a small lab.
    • Back up the server and identify the target drive by its model and capacity. The installer erases the selected drive.
    • Download the x86-64 ISO. On Linux, compute its SHA-256 and compare it with the official checksum. Write it to a USB drive with Rufus in DD mode or Etcher. This erases the USB drive.
    Terminal
    sha256sum proxmox-ve_9.2-1.iso

    Adjust the filename if you download a different ISO revision.

  2. Install Proxmox on the server

    Connect Ethernet, boot from USB using the UEFI boot menu, then select “Install Proxmox VE (Graphical)”. Try Terminal UI mode if the graphical installer has display problems.

    • Select the target SSD. For a single SSD, ext4 is a straightforward starting point. The default install uses LVM and usually reserves a portion of the drive for guest disks.
    • Set your country, keyboard and time zone. Create a unique root password and provide a contact email address.
    • Select the Ethernet interface on the LAN. Example values to adapt are pve1.lab.home.arpa, 192.168.1.10/24, and 192.168.1.1 for the gateway and DNS if your router handles DNS. Use a free IP outside the dynamic DHCP pool.
    • Review the summary, install, and remove the USB drive on reboot. From another computer on the LAN, open https://192.168.1.10:8006 and sign in as root with the Linux PAM realm.

    A fresh install may show a warning for its self-signed certificate. Verify the server address and identity before connecting. On the server console, ip -br addr and ip route can confirm the IP and gateway.

  3. Set up repositories and update the host

    Open the node → Updates → Repositories. Keep Enterprise if you have a subscription. For an unsubscribed homelab, disable pve-enterprise and add No-Subscription with Add.

    • Keep the Debian Trixie and Debian Security repositories. If a Ceph Enterprise repository also returns 401 on a standalone node that does not use Ceph, disable that Ceph entry.
    • Run the commands in Node → Shell as root. Review the proposed changes before confirming. After a kernel update, schedule a reboot and verify that the web interface comes back.
    Terminal
    apt update && apt full-upgrade
    pveversion
  4. Understand local, local-lvm and NAS storage

    Open Datacenter → Storage to see what each storage entry accepts. On a typical ext4/LVM install, local and local-lvm serve different purposes on the same SSD.

    • local is Directory storage, usually /var/lib/vz. Use it for ISOs and LXC templates, and for backups if that content type is enabled.
    • local-lvm is a thin-provisioned LVM pool for VM disks and container volumes. Monitor both data and metadata usage. The capacity assigned to guests can exceed the physical capacity available.
    • To add TrueNAS, create a dedicated dataset and export it via NFS to the Proxmox host only. In Datacenter → Storage → Add → NFS, enter the NAS address, select the export, name it nas-backup and enable VZDump backup file content.
    • ZFS is an option if you have the disks and RAM. A mirror protects against a single disk failure. A backup on a separate device lets you recover a guest or its data.
    Terminal
    pvesm status
    lsblk -o NAME,SIZE,MODEL,FSTYPE,MOUNTPOINTS
    lvs -o lv_name,vg_name,lv_size,data_percent,metadata_percent
  5. Create a first Debian 13 virtual machine

    Download the Debian 13 amd64 netinst ISO. On the node, open local → ISO Images → Upload. Click Create VM and follow the settings below.

    • General and OS. Name it debian13-docker, use ID 100 if free, select the Debian ISO and choose Linux.
    • System and Disks. Choose q35 with OVMF (UEFI), add an EFI disk and create a 32 GB SCSI disk on local-lvm with the VirtIO SCSI single controller. Enable QEMU Guest Agent in System or later in Options.
    • CPU and memory. Start with 2 vCPUs and 4 GB of RAM for a Docker VM. Under Network, use bridge vmbr0 and a VirtIO NIC without a VLAN tag for the first test on the untagged LAN.
    • Start the VM and complete the installer in Console. Remove the ISO from the virtual drive after installation and check the boot order.
    • Install the agent inside Debian. If the agent cannot see the virtio channel, shut the VM down and start it again after enabling the setting in Proxmox. Its IP address can then appear in Summary.
    Terminal
    sudo apt update && sudo apt install qemu-guest-agent
    sudo systemctl start qemu-guest-agent

    Run these commands inside the VM with a user who has sudo. If your Debian install uses root directly, sign in as root and omit sudo.

  6. Create an LXC container and choose a guest type

    A virtual machine runs its own kernel. An LXC container shares the host kernel and works well for a small Linux service.

    • To try LXC, open local → CT Templates → Templates, download a Debian template and select Create CT. Keep Unprivileged container enabled.
    • Example starting point. 1 vCPU, 1 GB of RAM, an 8 GB disk on local-lvm and vmbr0 with DHCP. Start the container and check its IP in the console with ip -br addr.
    • For Docker Compose or GLPI, use the Debian VM from this guide. Use a VM for operating systems that need their own kernel, such as Windows.
  7. Configure the bridge and VLANs

    vmbr0 acts as a virtual switch. Its physical Ethernet port connects the LAN to the guests’ virtual NICs. Each guest can receive its own IP from the LAN’s DHCP server.

    • Under Node → System → Network, check that vmbr0 has the correct bridge port and management address. On a single-NIC host, the management address and gateway are generally on vmbr0.
    • To add VLAN 20, configure the switch and router first. The uplink to Proxmox must carry tagged VLAN 20 and keep the existing management network reachable. Enable VLAN aware on vmbr0, then set VLAN Tag 20 on the VM’s virtual NIC.
    • Configure a router interface and gateway for VLAN 20, plus DHCP on that VLAN if the guest uses DHCP. Test with a VM before touching the management network. Work from the local console if a change could cut off access.
    Terminal
    ip -br link
    ip -br addr
    ip route
    bridge link
  8. Back up and restore a VM

    Use an NFS NAS or a separate Proxmox Backup Server. A VM snapshot helps roll back a quick change. A remote backup is still available if the host SSD fails.

    • In Datacenter → Backup → Add, choose the remote storage and guests. An example schedule is daily at 02:00 with seven daily and four weekly backups, depending on available space.
    • vzdump Snapshot mode can back up a running VM. For an important database, also take an application-level export and test that restore separately.
    • Open the backup storage → Backups, select an archive and click Restore. Pick an unused ID, such as 900, and destination storage with enough free space.
    • Before starting the copy, disconnect its NIC or place it on an isolated network to avoid a duplicate IP. Verify that the guest boots and that its files and services are usable.
    Terminal
    vzdump 100 --storage nas-backup --mode snapshot --compress zstd

    Run this command on the host after configuring VM 100 and the nas-backup storage.

  9. Secure access and troubleshoot failures

    Keep port 8006 on the management network. Use a VPN for remote access. Create a named administrator account with an appropriate role, enable two-factor authentication and keep recovery codes.

    • Web interface unreachable. On the server console, check the vmbr0 address, gateway, Ethernet cable and pveproxy status. From your computer, check that port 8006 is reachable at the correct address.
    • VM has no IP. Check that its NIC is connected to the right bridge, the VLAN is correct and DHCP is responding on that network.
    • Backup failed. Check free space with pvesm status, NFS permissions and the task log. Check backup job results regularly and repeat a restore test when storage changes.
    Terminal
    systemctl status pveproxy pvedaemon --no-pager
    journalctl -u pveproxy -u pvedaemon -b -n 60 --no-pager
Official Proxmox VE Administration Guide ↗