Mr.PlanB Logo

    Newsletter

    Subscribe our newsletter

    Get new infrastructure guides, comparison reports, and migration notes in your inbox.

    Infrastructure notes, guides, and new tools. Unsubscribe anytime.

    Back to Blog
    Proxmox
    Tutorial
    Homelab

    Getting Started with Proxmox VE 8

    January 15, 2024
    8 min read

    Proxmox Virtual Environment (VE) is an open-source virtualization platform that combines the KVM hypervisor and LXC containers. This guide walks through the installation and initial configuration of Proxmox VE 8 for your homelab. (For the current Proxmox VE 9.1 release, see our updated install guide.)

    The Proxmox First-Timer Panic: Why You Must Build It Twice

    Prerequisites

    Before you begin, make sure you have:

    • A dedicated physical server or compatible hardware
    • At least 2GB of RAM (4GB+ recommended)
    • 64-bit CPU with virtualization support (Intel VT or AMD-V)
    • Stable network connection
    • USB drive for installation media (8GB minimum)

    Downloading Proxmox VE

    1. Visit the official Proxmox website at proxmox.com
    2. Navigate to the Downloads section
    3. Download the latest Proxmox VE ISO installer
    4. Verify the ISO checksum for security

    Creating installation media

    Use tools like Rufus (Windows), Etcher (cross-platform), or dd (Linux) to create bootable USB media:

    # Linux/macOS example
    sudo dd if=proxmox-ve_8.x.iso of=/dev/sdX bs=1M status=progress
    

    Double-check this part: replace /dev/sdX with your actual USB drive identifier.

    Installation process

    Step 1: Boot from USB

    1. Insert the USB drive into your server
    2. Enter BIOS/UEFI settings (usually F2, F12, or Del key)
    3. Set USB as the primary boot device
    4. Save and exit BIOS

    Step 2: Proxmox installer

    The Proxmox installer guides you through these screens:

    1. Accept the EULA: review and accept the license agreement
    2. Select the target disk: choose the disk for the Proxmox installation
    3. Configure location: set the timezone and keyboard layout
    4. Set a password: create a strong root password
    5. Network configuration: set the hostname, IP address, gateway, and DNS

    A typical homelab network configuration looks like this:

    Hostname: pve.homelab.local
    IP Address: 192.168.1.100/24
    Gateway: 192.168.1.1
    DNS: 192.168.1.1
    

    Step 3: Complete installation

    After you click "Install," the process takes 5-10 minutes, and the system reboots automatically when it finishes.

    First login

    To reach the Proxmox web interface from another machine:

    1. Open a browser on your network
    2. Navigate to https://YOUR_SERVER_IP:8006
    3. Accept the self-signed certificate warning
    4. Login with username root and your configured password

    Initial configuration

    1. Update Proxmox

    Bring the system up to the latest packages with a full upgrade:

    apt update && apt dist-upgrade -y
    

    2. Configure storage

    Proxmox supports several storage types:

    • Local: built-in storage on the host
    • ZFS: an advanced filesystem with data integrity features
    • Ceph: distributed storage for clusters
    • NFS/SMB: network-attached storage

    3. Upload ISO images

    To create VMs, you'll need ISO images uploaded to a storage location:

    1. Navigate to Datacenter → Storage → local
    2. Click "ISO Images" → "Upload"
    3. Select your ISO files

    4. Disable the enterprise repository (optional)

    If you're using the free version without a subscription, switch to the no-subscription repository:

    # Comment out enterprise repo
    sed -i 's/^deb/#deb/' /etc/apt/sources.list.d/pve-enterprise.list
    
    # Add no-subscription repo
    echo "deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list
    
    apt update
    

    Creating your first VM

    1. Click "Create VM" in the top-right corner

    2. Configure the VM settings:

      • General: name and resource pool
      • OS: select the ISO image
      • System: the default settings work for most cases
      • Disks: allocate the storage size
      • CPU: assign cores based on the workload
      • Memory: allocate RAM (2GB minimum for most OS)
      • Network: bridge to vmbr0
    3. Review settings and click "Finish"

    4. Start the VM and open the console to begin installation

    Network configuration

    Proxmox uses Linux bridges for networking. The default bridge is defined like this:

    # Default bridge configuration in /etc/network/interfaces
    auto vmbr0
    iface vmbr0 inet static
        address 192.168.1.100/24
        gateway 192.168.1.1
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0
    

    Best practices

    Security

    • Change the default root password regularly
    • Enable two-factor authentication (2FA)
    • Use firewall rules to restrict access
    • Keep Proxmox updated

    Backups

    Configure automated backups from the Datacenter view:

    1. Navigate to Datacenter → Backup
    2. Click "Add" to create a backup job
    3. Schedule regular backups (daily recommended)
    4. Store backups on separate storage

    Resource management

    • Don't over-allocate resources
    • Monitor CPU and memory usage
    • Use resource pools for better organization
    • Implement HA (High Availability) for critical VMs

    Troubleshooting common issues

    Can't access the web interface

    • Verify IP address configuration
    • Check firewall rules
    • Ensure port 8006 is open

    VM won't start

    • Check resource availability
    • Verify storage is accessible
    • Review system logs: journalctl -xe

    Network connectivity issues

    • Verify bridge configuration
    • Check physical network cable
    • Confirm VLAN settings if applicable

    Next steps

    Now that you have Proxmox installed and configured, here are some things to explore:

    1. Explore container (LXC) capabilities
    2. Set up ZFS pools for advanced storage
    3. Configure backups and snapshots
    4. Implement monitoring with Prometheus/Grafana
    5. Create templates for quick VM deployment

    Conclusion

    Proxmox VE 8 is a solid foundation for homelab virtualization. With proper configuration and maintenance, it gives you a reliable platform for running multiple virtual machines and containers. More advanced Proxmox tutorials covering clustering, high availability, and automation with Terraform are on the way.

    Resources