Installing Webmin on Ubuntu 20.04: Simplified Step-by-Step Guide

how to install webmin on ubuntu 20.04

Webmin is a powerful and user-friendly web-based interface for administering Unix-like systems, including Ubuntu. With Webmin, system administrators can easily manage various aspects of their servers through a graphical user interface, eliminating the need for complex command-line operations. This article provides a comprehensive guide on how to install Webmin on Ubuntu 20.04, ensuring smooth setup and configuration. Whether you are a beginner or an experienced sysadmin, this guide will assist you in harnessing the power of Webmin.

Webmin has gained significant popularity over the years due to its efficiency and ease of use. According to recent statistics, Webmin has witnessed a steady rise in usage and adoption by system administrators and organizations worldwide. In the past few years, the number of Webmin installations on Ubuntu-based systems has increased by approximately 20% annually. This growth can be attributed to its feature-rich nature and ability to streamline server management tasks. Now, let’s proceed to the step-by-step installation guide for Webmin on Ubuntu 20.04.

Step 1: Update System Packages

It is imperative that your system packages be brought up to date before installing any new software. This will guarantee that you get the most recent security updates and bug fixes available. Run the following command by connecting to your server running Ubuntu 20.04 through SSH or opening a terminal and entering it:

sudo apt update && sudo apt upgrade

Step 2: Add Webmin Repository

Webmin is not included in the default Ubuntu repositories, but it can be easily installed by adding the Webmin repository. Execute the following commands to add the repository and import the GPG key:

sudo apt install apt-transport-https 
wget -q -O- | sudo apt-key add - 
echo "deb sarge contrib" | sudo tee /etc/apt/sources.list.d/webmin.list

Step 3: Install Webmin

Next, update the package index and install Webmin by running the following commands:

sudo apt update 
sudo apt install webmin

During the installation, you will be prompted to choose the web server for Webmin. You can select either apache or lighttpd. Use the arrow keys to navigate and press Enter to make your selection.

Note: If you have a firewall enabled, you may need to open port 10000 to allow Webmin’s web interface. Make sure to configure your firewall settings accordingly.

Step 4: Accessing Webmin

Once the installation is complete, you can access the Webmin interface using any modern web browser. Open your browser and enter the following URL:


Replace your_server_ip with the actual IP address or hostname of your Ubuntu 20.04 server. You may encounter a warning about an untrusted SSL certificate. This is normal as Webmin uses a self-signed certificate. Proceed to accept the warning and continue to the login page.

Step 5: Logging in to Webmin

On the Webmin login page, enter your system administrator username and password to log in. Use the credentials of a user with sudo privileges to ensure full administrative access.

Congratulations! You have successfully installed and accessed Webmin on your Ubuntu 20.04 server. You can now explore the various modules and functionalities offered by Webmin to simplify your server administration tasks.

Note: It is important to keep Webmin up to date with the latest security patches. Regularly check for updates through the Webmin interface or use the following command to update Webmin via the command line:

sudo apt update && sudo apt upgrade webmin


Webmin is a web-based interface that may be used for managing Ubuntu and other Unix-like systems. It is extremely flexible and has gained widespread adoption. In this tutorial, we will walk you through the process of installing Webmin on Ubuntu 20.04 in a step-by-step manner, beginning with the update of system packages and ending with accessing the Webmin interface. You now have access to the tools that are necessary to improve the efficiency of the server administration duties you are responsible for, all you need to do is follow these instructions. Keep in mind that security should always be your top priority by ensuring that Webmin is always up to date and regularly examining the configurations of your server.

Note: While Webmin simplifies server administration, it is crucial to have a solid understanding of the underlying system and exercise caution while making changes. Always refer to official documentation and seek professional assistance when necessary.

I specialize in cloud technologies. So in a few years, he has become one of our top field specialists and has moved from intern's potion to a fully trained professional DevOps in an impressive fashion. I work in a wide range of areas that require in-depth knowledge, such as working with Linux-based infrastructure; setting up and managing databases; CI/CD platforms, Kubernetes; Helm, Docker; Python, Ansible; TCP/IP, DNS, HTTP/HTTPS, SSH. I am also fond of hunting, fishing and traveling. You can see more information about me on my social media pages.

Share the post if you liked it:
0 0 votes
Article Rating
Notify of
Inline Feedbacks
View all comments