Installing Proxmox VE

From Server rental store
Revision as of 10:00, 13 April 2026 by Admin (talk | contribs) (New server guide)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Installing Proxmox VE

This guide provides a comprehensive, step-by-step tutorial on how to install and configure Proxmox Virtual Environment (Proxmox VE), a powerful open-source server virtualization management platform. Proxmox VE allows you to manage virtual machines (VMs) and containers (LXC), offering a flexible and efficient solution for your server infrastructure.

Introduction

Proxmox VE is based on Debian Linux and integrates KVM for virtual machines and LXC for containers. It provides a web-based interface for easy management, including features like live migration, high availability, and integrated backup solutions. This tutorial assumes you have a basic understanding of Linux command-line operations.

Prerequisites

Before you begin the installation, ensure you have the following:

  • Hardware:
    • A compatible 64-bit server.
    • Minimum 2 GB RAM (4 GB or more recommended for production use).
    • Sufficient disk space for the operating system and your virtual environments.
    • A network interface card (NIC). For optimal performance with demanding workloads, consider dedicated GPU servers available at Immers Cloud.
  • Installation Media:
    • A Proxmox VE ISO image downloaded from the official Proxmox website.
    • A USB drive or DVD to create bootable installation media.
  • Network Configuration:
    • A static IP address for the Proxmox VE server.
    • The IP address of your DNS server.
    • The hostname for your Proxmox VE server.
    • A gateway IP address.

Step-by-Step Installation

Follow these steps to install Proxmox VE from the ISO image.

1. Boot from Installation Media

  1. Insert the bootable USB drive or DVD into your server.
  2. Reboot the server and configure your BIOS/UEFI to boot from the installation media.
  3. Once the server boots from the media, you will see the Proxmox VE installer menu.

2. Select "Install Proxmox VE"

  1. From the GRUB boot menu, select the option to Install Proxmox VE and press Enter.

3. Accept the End-User License Agreement (EULA)

  1. Read the EULA carefully.
  2. Click I Agree to proceed.

4. Select Target Disk

  1. Choose the disk where you want to install Proxmox VE.
  2. Important: All data on the selected disk will be erased.
  3. Click Next.

5. Configure Disk Options

  1. For most users, the default options are suitable.
  2. Filesystem: ZFS is recommended for its advanced features like snapshots and data integrity, but requires more RAM. ext4 is a simpler, widely compatible option.
  3. ZFS Options: If you choose ZFS, you can select the RAID level (e.g., mirror for redundancy).
  4. Click Next.

6. Configure Location and Timezone

  1. Select your Country, Timezone, and Keyboard Layout.
  2. Click Next.

7. Network Configuration

  1. This is a critical step. Ensure you have a static IP address planned.
  2. Hostname: Enter a fully qualified domain name (FQDN) for your server (e.g., `pve.yourdomain.local`).
  3. IP Address: Enter the static IP address for your Proxmox VE server (e.g., `192.168.1.100`).
  4. Subnet Mask: Enter your network's subnet mask (e.g., `255.255.255.0`).
  5. Gateway: Enter your network's gateway IP address (e.g., `192.168.1.1`).
  6. DNS Server: Enter the IP address of your DNS server (e.g., `192.168.1.1`).
  7. Click Next.

8. Set Root Password

  1. Enter a strong password for the root user. This password will be used to log in to the Proxmox VE web interface.
  2. Confirm the password.
  3. Click Next.

9. Review and Install

  1. Review all the configuration settings.
  2. If everything is correct, click Install.
  3. The installation process will begin. This may take some time.

10. Reboot

  1. Once the installation is complete, you will be prompted to reboot the server.
  2. Remove the installation media and click Reboot.

Post-Installation Configuration

After the server reboots, you can access the Proxmox VE web interface.

1. Accessing the Web Interface

  1. Open a web browser and navigate to the IP address of your Proxmox VE server, prefixed with `https://` and followed by port `8006`.
  2. For example: https://192.168.1.100:8006
  3. You will see a security warning because of the self-signed certificate. Proceed by clicking "Advanced" and then "Accept the Risk and Continue".

2. Logging In

  1. Username: `root`
  2. Password: The password you set during installation.
  3. Click Login.

3. Updating Proxmox VE

It's highly recommended to update your Proxmox VE installation to the latest stable version.

  1. In the web interface, navigate to Node -> Updates.
  2. Click Refresh list.
  3. If updates are available, click Upgrade all.
  4. You can also perform updates via the command line:
# apt update
# apt dist-upgrade -y

4. Configuring Repositories

By default, Proxmox VE uses the enterprise repository, which requires a subscription. For non-production environments, you can switch to the no-subscription repository.

  1. Via Web Interface:
  2. Navigate to Node -> Repositories.
  3. You will likely see the enterprise repository listed. You can disable it or remove it.
  4. Click Add -> No-Subscription.
  5. Fill in the details:
  6. * URL: `http://download.proxmox.com/debian/pve`
  7. * Distribution: `pve-no-subscription`
  8. * Components: `main`
  9. Click OK.
  10. You will need to refresh the updates list again after changing repositories.
  1. Via Command Line:
  2. Edit the sources.list file:
# nano /etc/apt/sources.list
  1. Comment out or remove the enterprise repository line.
  2. Add the no-subscription repository:
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
  1. Save the file and then run:
# apt update

5. Basic Network Configuration (Optional)

You can further refine your network settings through the web interface.

  1. Navigate to Node -> Network.
  2. Here you can configure additional network devices, bridges, etc.

Troubleshooting

  • Cannot access web interface:
    • Ensure the Proxmox VE server is powered on and has a valid IP address.
    • Check your firewall rules to ensure port 8006 is open.
    • Verify the network configuration during installation was correct.
    • Try pinging the Proxmox VE server from another machine on the same network.
  • Installation fails:
    • Double-check hardware compatibility.
    • Ensure the ISO image is not corrupted.
    • Try a different USB drive or DVD.
  • Updates fail after changing repositories:
    • Make sure you have commented out the enterprise repository correctly.
    • Verify the URL and distribution for the no-subscription repository are accurate.
    • Run `apt update` again after any changes.

Further Reading