How To Install Proxmox on Your Webdock Server
Last updated: July 29th 2024
Introduction
Proxmox is an open-source server virtualization software for creating containers and virtual machines on a server or bare-metal machine. It comes with a feature-rich web interface from where you can manage the containers, virtual machines, networking, and such.
In this article, we provide instructions for installing Proxmox VE 8 on your Webdock server.
Let's get started!
Pre-requisites
- A KVM machine with Debian 12 (Debian Bookworm) clean OS as the image.
- SSH access to your server
Note: Proxmox works only on Webdock KVM servers, not on legacy LXD servers.
Setting Root User Password
By default, on Webdock servers the root user password is not set. Setting root password is absolutely necessary as we'll be using that to log into Proxmox web interface.
Switch to root:
$ sudo su
Then set the password using:
# passwd
Now moving on to actual instructions for installing Proxmox.
Updating Hosts Entry
First, update the /etc/hosts file with the hostname and the IP address of your server. This will make sure that hostname resolution works correctly. To edit the hosts file, you can use nano.
$ sudo nano /etc/hosts
Now, replace the contents of the file with the alias/domain you want to use for Proxmox and the IP address in the respective field. Your hosts file should look similar to this:
45.148.31.142 proxmox proxmox.vps.webdock.cloud 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters
Verify if the hostname is applied correctly.
$ hostname --ip-address 45.148.31.142 # should return your server's public IP address here
Setting Up Proxmox Repository
To begin, switch to the root user using sudo.
$ sudo su -
Add Proxmox VE repository.
# echo "deb [arch=amd64] http://download.proxmox.com/debian/pve bookworm pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list
Fetch the repo key:
# wget https://enterprise.proxmox.com/debian/proxmox-release-bookworm.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg
Now upgrade the system.
# apt update && apt full-upgrade
Installing Proxmox VE Kernel
Now install the Proxmox kernel as some packages won't work properly without this.
# apt install proxmox-default-kernel
Now reboot the machine.
# reboot
Installing Proxmox Packages
Now that we have set up the repository and installed the Proxmox kernel, it's time to install the actual Proxmox virtualization and other required packages.
# apt install proxmox-ve postfix open-iscsi chrony
During the installation, when prompted for mail configuration you can select the option you'd want to go with. For this article, I chose "No configuration". The installation process will take some time.
Fixing Package Configuration Error
Note: Skip to the next section if you have not seen any errors during Proxmox installation.
If you have seen any errors related to dpkg not being able to configure some packages, like shown in the below image, do the below 3 steps.
Step 1: If you see that error, reboot your server and then do an apt fix to reconfigure the installed packages.
# reboot
Step 2: After the reboot, run the below command to configure the packages.
# apt -f install
Step 3: Once done, again reboot the server
# reboot
Removing the Debian Kernel
Proxmox installs its own kernel, so we need to remove the default kernel that comes with Debian to avoid any issues with upgrades in the future. This replaces the current kernel with the PVE kernel.
# apt remove linux-image-amd64 'linux-image-6.1*'
Finally, update the grub by running:
# update-grub
Final Step: Removing the os-prober package
Proxmox documentation recommends removing the os-prober package as well as it scans for grub entries for the existence of other operating systems and adds them to the grub entries, and this will include the guest VMs you create within Proxmox. To prevent this we remove the os-prober package, and this is completely safe to do and nothing breaks :)
# apt remove os-prober
Accessing Proxmox Web Interface
Proxmox provides a web interface on port 8006. To access it visit https://<server alias or IP address>:8006. Ignore any SSL warnings you see.
If everything is good, you will see this login page.
To log in, enter 'root' for the username and the password you set earlier. Leave the other fields as is.
Conclusion
This article provided instructions on how you can install Proxmox on Webdock KVM servers.
Related articles
-
How to install OpenLiteSpeed on Webdock
In this article we show you how you can install the OpenLiteSpeed web server on Ubuntu Jammy.
Last updated: March 29th 2023
-
How to Deploy your First Node.js Application on your Ubuntu Web Server
Deploy a Node.js application on your Ubuntu server and how to issue SSL certificates for your Node application.
Last updated: July 19th 2023
-
How to set up WireGuard on your Webdock Server
This article details how you can quickly and easily install WireGuard on your Webdock Server.
Last updated: July 21st 2024
-
How to set up OpenVPN on your Webdock Server
This article details how you can quickly and easily set up a VPN on your Webdock server.
Last updated: November 10th 2022
-
How to Install and configure aaPanel on Ubuntu
Install aaPanel on Ubuntu as well as building a LEMP stack, pointing your domain to your server and setting SSL certificates with Let's Encrypt.
Last updated: November 10th 2022
-
How to install azuracast on Webdock
This guide shows you how to work around certain issues when installing azuracast on Webdock.
Last updated: November 10th 2022
-
How to set up Runcloud on Webdock
This article details the steps you need to go through in order to install Runcloud on a Webdock server.
Last updated: July 29th 2024
-
How to set up cPanel on Webdock
This article details the steps you need to go through in order to install cPanel on a Webdock server.
Last updated: September 23rd 2024
-
How to set up Gridpane on Webdock
This article details the steps you need to go through in order to install Gridpane on a Webdock server.
Last updated: November 10th 2022
-
How to set up Ploi on Webdock
This article details the steps you need to go through in order to install Ploi on a Webdock server.
Last updated: November 10th 2022
-
How to set up Laravel Forge on Webdock
This article details the steps you need to go through in order to install Laravel Forge on a Webdock server.
Last updated: November 10th 2022
-
How to set up Plesk on Webdock
This article details the steps you need to go through in order to install Plesk on a Webdock server.
Last updated: November 10th 2022
-
How to set up Cyberpanel on Webdock
This article details the steps you need to go through in order to install Cyberpanel on a Webdock server.
Last updated: December 9th 2023
-
How to set up SpinupWP on Webdock
This article details the steps you need to go through in order to installSpinupWP on a Webdock server.
Last updated: March 15th 2023
-
How to set up DirectAdmin on Webdock
This article details the steps you need to go through in order to install DirectAdmin on a Webdock server.
Last updated: September 1st 2023
-
How to set up Hestia on Webdock
This article details the steps you need to go through in order to install Hestia on a Webdock server.
Last updated: November 10th 2022
-
How to set up Virtualmin on Webdock
This article details the steps you need to go through in order to install Virtualmin on a Webdock server.
Last updated: November 10th 2022
-
How to install and create pipelines in Jenkins
This guide describes the step-by-step procedure of installing Jenkins and creating pipelines in Jenkins.
Last updated: November 10th 2022
-
Basic WordPress site setup with aaPanel
In this guide, we will install and setup a basic WordPress site with aaPanel.
Last updated: January 23rd 2023
-
How to use Nginx as reverse proxy and secure connections with SSL certificates
Using Nginx to proxy pass your site with SSL security.
Last updated: July 19th 2023
-
Setting up monitoring with Netdata on your Webdock server
Setting up monitoring on your server to receive alerts and to know real-time resource consumption on your server.
Last updated: July 19th 2023
-
How to Setup Python Web Application With Flask Gunicorn and Nginx
A simple Python Flask web app hosting with Gunicorn and Nginx
Last updated: July 19th 2023
-
How to Daemonize an Application with Systemd
Using systemd to autostart your application on system startup.
Last updated: July 19th 2023
-
Set-up New Relic Monitoring on Your Webdock Server
This guide provides step-by-step instructions to install New Relic to monitor your VPS.
Last updated: July 29th 2024
-
Getting Started with Ruby on Rails on Webdock
In this guide, we will show you how to get started with Ruby on Rails on your Webdock server
Last updated: July 19th 2023
-
How to Install VaultWarden on Your Webdock Server
This guide provided step-by-step instructions to Vaultwarden, an open-source Password Manager on your Webdock Server.
Last updated: July 19th 2023
-
How to Install the Latest Version of HTOP on Ubuntu Server
Instructions to install latest htop package on your Ubuntu server
Last updated: July 29th 2024
-
How to Install ImageMagick 7 on Ubuntu LEMP/LAMP stacks
Simple instructions to install ImageMagick 7 along with the PHP extension
Last updated: November 1st 2023
-
A Quick Guide to Installing Rust on Ubuntu
Instructions to install Rust
Last updated: December 18th 2023
-
How To Run Nextcloud on Your Webdock Ubuntu Server
Instructions to Install Nextcloud on your server with Docker
Last updated: February 13th 2024
-
The Ultimate Guide to Setting Up Mastodon server
A detailed guide with instructions to set up Mastodon on your Webdock server
Last updated: February 20th 2024
-
A Guide To Setting Up Mindustry Game Server on Ubuntu
Step-by-step instructions to set up your own Mindustry server
Last updated: November 4th 2024
-
A Guide to Installing ERPNext on Your Webdock Server
Step-by-step instructions to install ERPNext - a resource planning software - on your server
Last updated: May 28th 2024
-
A Beginner's Guide to Installing Apache Kafka on Ubuntu
Detailed instructions to get Kakfa running on Ubuntu!
Last updated: June 20th 2024
-
A Quick Guide To Installing Rocket Chat on Ubuntu
Instructions to install Rocket Chat on your Ubuntu server
Last updated: July 2nd 2024
-
How to Install Ghost CMS on a Webdock Server
Easily install Ghost CMS on your Webdock server with these instructions!
Last updated: September 2nd 2024
-
How to Install cPanel on a Webdock Ubuntu Server
Instructions for setting up cPanel on an Ubuntu server
Last updated: September 23rd 2024