Webmin is an open source web control panel for managing Linux servers. It enables you to manage the system users, groups, hard disk quotas as well as to install and configure web, SSH, FTP, e-mail and database servers.
, 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.
We assume that you have administrator access to the Ubuntu server, either as root or as a user with sudo privileges.
Install Webmin on Ubuntu
Webmin is not included in the standard Ubuntu repositories. Installation is a pretty straightforward process. We activate the Webmin repository and install the package with it
The following steps describe the process of installing Webmin on Ubuntu:
First, update the package list and install the dependencies:
sudo apt update
sudo apt install software-properties-common apt-transport-https wget
Import the Webmin GPG key and add the Webmin repository to your system’s software sources:
wget -q https://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.webmin.com/download/repository sarge contrib"
add-apt-repositoryCommand also updates the package index.
Install the latest version of Webmin by typing:
sudo apt install webmin
All dependencies are automatically resolved and installed. Once that’s done, you’ll see the following output:
Webmin install complete. You can now login to https://vagrant:10000/ as root with your root password, or as any user who can use sudo to run commands as root.
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 version is released, use the standard apt upgrade procedure.
Adjust the firewall
By default, Webmin listens for connections on port
10000 on all network interfaces. You have to open the port in your firewall so that the Webmin interface can be reached from the Internet. Assuming you’re using UFW, you can do that by running the following command:
sudo ufw allow 10000/tcp
Access to the Webmin web interface
After Webmin is installed on your Ubuntu system, open your preferred browser and enter your server’s hostname or public IP address followed by the Webmin port
The browser will complain that the certificate is not valid. By default, Webmin uses an untrusted self-signed SSL certificate.
Log in to the Webmin web interface with your root or sudo user credentials:
Once you’re signed in, you’ll be taken to the Webmin dashboard which provides basic information about your system.
From here you can start configuring and managing your Ubuntu 20.04 server as per your needs.
We showed you how to install Webmin on your Ubuntu 20.04 computer. You can now install an FTP server or LAMP / LEMP stack and start managing the services via the Webmin web interface.
To learn more about Webmin, visit their official website documentation
If you have any questions please leave a comment below.