Top 5 This Week

Related Posts

A beginner’s guide to setting up Proxmox

Virtual machines and containers are perfect for those who enjoy experimenting with different operating systems and self-hosting services on local hardware. While you could run VirtualBox or VMware Workstation Pro/Fusion Pro on your daily driver, bare metal hypervisors are better for advanced virtualization workloads.




If you have a spare PC lying around, you can leverage Proxmox to turn it into a dedicated home lab. In this detailed guide, we’ll explain everything you need to know about Proxmox.

Related

5 incredible things you can do with Proxmox

Some of these projects are easy to pull off, while others require a lot of blood, sweat, and tears

What’s Proxmox?

In the simplest terms, Proxmox is a virtualization platform that allows you to set up virtual machines and containers on your PC. Unlike VirtualBox and other Type-2 hypervisors, Proxmox leverages the Kernel Virtual Machine (KVM) module of Linux, meaning you’ll need to install it directly on the host system, rather than download it on top of an existing OS. While experts may argue about the exact classification, you can think of Proxmox as a Type-1 hypervisor wrapped in a neat Debian distro, which provides better performance and a myriad of virtualization features than its Type-2 rivals.


What’s more, Proxmox also supports Linux Containers (LXC). For the uninitiated, containers can be thought of as simplified, toned-down versions of virtual machines. Instead of replicating an entire OS, containers only include the bare minimum code and an OS environment to run a specific application. This makes them a lot faster, smaller, and more flexible than their VM counterparts.

Creating a bootable USB drive

Now that you know the basics of Proxmox, it’s time to begin the installation procedure. The first step involves writing Proxmox’s ISO file onto an external USB drive with the help of a flashing utility, like Rufus.

  1. Download the portable version of Rufus from the official link.
  2. Head to Proxmox’s website and download its latest ISO file.
  3. Run Rufus as an admin and choose your USB drive as the Device.
    The procedure to pick the Device in Rufus

  4. Click on the Select button under boot selection, pick the Proxmox ISO you downloaded earlier, and tap Open.
    The procedure to pick the Proxmox ISO in Rufus

  5. Press Start and wait for Rufus to write the Proxmox files on your USB drive.
    The Start button highlighted in Rufus


Changing the boot priority in the BIOS

Once Rufus is done creating the bootable USB drive, you can unplug it from your system and insert it into the spare PC. But before you can install Proxmox, you’ll need to modify the boot order in the BIOS to ensure your PC uses the newly flashed USB drive to launch into the Proxmox installer wizard.

  1. Power on your PC and mash the Del key as it boots up to enter the BIOS menu.
  2. Navigate to the Advanced Settings section and select the Boot Priority/Boot Order option.
  3. Ensure that the USB drive is selected as Boot Option #1.
    An image of the boot settings of the BIOS of MSI B450 Gaming Plus motherboard

  4. Exit the BIOS after saving the changes made to the boot settings.
    MSI BIOS save settings and reboot


Installing Proxmox

When the PC reboots, you’ll be greeted with the installation screen for Proxmox.

  1. Select Install Proxmox VE (Graphical).
    The Welcome page in the Proxmox installation procedure

  2. Hit I agree when Proxmox displays the EULA terms.
    The I agree button in the Proxmox installation wizard

  3. Choose your Storage drive and click Next.
    Adding a storage drive to Proxmox

    Be sure to hit Next after each step from here on out.

  4. Pick your Country, Time-zone, and Keyboard layout settings.
    The Country, Time-zone, and Keyboard layout settings in the Proxmox installation wizard

  5. Enter a suitable password alongside your email address.
    The email address and password in Proxmox installation wizard

  6. Type the Hostname (FQDN) for your Proxmox server and leave the other settings be.
    The option to select the Hostname in the Proxmox installation wizard

    If you have more than one networking device (like a WLAN card and a LAN interface) active during installation, make sure you pick the correct device under the Management Interface option.

  7. Double-check everything on the Summary page and press Install.
    The Install button highlighted in the Proxmox installation wizard


Launching the Proxmox web UI

