How to Install and Manage Webmin in Ubuntu 20.04

How to Install and Manage Webmin in Ubuntu 20.04
A modern design web control panel known as Webmin can allow you to control and manage your Linux server using a web browser interface. Webmin lets you manage user accounts, DNS configuration, and change settings for various packages live in the browser. This guide shows you how to download and install Webmin, configure it with a valid certificate from the 'Let's Encrypt' servers, and update packages from the Webmin dashboard.

Step 1: Update APT

As always, first, update your APT.

$ sudo apt update

Step 2: Upgrade APT

Now, upgrade your APT.

$ sudo apt upgrade

Step 3: Add Webmin Repository

First, add the Webmin repository in the sources.list file so that you can install it via the APT package manager. Using your favorite editor, open the sources.list file using the following terminal command.

$ sudo gedit /etc/apt/sources.list

Step 4: Add Download Line in File

Add the following line in this file, save it, and then close it.

deb http://download.webmin.com/download/repository sarge contrib

Step 5: Add Webmin PGP Key

Next, add a Webmin PGP key so that your APT package manager can validate the new repository. We will be using the wget command to get the Webmin key via the following terminal command.

$ wget -q -O- http://www.webmin.com/jcameron-key.asc | sudo apt-key add

Step 6: Update APT Again

Now, update your APT again using the update APT terminal command.

$ sudo apt update

Step 7: Download and Install Webmin

You are now ready to download and install webmin package. To do so, enter the following command.

$ sudo apt install webmin

When Webmin is installed, you will be provided the following details at the end of the installation. Record and use this information to log into your Webmin dashboard.

Step 8: Update ufw Firewall

Update the ufw firewall rules to allow traffic from port 10000, the default port Webmin uses.

$ sudo ufw allow 10000

Step 9: Open Webmin Dashboard

If Everything is done as stated above, you should be able to open the Webmin dashboard in your web browser tab. Enter the following URL in the URL bar, and you will be prompted with a login panel, as shown in the following window.

Step 10: Launch Webmin Dashboard

Enter the details and the Webmin dashboard will launch, as shown in the following window.

Step 11: Create User to Host Web Applications

Go to the MENU icon and in the search bar, type 'Users and Groups', and click on this option.

Create a user with a deploy name to be used for hosting web applications. There are also many other options in this tab, such as password expiry option, home directory authorization, and more. We will be using the basic options required for a new user account in the following steps.

Create a Username called 'deploy.'

Click on the Automatic option for the User ID.

The Real Name text box should have a small description of the name.

For Shell options, select '/bin/bash' in the list.

Select a normal password and type a password.

Primary group settings to be changed to 'New Group With Same Name As User.

Secondary group settings should have sudo selected from all group options.

Press the 'Create' button, then create a user with the name 'deploy,' having all of the above options.

Step 12: Update Packages

To update the packages, you must return to the dashboard. Click on the MENU icon and select the dashboard, as shown in the window below.

Step 13: Select Package Updates

Scroll down until you see the field with the 'Package updates' text, as shown in the following window, and click on it.

Step 14: Update Packages Remotely

You can update your packages remotely through the Webmin dashboard on-the-go.


This article showed you how to install Webmin, how to create a new user and group in Webmin, and how to update packages using the Webmin dashboard.

Trackpad en pantalla y puntero del mouse AppyMouse para tabletas Windows
Los usuarios de tabletas a menudo pierden el puntero del mouse, especialmente cuando son habituales para usar las computadoras portátiles. Los teléfon...
El botón central del mouse no funciona en Windows 10
La botón central del ratón le ayuda a desplazarse por páginas web largas y pantallas con una gran cantidad de datos. Si eso se detiene, bueno, termina...
Cómo cambiar los botones izquierdo y derecho del mouse en una PC con Windows 10
Es una norma que todos los dispositivos de mouse de computadora estén diseñados ergonómicamente para usuarios diestros. Pero hay dispositivos de mouse...