Home Linux Control Panels How to Install Webmin on Ubuntu 20.04/22.04

How to Install Webmin on Ubuntu 20.04/22.04

Server management is an exciting concept for all Linux users whether they are beginners, still learning their ways around the Linux OS architecture, or expert users that can manage and administer different Linux operating system distributions. However, as time goes by, you will start to feel the urge/need for a flexible and less time-consuming approach to managing your Linux server.

This article introduces Webmin as a reputable web-based admin tool, that makes the life of a Linux administrator much easier as it lessens the user footprints needed to effectively manage a targeted Linux system/server.

Prerequisite

Be a sudoer/root user on the Ubuntu system you intend to install and configure Webmin database administration software.

Installing Webmin in Ubuntu

Your Ubuntu system should be up-to-date to be optimized for the best performance of any software post-installation.

$ sudo apt update && sudo apt upgrade -y

Next, make sure the following software packages are installed on your Ubuntu system for effective management of software repositories.

$ sudo apt install software-properties-common apt-transport-https

Next, add and enable the Webmin repository to sources.list file, so that it will be easier to update it with a normal system update command.

$ sudo nano /etc/apt/sources.list

Add the Webmin repository at the bottom of the file.

deb http://download.webmin.com/download/repository sarge contrib
Add Webmin Repository
Add Webmin Repository

Save and close the file.

Next, the following command adds Webmin’s associated GPG key to your Ubuntu system and makes the key file readable.

$ sudo wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/ubuntu-webmin.gpg --import
$ sudo chmod 644 /etc/apt/trusted.gpg.d/ubuntu-webmin.gpg
Add Webmin GPG Key
Add Webmin GPG Key

For this Webmin repository to be included on our Ubuntu system, we need to run another system update.

$ sudo apt update && sudo apt upgrade -y

Now your Ubuntu system is ready for the installation of the Webmin server management software. Proceed to its installation by executing the following command:

$ sudo apt install webmin -y 
Install Webmin in Ubuntu
Install Webmin in Ubuntu

Webmin installation process might take some time to complete, therefore, be patient and restrain from interrupting the installation process.

Once installed, you can check on Webmin’s installed version:

$ dpkg -l | grep webmin
Check Webmin Ubuntu
Check Webmin Ubuntu

Check on Webmin’s running status:

$ sudo systemctl status webmin
Check Webmin Status
Check Webmin Status

If you have a firewall enabled on your Ubuntu system, you will need to grant Webmin access through it, which uses TCP port 10000.

$ sudo ufw allow 10000/tcp
$ sudo ufw reload 
$ sudo ufw status 

Using Webmin on Ubuntu

To access Webmin, adhere to the syntax:

https://[Your Server IP or Domain Name]:10000/

Click the Advanced tab.

Webmin Security Warning
Webmin Security Warning

Click on Accept the Risk and Continue.

Accept Security Warning
Accept Security Warning

You will be presented with the following Login screen. Use your Ubuntu sudoer/root user credentials to log in.

Webmin User Login
Webmin User Login

Your will be presented with Webmin main dashboard with your Ubuntu data at:

System Information

Ubuntu System Information
Ubuntu System Information

Stats History

Ubuntu System Usage
Ubuntu System Usage

System Activity

Ubuntu System Activity
Ubuntu System Activity

You are now free to further explore what Webmin has to offer on your Ubuntu system.

Ravi Saive
I am an Experienced GNU/Linux expert and a full-stack software developer with over a decade in the field of Linux and Open Source technologies. Founder of TecMint.com, LinuxShellTips.com, and Fossmint.com. Over 150+ million people visited my websites.

Each tutorial at UbuntuMint is created by a team of experienced writers so that it meets our high-quality standards.

Was this article helpful? Please add a comment to show your appreciation and support.

Got something to say? Join the discussion.

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published or shared. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.