Skip to content
Back to Series Homelab from Scratch
Homelab

Proxmox VE: Virtualization for the Homelab

Install and use Proxmox VE in a homelab: create VMs and LXC containers, configure storage, snapshots, integrated backups, and why one server should be virtualized.

A
Alif Afriza Author
· · 6 min read
Proxmox VE: Virtualization for the Homelab

At the beginning of this series, the homelab started with a single server running all services at once. As parts multiplied, problems emerged: updating one package could shake other services; one broken service suddenly brought everything down; and testing a new tool could not be done without fear of breaking what was already running.

The solution is virtualization: splitting one physical server into several isolated “computers”. Proxmox VE is the most popular open-source hypervisor among homelab enthusiasts because it requires no license, is feature-rich, and can run on modest hardware.

Why Proxmox Is Not a Regular Server OS

Proxmox VE is a Debian distribution prepared for virtualization. You do not install it “on top” of another system; Proxmox itself is the kernel and the manager of all VMs and LXC containers.

Two types of “machines” in Proxmox:

  • VM: full virtualization, each VM has its own kernel. Suitable for systems that need strong isolation (Windows, specialized distributions).
  • LXC container: OS-level virtualization, sharing the host kernel. Lighter, boots faster. Suitable for standard Linux services.

Most homelab services (database, web, DNS) are fine in LXC, while cases that need their own kernel or specific software use VMs.

1. Install Proxmox VE

Download the official ISO from the Proxmox download page, create a bootable USB (for example with balenaEtcher or Rufus), boot the server, and follow the wizard:

  1. Choose the target disk (make sure it is the right one, the disk will be formatted)
  2. Set country and time zone
  3. Create a root password and email
  4. Set a static IP: a homelab cluster should use a fixed IP so the dashboard does not keep changing, for example 192.168.1.13/24 with gateway 192.168.1.1
  5. Finish, then access the dashboard via https://192.168.1.13:8006

Log in with the root user and the password you created earlier. The first page usually shows an invalid certificate warning; that is normal, you can install Let’s Encrypt later.

2. Basic Storage Setup

Proxmox stores ISOs, VM disks, and backups in storage. Open Datacenter > Storage, then add:

  • NFS/SMB: point to the NAS to store ISOs and templates
  • LVM-thin: local storage for VM/LXC disks (supports snapshots)

The practical rule: put ISOs and templates on shared storage, active disks on fast local storage, and backups in a separate location (NAS or additional disk), exactly like the 3-2-1 principle in Part 9.

3. Create Your First Container (Ubuntu LXC)

A container is the lightest starting point.

  1. Local > ISO Images: do not upload an ISO, but download a template to storage (category VZ templates). Choose for example ubuntu-24.04-standard.
  2. Click Create CT:
    • General: hostname and container ID (for example 102)
    • Template: choose the Ubuntu template
    • Disks: allocate for example 8 GB
    • CPU/RAM: for example 2 cores and 1 GB
    • Network: bridge vmbr0 (host LAN), assign static IP 192.168.1.14/24
    • Check Start after created
  3. After creation, open Console and log in as root (the default password is the Proxmox root password)

From here you can run apt update && apt upgrade, then install any service you want.

4. Isolation with Networking

Every VM/container in Proxmox connects to the vmbr0 bridge, meaning it is on the same LAN as the host. To restrict communication between services (micro-segmentation pattern), you can create an additional bridge or use VLANs:

  • One vmbr0 bridge for services that may be accessed from the LAN (db, web)
  • A separate bridge or VLAN for services that do not need to be visible to neighbors

If your backbone switch already runs with VLANs (revisit Part 4), Proxmox can pass VLAN tags directly on each container’s virtual NIC, without additional wiring.

5. Snapshots and Rollback

A snapshot is a picture of a container/VM state at a point in time. Before trying major changes (large updates, data migration), a snapshot is the most practical “undo” button:

# Snapshot container 103
pct snapshot 103 sebelum-update

# Rollback ke snapshot tersebut
pct rollback 103 sebelum-update

For VMs: qm snapshot 100 nama-snapshot and qm rollback 100 nama-snapshot. Snapshots use LVM-thin space, so do not make a habit of keeping them for years; delete them when no longer needed.

6. Live Migration (Advanced)

The most enjoyable part of virtualization: you can move a container from one storage to another without shutting down the service.

  • Migrate between nodes (requires a multi-node cluster): pct migrate <ctid> <target-node>
  • Move volume between storage: Datacenter > CT > Disks > Move Volume

Use case: when the host disk is running low or you add faster storage (for example an NVMe SSD), you move live services without downtime.

7. Centralized Backup from the Web UI

VM/LXC backup is directly integrated in Proxmox (already introduced in Part 9):

Datacenter > Backup > Add

  • Select all containers/VMs
  • Target storage (ideally storage separate from active disks)
  • Mode snapshot
  • Daily schedule at 03:00
  • Retention: keep daily=7, weekly=4 so they do not pile up

Do a test restore a week later. Restore is run via Restore in the CT/VM menu or via the CLI pct restore.

8. Proxmox Host Security

Before putting it into full operation, apply the basics from Part 11 to the host:

  • Change the default Proxmox root password, create a new non-root user for daily work
  • Enable the Proxmox firewall (Datacenter > Firewall) with a rule: 8006 only from admin IPs
  • Set up routine updates via apt autoremove and monitor via the dashboard
  • Store credentials in a password manager, do not stick them on a post-it note

Things to Keep in Mind

  • One service = one container (or one VM). Stacking services in one container brings back isolation problems and makes backups less granular.
  • Do not overprovision excessively. RAM/CPU that is allocated but unused still holds resources. Allocate according to actual needs, leaving room for spikes.
  • Back up outside the host. A failed Proxmox disk will not help even if a snapshot existed before.
  • In the future, Proxmox can be made into a cluster of several nodes for HA (high availability), but for a single homelab, one node plus separate backup is already solid.

Summary

Proxmox turns one server into a home for many isolated services that are easy to snapshot, move, and back up. Together with the previous parts, your homelab now has a full foundation: selected hardware, a VLAN-based network, self-hosted services, secure external access, monitoring, backup, and hardening.

The Homelab from Scratch series ends here. No infrastructure is ever truly finished; what exists is a foundation that is continuously maintained. Thank you for following along to the end, and happy homelabbing.

Image: Carl Lender, “Datacenter Server Racks” — CC BY 2.0, via Wikimedia Commons.

Open for Contributors

Your ideas deserve to be read by thousands of people.

ByteNesia is built for everyone. If you have experience, tutorials, or opinions about technology, write and share them here. Your name will be credited as a contributor.

Write anything: tool reviews, homelab tutorials, security tips, or your tech stories.

Discussion & Comments