Once Proxmox has finished installing, your PC will reboot into the newly-installed OS. Now’s the time to switch to your other system and access the Proxmox web UI.

  1. Launch your favorite web browser and type the IP address of your spare PC followed by a : (colon) and port number 8006 into the Address Bar.

    If you’re having trouble finding the IP address of your Proxmox server, you can use a network scanner like Nmap or Fing.

  2. Agree to proceed to the URL when your web browser cautions you about the connection not being private.
    The option to proceed to the URL in Chrome

  3. Enter root as the Username and type the Password you set in the installation wizard before clicking on the Log in button.
    The username and password options in the Proxmox web UI

Assuming you followed all the steps properly, the Proxmox Dashboard will appear on your web browser.


Creating virtual machines in Proxmox

Setting up virtual machines inside your Proxmox server may sound a little intimidating if you’re only familiar with Type-2 hypervisors. But you’ll be surprised at how easy it is to create your VMs in Proxmox.

  1. Click on local (user_name) storage under the primary node, select the ISO Images option, and press Download from URL.
    The procedure to download an ISO in the Proxmox web UI

  2. Paste the URL of the web page containing the ISO file of the OS you wish to use with the virtual machine, hit Query, and press Download.
    The procedure to download a VM in Proxmox

  3. Once the ISO file has finished downloading, click on the Create VM button.
    The Create VM button highlighted in the Proxmox web UI

  4. Hit Next inside the General tab.
  5. Under the OS settings, choose the ISO file you downloaded earlier.
    The procedure to pick an ISO file for a Proxmox VM

  1. Skip to the CPU tab and pick the number of Cores, Sockets, and other processor-related settings for the virtual machine.
    The CPU settings for a Proxmox VM

  2. Inside the Memory section, enter the amount of RAM you wish to allocate to the VM instance.
    The procedure to allocate memory in the Proxmox web UI

  3. Skip to the Confirm section and tap the Finish button.
    The Confirm tab in the Create VM section

  4. You can boot the VM by clicking on its Name under your primary node and pressing Start.
    The procedure to start a VM in Proxmox

  5. To use the virtual machine, click on Console.
    The procedure to access a VM in Proxmox


Creating containers in Proxmox

Similar to virtual machines, setting up containers on your Proxmox server is a pretty straightforward process. All you have to do is:

  1. Head back to the Local (user_name) storage pool and enter the CT Templates tab.
    The CT Templates tab highlighted in Proxmox

  2. Click on Templates and press Download after selecting your preferred container template.
    The procedure to add new container templates in Proxmox

  3. After Proxmox has finished downloading the template, click on the Create CT button.
    Creating a new container in Proxmox

  4. Set a Password for the container in the General tab.
    Setting a password for a Proxmox container

  5. Choose the Template’s ISO file you just downloaded inside the Template section.
    The procedure to select the template for a Proxmox container

  6. Skip to the CPU tab and allocate the ideal number of Cores for the container.
    The option to add CPU cores to a Proxmox container

  7. Similarly, set the amount of RAM the container will use in the Memory section.
    Allocating memory to a Proxmox container

  8. Switch to the Confirm section and click on Finish.
    The Confirm page that appears when setting up an LXC container in Proxmox

  9. Like the VM instance, select the container before launching it via the Start button and accessing it with the Console.
    The Start and Console buttons highlighted in the Proxmox web UI


Managing your home lab with Proxmox

When I first started using Proxmox a few weeks ago, I was blown away by how useful the platform really is. So far, I’ve been able to simultaneously access multiple VMs and containers on my aged Ryzen 5 1600 processor, a feat I considered impossible when using Type-2 hypervisors. That said, switching to an equally outdated dual-Xeon system helped, as the extra cores and memory provided even more headroom for all my self-hosted apps.


All that said, if you’re a complete beginner, then VirtualBox or VMWare Workstation Pro might be the better option. While they lack the superior performance and capabilities of a dedicated server, they’re quite simple to set up and work well for lighter workloads. For containers, you can try checking out CasaOS, which provides an easy UI for Docker-powered workloads.

Related

7 things you should do to secure your Proxmox home lab

Prevent hackers and malware from tampering with your Proxmox server by following these seven tips

#beginners #guide #setting #Proxmox

source: https://www.xda-developers.com/proxmox-guide/

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Popular Articles