Are you averse to running commands on a terminal and instead prefer managing your Linux system from a Graphical interface? Webmin is a free and open source web-based control panel that gives users the ability to check the system’s performance. We can manage users and groups, manage quotas, update the system, install and remove software packages. We can also configure databases and crucial services such as email, FTP and web to mention just a few. in this guide, you will learn how to install Webmin on Ubuntu 18.04.
Table of Contents
Step 1: Updating the system and installing system dependecies
Before you proceed to install Webmin, it’s recommended to first update the system repositories as shown
Copy# sudo apt update -y
Next, run the command below to upgrade the system
Copy# sudo apt upgrade -y
Then, install the dependencies required before you can install Webmin
Copy# sudo apt install software-properties-common apt-transport-https wget
Step 2: Importing Webmin GPG key
wget command, import Webmin’s GPG key as shown
Copy# wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -
Then enable Webmin’s repository by executing the command
Copysudo add-apt-repository "deb [arch=amd64] http://download.webmin.com/download/repository sarge contrib"
Step 3: Installing Webmin
You can now proceed to install the latest version of Webmin by running
Copysudo apt install webmin
At the end of the installation, the following message will be displayed confirming that you’ve successfully installed Webmin.
The Webmin service should start automatically. you can verify this using the command
Copy# systemctl status webmin
If the service is not running, start and enable it to start on boot using the following commands’
Copy# systemctl start webmin
Copy# systemctl enable webmin
Again, verify if the Webmin service is running
Copy# systemctl status webmin
Additionally, you can confirm if Webmin is listening to its default port – Port 10000 – using the
netstat command as shown
Copy# netstat -pnltu
Awesome! Webmin service is up and running normally. Now it’s time to set it up on a browser!
Step 4: Adjusting the firewall
Before finally setting up Webmin on a browser, you need to allow port 10000, which os Webmin’s port, on the firewall. To accomplish this run
Copy# Sudo ufw allow 10000/tcp
Thereafter, reload the firewall and check the status of the firewall.
Copysudo ufw reload
Copysudo ufw status
Step 5: Setting up Webmin on a browser
Open your favorite browser and browse your server’s URL as shown
You will get a warning that the connection is not private. This is because the server does not have an SSL certificate installed to encrypt the connection on https protocol.
Nevertheless, we can still connect and move on. to do this, navigate at the bottom and click on the ‘Advanced‘ button.
Then click on ‘proceed to server-ip‘ link
This will take you to Webmin’s login page. Log in using your root credentials
And voila! there goes your Webmin’s crisp and intuitive dashboard giving you an overview of your system’s CPU, Memory and Disk space. You will also get system information such as:
- System hostname
- Sytem date and time
- Webmin version
- No. of running processes
- Status of packages
- CPU load averages
And so much more!
That wraps up this tutorial on how to install Webmin on Ubuntu 18.04 server.