How to Install Webmin on Ubuntu 20.04 A Step-by-Step Guide
How to Install Webmin on Ubuntu 20.04 A Step-by-Step Guide

How to Install Webmin on Ubuntu 20.04: A Step-by-Step Guide

For every LAN network and server, you need a system configuration tool to manage all your servers connected with your LAN network. There’s no shortage of system configuration tools on the internet, especially if we talk about Linux-based operating systems. Webmin is one of them. 

Webmin is one of the most used Linux-based system configuration software for Ubuntu or any kind of Linux-based OS. However, its installation might not be easy for a newbie in Ubuntu. That’s why, in this article, we’ve written an ultimate step-by-step guide on how you can install Webmin on the latest Ubuntu 20.04.

Continue reading the article:

What is Webmin?

Before getting into our guide, let’s take a look at what Webmin is and how it works? Webmin is a Perl-based system that runs its process and servers. The software is a web-based UI for system administration designed to work with Unix or Linux-based operating systems. For example, you can use Webmin in your LAN or MAN network, where Webmin lets you manage and communicate with all of your servers from one PC. The system also allows you to control multiple servers from each interface. You will need to install the Webmin client on your servers and access the control panel in your main system PC through any modern web browser. 

How to Access Webmin?

You can access your Webmin dashboard from any modern web browser. You can connect and control your servers through the dashboard, but make sure the client Webmin is installed on your server. There’re many ways of configuring your servers for logging in, but we highly recommend using SSL configuration to have a secure login in your servers. However, you can also use the TCP port for better security.

Things to Consider Before Installing Webmin on your Ubuntu

Below are the requirements that your system needs to fulfill to make sure Webmin works fine in your system using this guide:

  • You must have Ubuntu 20.04 based server
  • Having Putty application which is an open-source software
  • Commands to install Webmin / Virtualmin

In Our case, we are using a server from Contabo for this tutorial, Step up your server and install Ubuntu 20.04 on it.

Step 1 | First Create a VPS Server

Go to Contabo and choose your required server according to your websites needs, after receiving server details including server IP address and root and root password (normally within 30 minutes).

Open Putty application, enter the IP of the server and port 22 choose SSH connection type then click the open button.




Step 2 | Log in as Root Over SSH 

After connection with the server using the SSH port, now we need to log in as a root user. In login As >> Type root and then for password copy and paste it in commands panel using mouse right-click.


If things go right, you will see a welcome message like this below.



Step 3 | Install the Webmin

Now we reached our most important step in installing Webmin, we need to run these two commands.

sudo /bin/sh

Copy and paste them using mouse right-click to ensure no error with typing.

The minimum size for installation of Webmin is 650 MB. Also, the server must have at least 1GB of RAM.

The installation process run through 3 phases:

Phase 1: Setup
Phase 2: Installation
Phase 3: Configuration

The process usually takes 15 minutes to have a complete Webmin panel installation.

After Complete installation, you will see this success message:-


You will receive a security warning in your browser on your first visit, do not worry about that just click on advanced then proceed to the panel.




Step 1 | Install Webmin

Webmin can run on the previous server’s package, but it’s better to use Webmin on the latest server’s box. Therefore, you can check for the newest version by the following command:

sudo apt update

Step 2 | Add Webmin Repository 

Now after updating the package of your server, you need to install Webmin’s repository, which will be used for installing and updating the Webmin system. We achieve that by adding it to the /etc/apt/sources.list file.

Open the file in your favored editor. Here, we’ll use nano:

sudo nano /etc/apt/sources.list

At the bottom, add this command to add the repository in your server:

. . .
deb sarge contrib

Save the file and exit the editor. If you used nano, do so by pressing CTRL+XY, then ENTER.

Step 3 | Download the Webmin PGP

Next, you must add the PGP key to Webmin so that your system with the purpose of trusting the current repository. To achieve that, you must set up the gnupg1 bundle, which is GNU’s tool with the aim of secure connection and data storage.

Now, you need to download Webmin’s PGP key. Download it by using wget and add the key to your list of keys in that server:

wget -q -O- | sudo apt-key add

Step 4 | Update the Package

After that, we need to use the update command again to update your current system list of packages with the intention to include the latest Webmin repository:

sudo apt update

Step 5 | Install the Webmin

Once the update is finished, you can then install the Webmin on your server. To install the Webmin, enter the command:

$ Sudo apt install Webmin

The system will automatically install all the resources and essential components themselves. If the installation gets successful, you’ll get the following display:

Webmin install complete. You can now login to https://Server-IP:10000
as root with your root password, or any user who can use sudo
to run commands as root.

Now, you’ve installed Webmin on your servers. You can now control and manage your servers through the Webmin web-based server dashboard. We highly recommend you to keep checking for updates in your Webmin server to make sure you’re running on the latest Webmin.

However, the process doesn’t end here. It would be best if you secured your Webmin servers by adding a valid certificate.

How To Install Virtualmin / Webmin On Ubuntu 20.04


  • Ubuntu VPS Server
  • Putty app
  • Codes to install Virtualmin / Webmin

First, you will need a server with Ubunto 20.04 installed on it, in my case I am using a server from Contabo for this tutorial

Step up your server and install Ubuntu 20.04 on it

First Create a VPS Server

Check the video on how to purchase a server and install Ubuntu on it

Go to Contabo And choose your required server according to your website needs

After receiving server details and root password (normally within 30 minutes)

Open Putty app, enter the Ip of the server and port 22 choose SSH connection type then click open

Now log in using root credentials (root + password)

After that Run These Simple Command lines

sudo /bin/sh

After Complete installation, you will see this success message:-

Webmin success install on ubuntu

Now Open Your Domain & Ip Address With Port 10000 On Browser.


After Run This login screen will appear:

Webmin Login page