How to Install Webmin on Linux
Webmin is a web-based system administration tool that lets you configure and manage your Linux system using a browser. Since it is web-based, you can administer your machines remotely from any other system within or outside your network.
It streamlines complex system configuration tasks that otherwise require a thorough understanding of Linux commands and manual editing of configuration files. Thereby, it is better suited for users who are not good at the command line and have less expertise in system configurations.
Let’s see how you can install Webmin on your Linux machine.
Install Webmin on Ubuntu/Debian Using APT
You can install Webmin on Ubuntu and other Debian-based distributions using the official DEB package. To download the Webmin DEB package, run:
This will save the downloaded file in your current directory as webmin-current.deb.
Now use the apt command to install the DEB package:
sudo apt install ./webmin-current.deb
How to Install Webmin on Arch Linux
Webmin is available in the AUR and you can install it using an AUR helper like yay. For this method, you need to have yay installed on your system.
You can install Webmin on Arch-based distros by running:
yay -S webmin
Once installed, start the Webmin service using:
sudo systemctl start webmin
Install Webmin on Fedora and RHEL Using DNF
For RHEL-based distributions, Webmin provides an RPM package that you can install using DNF.
Download the RPM package for Webmin with:
Then, install the downloaded package by running:
sudo dnf install ./webmin-current.rpm
Install Webmin Using the Official Installer Script
On Debian- and RHEL-based Linux distributions, you can install Webmin using an installer script. All you need to do is run the script and it’ll automatically set up the Webmin repository and its key on your system.
After that, you can install Webmin using the default package manager of your distribution.
Open the terminal and use the following command to download the Webmin installer script:
Now run the following command to execute the script:
sudo sh setup-repos.sh
This script will add the Webmin repository and key to your system. Use the following command to install Webmin on Debian-based distributions:
sudo apt install webmin
To install Webmin on RHEL-based distributions, use the dnf command:
sudo dnf install webmin
Allow Webmin Through Firewall
By default, Webmin uses port 10000 which might be blocked if you have a firewall running on your system. If you want to access Webmin from another system on the network, you will need to allow it in your firewall.
On Debian-based distributions, you can allow access to port 10000 with UFW using the following command:
sudo ufw allow 10000
Reload the firewall to apply the changes:
sudo ufw reload
To verify if the access has been allowed, run:
sudo ufw status
On RHEL-based distributions, use the following command to allow access to port 10000:
firewall-cmd --zone=public --add-port=10000/tcp --permanent
Next, reload the firewall to register the changes:
After that, run the following command to verify the addition of the rule:
sudo firewall-cmd --list-all
Access the Webmin Dashboard Using a Web Browser
To access Webmin, fire up your browser and open the following URL, replacing ip-address with the IP address of your system hosting Webmin:
It will open the Webmin dashboard login page. Log in using the username and password of a user with administrator privileges.
Once you log in, you will see the following dashboard displaying an overview of your system.
How to Uninstall Webmin on Linux
To uninstall Webmin, open the terminal and run the following command:
It will ask for your confirmation. Enter y to remove the Webmin package and its related directories from your system.
To uninstall Webmin on Arch Linux, run:
sudo yay -R webmin
Streamline Linux Administration Using Webmin
Webmin provides an easy and user-friendly way to manage system administration tasks while also saving the time and effort required for manual configurations. Now that you know how to install Webmin on Linux systems, go ahead and give it a shot to see how it streamlines system administration.
In addition to Webmin, you may look at plenty of other tools to make system administration easier such as Zenmap, Cockpit, Nagios, Puppet, etc.