How To Install Virtualmin on Ubuntu 20.04

Install Virtualmin on Ubuntu 20.04

In this article, we will have explained the necessary steps to install and configure Virtualmin on Ubuntu 20.04 LTS. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

Webmin is a web-based control panel that helps you set up a user account, Apache, DNS, and file sharing. It is very user-friendly and easy to configure. Webmin uses a plugin called Virtualmin to simplify the management of multiple virtual hosts through a single interface, similar to cPanel or Plesk.

Install Virtualmin on Ubuntu 20.04

Step 1. First, before you start installing any package on your Ubuntu server, we always recommend making sure that all system packages are updated.

sudo apt update
sudo apt upgrade

Step 2. Setup Hostname.

Now setup hostname your Ubuntu using the following command:

sudo hostnamectl set-hostname

Step 3. Install Virtualmin on the Ubuntu system.

Now let’s download the script installer from the official website:


Now change make this installer script executable:

chmod a+x

Next, start the installation:

sudo ./

Step 4. Configure Firewall.

You may need to open the port 10000 on the server. Because by default the Virtualmin will listen to the port Virtualmin:

sudo ufw allow 10000
sudo ufw allow http
sudo ufw allow https

Step 4. Accessing Virtualmin Interface.

Finally, you can access your Virtualmin panel using the URL http://your-server-ip:10000.

Install Virtualmin on Ubuntu 20.04

That’s all you need to do to install Virtualmin on Ubuntu 20.04 LTS Focal Fossa. I hope you find this quick tip helpful. For further reading on Install Virtualmin open-source web hosting and cloud control panels, please refer to their official knowledge base. If you have questions or suggestions, feel free to leave a comment below.