Proxmox VE, an open-source virtualization solution, provides virtualization capabilities through its open-source platform.
Jaimin Mehta
Senior Server Engineer at Meditab Group: Driving Innovation and Optimal Performance in Healthcare Technology Solutions
Are you in search of a budget-friendly hypervisor or keen on exploring virtual machines (VMs)? Proxmox VE, a cost-effective and flexible open-source hypervisor, is a compelling choice!
Proxmox VE allows you to configure hosted or bare metal servers and supports various operating systems, encompassing both Linux-based and Windows systems.
Get ready to explore the world of virtualization with Proxmox VE!
Prerequisites
This tutorial is designed as a practical, hands-on demonstration. To actively participate, ensure that you have the following prerequisites:
1. A USB drive for the installation of Proxmox VE.
2. A dedicated desktop or server computer designated for the Proxmox VE installation.
3. A client computer running Windows 10 Pro for managing the Proxmox VE server through the GUI.
4. An administrator account on the client computer and a shared folder named "installers" to store installation files.
5. An ISO image for the desired guest operating system.
Acquiring and Installing Proxmox VE
Proxmox VE provides a unified web-based UI for the management of VMs and containers. However, before delving into its features, the initial step involves downloading and installing Proxmox VE. This process can be accomplished through the following steps:
1. Launch your preferred web browser and navigate to the official download page of Proxmox.
Scroll down to locate the Proxmox VE ISO installers. Select the desired version and initiate the Download by clicking the designated Download button.
2. Next, create a bootable USB drive for the Proxmox VE ISO installer.
3. Plug your bootable USB drive into your Proxmox VE dedicated computer and fire it up.
4. Ensure the Install Proxmox VE option is selected in the installation media, as shown below, and press Enter to install Proxmox VE.
5. Now, accept the End User License Agreement (EULA) to proceed with the installation.
6. Click Next to proceed with the default options.
Below, the installer detects the target hard disk and assigns ext4 as the file system. But if you wish to select a different file system, click Options, choose your preferred file system, and click Next.
Are you looking for a hypervisor that does not break the bank? Or are you simply trying to learn about virtual machines (VMs)? Proxmox VE, an open-source (free) hypervisor for cost-efficient and flexible computing, is a must-try!
Proxmox VE lets you set up hosted or bare metal servers and can run different operating systems, including Linux-based and Windows.
Sit tight as you delve into virtualizing machines with Proxmox VE!
0 of 1 minute, 4 secondsVolume 0%
?
Next
Stay
Prerequisites
This tutorial will be a hands-on demonstration. To follow along, be sure you have the following:
Downloading and Installing Proxmox VE
Proxmox VE offers an integrated web-based UI where you can manage VMs and containers. But first things first, you have to download and install Proxmox VE. Downloading Proxmox VE is done in a few steps.
1. Open your preferred web browser, and visit Proxmox’s official download page.
Scroll down a bit to find Proxmox VE ISO installers, then choose and click the Download button to download the latest version.
2. Next, create a bootable USB drive for the Proxmox VE ISO installer.
3. Plug your bootable USB drive into your Proxmox VE dedicated computer and fire it up.
4. Ensure the Install Proxmox VE option is selected in the installation media, as shown below, and press Enter to install Proxmox VE.
5. Now, accept the End User License Agreement (EULA) to proceed with the installation.
6. Click Next to proceed with the default options.
Below, the installer detects the target hard disk and assigns ext4 as the file system. But if you wish to select a different file system, click Options, choose your preferred file system, and click Next.
7. Configure the country, time zone, and keyboard layout, and click Next.
8. Provide, and confirm the following information:
Providing a root password and valid email address
9. Under Management Network Configuration, click Next since the installer chooses the Management Interface automatically. But you can choose which one to use if you have two or more network interface cards.
The rest of the fields (Hostname, IP address, Gateway, and DNS Server) are automatically populated based on your network configuration.
10. Review the summary information of your selected settings, and click Install to install your Proxmox VE server.
11. Finally, remove the installation media (USB drive) when prompted.
After successful installation, your Proxmox VE server displays the Welcome to the Proxmox Virtual Environment message, as shown below.
Note down the URL below (yours may be different) and keep the server running. You will need this URL later in accessing the Proxmox VE server’s GUI.
Accessing the Proxmox VE Server’s GUI
The display on the server side is command based, which is fine if you are primarily working in a terminal. But if you prefer to manage the server effortlessly, you can pull up the Proxmox VE server’s GUI on another computer connected to the same network.
1. On your other computer, open your preferred web browser, and navigate to the URL you noted in the last step of the “Downloading and Installing Proxmox VE” section.
2. On Edge and Chrome, click Advanced → Continue (Edge) or Proceed (Chrome) to continue accessing the URL.
On Firefox, click Advanced → Accept the Risk and Continue.
3. Log in to Proxmox VE with the following:
4. When prompted, click OK, as shown below.
This message only says you do not have a valid subscription, which you do not need for this tutorial.
The image below shows a glimpse of the GUI, which confirms you have successfully logged in to Proxmox VE.
Creating a Network Storage for the Guest OS ISO Installers
Why let your local storage suffer when you can use network storage instead? The advantage of creating network storage is to save storage space on the local disk on your Proxmox VE server.
1. On your Proxmox VE server GUI, click Datacenter → Storage → Add → SMB/CIFS since the shared folder in this example is created in a Windows 10 computer.
2. Next, configure the network storage with the following:
ClickAddto finish creating the network storage.
领英推荐
Once added, you will see the network storage in the list, as shown below.
3. Open File Explorer and copy the ISO image for your guest OS.
4. Lastly, navigate to the shared installers/template/iso folder, and paste the ISO image for installing the guest OS into this directo
y.
Creating a Local Directory for ISO Images
Perhaps you own a heft storage space and prefer to upload your ISO images to a local directory instead. If yes, let Proxmox VE help you fill up your storage with images.
1. On your Proxmox VE server dashboard, click Datacenter → Storage → Add → Directory to initiate adding a directory.
2. Configure the new local directory with the following steps:
ClickAddto finalize creating your directory.
3. After creating a directory, expand your node (pve) → select your local directory (local-isos) → click on ISO Images → Upload to initiate uploading ISO imag
s.
4. Now, click Select File to locate the ISO image you wish to upload and cl
ck Upload.
Below, you can see the upload progress, which takes time to complete depending on the file size of the ISO image.
Creating a Virtual Machine
Now that you have either network storage or a local directory to source your ISO image, it is time to create a VM.
1. Return to your Proxmox VE server GUI and click Create VM (upper-right) to initiate creating a new VM in Proxmox VE.
2. On the General tab, configure the following:
3. Under the OS tab, select the Use CD/DVD disc image file (iso) option, and configure the following:
Suppose you need to establish an information exchange between the VM and the host, tick Qemu Agent (a helper daemon). In addition, if the guest OS requires TPM to run, tick Add TPM, select the Trusted Platform Module (TPM) Storage, and choose Version v2.0.
5. Configure the disk for the VM as follows:
ClickNextto continue.
To add more disks, click Add at the bottom-left side.
6. Next, on the CPU screen, indicate the number of sockets and cores to use, and click Next.
7. Configure the VM’s memory allocation under the Memory tab with the following:
ClickNextto continue.
8. Change the Model to VirtIO (paravirtualized) on the Network screen, and click Next.
This option makes guest-to-hypervisor transitions more efficient. But note that at the moment, below are the supported types of devices:
9. Review your selections, and click Finish to finalize creating the VM.
10. Lastly, expand your PVE node, and click your newly-created VM to display the VM options, as shown bel
w.
Starting a VM and Installing the Guest OS
You have just created your first VM in Proxmox VE. But your VM is empty right now and is not even started yet.
There are three methods to start a VM. The first method is when you tick the Start at boot option during the VM creation. But in this example, you will go through the other two methods.
Start your VM with either of the following:
If you cannot start the VM for the first time, look for and double-click an error message at the bottom of the Server’s GUI to launch the Task Viewer window with the specific error.
As you can see below, there is a Kernel-based Virtual Machine (KVM) error. Close the Task Viewer window after reading the error.
KVM hardware virtualization is only supported in Linux-based virtual environments. If you are running Proxmox VE inside Hyper-V and possibly other hypervisors, KVM is not supported.
To address the KVM virtualization error:
If you installed Proxmox VE on a physical machine, refer to your motherboard’s manufacturer on how to enable hardware virtualization in the BIOS/UEFI settings.
Now, install the guest OS on your VM once it starts and boots to the ISO image you selected during the VM creation (i.e., Windows).
You can see below that installing the guest OS inside the VM is similar to how you install an OS on a physical comput
Helping SaaS founders bring their cloud costs down and improve development experience and development velocity.
1 年I can vouch for proxmox!
Lead- Talent Acquisition at Collabera | Top Volunteering Voice | Building Elite Teams | 2021 & 2022 President's Club Winner @ Collabera | Professional IT and Non IT Recruiter
1 年Great post! Proxmox VE seems like a fantastic option for both tech enthusiasts and businesses seeking cost efficiency in virtualization. I'm definitely curious to learn more about its flexibility and potential benefits. Thanks for sharing!
Solution Architect | Customer Trusted Advisor | Cloud Specialist
1 年Very crisp and concise information