How to install Webmin on Ubuntu 20.04
Webmin is an open-source web control panel for administering Linux servers. It allows you to manage the system users, groups, disk quotas as well as install and configure web, ssh, ftp, email, and database servers.
With Webmin , you can configure almost every aspect of the system through your web browser.
This guide explains how to install Webmin on an Ubuntu 20.04 server.
Prerequisites
We’re assuming that you have administrative access to the Ubuntu server, either as root or a user with sudo permissions
Step 1: Update the System and Install Requisites Packages
Webmin is not included in the standard Ubuntu repositories. The installation is a pretty straightforward process. We’ll enable the Webmin repository and install the package with apt .
$ sudo apt update $ sudo apt install software-properties-common apt-transport-https wget
Step 2: Import Webmin Repository Key
$ 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"
Step 3: Install Webmin in Ubuntu
$ sudo apt install webmin
When prompted, hit 'Y'
to proceed with Webmin’s installation
The output below confirms that the Webmin installation has been successful
The Webmin service will start automatically.That’s it! At this point, you have successfully installed Webmin on your Ubuntu 20.04 server.
To upgrade your Webmin installation when a new release is published, use the standard apt upgrade procedure
You can be confirmed by running the command:
$ sudo systemctl status webmin
Step 4: Open Webmin Port on Ubuntu Firewall
By default, Webmin listens for connections on port 10000
on all network interfaces. You need to open the port in your firewall so that the Webmin interface is accessible from the Internet. Assuming you are using UFW , you can do that by running the following command:
+ Install ufw :
$ sudo apt-get install ufw
+ Connect port 10000 :
$ sudo ufw allow 10000/tcp
Step 5: Access Webmin on Ubuntu
Finally, to access Webmin, launch your browser and browse the address:
https://server-ip:10000/
Login to the Webmin web interface using your root or sudo user credentials:
We have successfully installed Webmin on Ubuntu 20.04.
Good Luck!