In this article, we will have explained the necessary steps to install and configure Webmin 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 interface for system administration for Unix. Using any modern web browser, you can set up user accounts, Apache, DNS, file sharing, and much more. Webmin allows system administrators to manage user accounts, update packages, system log files, configure firewalls, email, database, postfix, etc.
Install Webmin 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. Install required dependencies for Webmin.
We can install all the required packages using
apt the command:
sudo apt install software-properties-common apt-transport-https wget
Step 3. Install Webmin on Ubuntu systems.
You need to enable the Webmin repository. Now import the Webmin GPG key and add the Webmin repository to your system’s software sources:
wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] http://download.webmin.com/download/repository sarge contrib"
Then, install the latest version of Webmin:
sudo apt install webmin
Once done, the following output will be displayed:
Webmin install complete. You can now login to https://your-domain:10000/ as root with your root password, or as any user who can use sudo to run commands as root.
Step 4. Configure the Firewall.
By default, Webmin listens for connections on port 10000 on all network interfaces. If your server runs a UFW firewall, you’ll need to open the Webmin port:
sudo ufw allow 10000/tcp
Step 5. Accessing Webmin Web Interface.
To login to Webmin’s dashboard, open up your browser and browse your server’s IP as follows:
The browser will complain about the certificate is not valid. By default, Webmin uses an untrusted self-signed SSL certificate. You may ignore this message, as it does not pose a security threat to you.
That’s all you need to do to install Webmin on Ubuntu 20.04 LTS Focal Fossa. I hope you find this quick tip helpful. For further reading on Webmin, please refer to their official knowledge base. If you have questions or suggestions, feel free to leave a comment below.