Proxmox VE 8 Setup & Configuration

,

THIS ARTICLE IS UNDER DEVELOPMENT

This article covers installing and setting up a Proxmox VE version 8.

Outdated yet informative video on Proxmox Setup ‘https://www.youtube.com/watch?v=GoZaMgEgrHw&t=148s

Associated (also outdated) write up on Proxmox Setup ‘https://technotim.live/posts/first-11-things-proxmox/

 

Install Proxmox VE

Download and verify SHA256 of the latest version of Proxmox VE (Virtual Environment)

Use Rufus portable to create a bootable USB flash drive using the downloaded and verified latest Proxmox ISO.

Boot to USB and install Proxmox adjusting the settings as needed.

 

Configure Proxmox Updates

You’ll either have to subscribe and pay to obtain the latest stables updates (recommended) or use the free unstable and unofficial updates. Of course the unstable and unofficial updates are risky. One would not want to rely on them for a production, commercial or mission critical computer.

To enable the use of unstable and unofficial updates we will need to edit two files on our Proxmox VE. To edit these files we can either SSH into it or use a browser to access the Proxmox VE Graphic User Interface.

Accessing Proxmox via SSH on Windows

Using a Windows 11 PC, open a command prompt and enter ssh root@0.0.0.0 (where 0.0.0.0 is the IP address of your Proxmox computer). Enter the root password when prompted. This is where you will want to enter the commands provided below.

Accessing Proxmox via Web Browser

Open a Web Browser on your computer and visit the IP address of your Proxmox computer. From there, select the pve located under Datacenter from the left navigation menu. To the right will be a new navigation menu where you can select Shell. This is where you will want to enter the commands provided below.

Add Unstable & Unofficial Updates

Edit the sources.list file to point to the unstable updates repository. Do so by entering the following command:

nano /etc/apt/sources.list

Once that file is open, add the following text:

# updates, unofficial. Not for production use.
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription

Save the updated file CTRL+S, then exit the editor CTRL+X.

Next, since we don’t have a subscription, we’ll want to disable the enterprise and ceph update repository checks to prevent error messages from appearing while attempting to perform an update.

Disable Enterprise Repository Update Checks

To do this we’ll want to edit the pve-enterprise.list file. To access this file enter the following command:

nano /etc/apt/sources.list.d/pve-enterprise.list

Within the editor comment out the first line by adding a # to the beginning like so:

#deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise

Save the updated file CTRL+S, then exit the editor CTRL+X.

Disable Ceph Enterprise Repository Update Checks

Finally we will want to edit the ceph.list file. To access this file enter the following command:

nano /etc/apt/sources.list.d/ceph.list

Within the editor comment out the first line by adding a # to the beginning like so:

#deb https://enterprise.proxmox.com/debian/ceph-quincy bookworm enterprise

Save the updated file CTRL+S, then exit the editor CTRL+X.

Reboot

Reboot the Proxmox VE machine by entering the following command: reboot

Perform Updates

With the Proxmox VE machine back up and running lets try updating it using the following commands:

apt-get update

The above command will check for updates. Now to actually install the updates use the following command:

apt dist-upgrade

If prompted to install updates, select Y for Yes.

Remove Old Packages

Finally you will want to remove any unneeded packages using the following command:

apt autoremove [package-name-here]

In my case Proxmox stated:

“The following package was automatically installed and is no longer required:
pve-kernel-6.2

This was the command I used to remove it followed by a confirmation Y/n entry:

apt autoremove pve-kernel-6.2

Reboot

You may now reboot your updated (albeit with unofficial updates) Proxmox VE computer by entering the following command: reboot

 

Hide Proxmox Subscription Notice

I support Proxmox and recommend subscribing to their service. However, I simply wish to setup s test environment so a subscription isn’t needed.

The steps listed below will assist with hiding the “No valid subscription” popup notice when you sign in or check for (unofficial) updates.

You may use either SSH or the Shell console via the web interface to make the needed changes.

Note, if there is ever an update to the proxmox-widget-toolkit package you will need to complete these steps again. See John McLaren’s one-command execution below.

  • Backup proxmoxlib.js by opening the proxmox-widget-toolkit directory using the following command:

cd /usr/share/javascript/proxmox-widget-toolkit

  • Create a backup copy of proxmoxlib.js using the following command:

cp proxmoxlib.js proxmoxlib.js.bak

  • Open the built-in nano editor and open proxmoxlib.js using the following command:

nano proxmoxlib.js

  • Within the nano editor, open the search prompt by pressing F6 (if using web console) or CTRL+W (if using SSH) then search for ‘No valid subscription’
  • On the line above where ‘No valid subscription‘ is listed, replace ‘Ext.Msg.show({‘ with ‘void({‘ (see screenshot below).
  • Save the updated file CTRL+S, then exit the editor CTRL+X.
  • Lastly, simply reboot your Proxmox server using the reboot command
    • You may also need to clear your browser cache.

Restoring the “No valid subscription” Popup

Simply restore the backup copy of proxmoxlib.js using the following command:

mv proxmoxlib.js.bak proxmoxlib.js

Alternatively, you may reinstall the proxmox-widget-toolkit package from the repository using the following command:

apt-get install –reinstall proxmox-widget-toolkit

Hide Proxmox Subscription Notice with One Command

Apparently running the following one line command and rebooting your server will achieve the same results as above. Special thanks to John McLaren for the one command code below (not tested):

sed -Ezi.bak “s/(Ext.Msg.show\(\{\s+title: gettext\(‘No valid sub)/void\(\{ \/\/\1/g” /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl

Don’t forget to reboot your Proxmox server after executing the above command.

 

Sections Under Development

How to configure Proxmox storage (ZFS + RAID10)
How to setup SMART monitoring with proxmox
How to turn on PCI Passthrough with Proxmox (IOMMU)
How to use VLANs with Proxmox and VLAN Aware
How to set up a NFS share with Proxmox
How to upload Windows / Linux ISOs to Proxmox
How to schedule backups with Proxmox
How to backup a virtual machine on Proxmox (initial backup)
How to restore a virtual machine from a backup on Proxmox
How to create a NIC team (LACP, LAG) on Proxmox
x How to set up an aggregate (LACP, Team) on Unifi Switch Pro
How to edit your NIC bond in Proxmox for NIC teaming
How to create a virtual machine template on Proxmox
How to clone a virtual machine in Proxmox
How to fix Proxmox Linux clone NIC, machine ID, and ssh keys after cloning
How to create a Proxmox Cluster

 

Conclusion

I hope my article covering how to setup and configure a Proxmox VE computer has helped you. I welcome your thoughts, questions or suggestions regarding this article.

You may support my work and future improvements by sending me a tip using your Brave browser or by sending me a one time donation using your credit card.

Let me know if you found any errors within my article or if I may further assist you by answering any additional questions you may have.