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 a powerful open-source virtualization platform that combines KVM hypervisor and LXC containers. In this comprehensive guide, we'll walk through the installation and initial configuration of Proxmox VE 8 for your homelab.

    Prerequisites

    Before you begin, ensure 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
    

    Important: 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 will guide you through:

    1. Accept the EULA - Review and accept the license agreement
    2. Select Target Disk - Choose the disk for Proxmox installation
    3. Configure Location - Set timezone and keyboard layout
    4. Set Password - Create a strong root password
    5. Network Configuration - Configure hostname, IP address, gateway, and DNS

    Network Configuration Tips:

    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 clicking "Install," the process takes 5-10 minutes. The system will reboot automatically.

    First Login

    Access the Proxmox web interface:

    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

    Update your system to the latest packages:

    apt update && apt dist-upgrade -y
    

    2. Configure Storage

    Proxmox supports various storage types:

    • Local: Built-in storage on the host
    • ZFS: 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:

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

    4. Disable Enterprise Repository (Optional)

    If you're using the free version:

    # 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, Resource Pool
      • OS: Select ISO image
      • System: Default settings work for most cases
      • Disks: Allocate storage size
      • CPU: Assign cores based on 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:

    # 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:

    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 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:

    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 provides an excellent foundation for your homelab virtualization needs. With proper configuration and maintenance, you'll have a reliable platform for running multiple virtual machines and containers.

    Stay tuned for more advanced Proxmox tutorials covering clustering, high availability, and automation with Terraform!

    Resources