Let’s learn the steps to install the Webmin Control panel on Ubuntu 22.04 LTS Jammy JellyFish using the command terminal.
To manage a server efficiently for hosting a variety of web applications we can use web-based server management control panels such as Webmin. It is a free and open-source software used as a control panel to manage a server. It is based on Perl and uses port number 10000 to let users access the web GUI dashboard for managing various server services, configuration files, disk quotas, and key platforms for running web applications such as Apache, PHP, and MySQL. We can configure an SSL certificate to access Webmin securely, also due to modular design, users can extend the Webmin functionality using modules.
So if you are using a command-line Ubuntu system then Webmin will be a nice option to go for.
Steps to install Webmin Control panel on Ubuntu 22.04 LTS
Here in this tutorial, we learn the commands to install Webmin on Ubuntu 22.04, however, the steps will be the same for other Linux systems based on Debian or Ubuntu.
1. Run system update
First, let’s run the system update command on our Ubuntu 22.04 LTS and install the required dependencies to follow this tutorial.
sudo apt update && sudo apt upgrade
sudo apt install software-properties-common apt-transport-https
2. Add the GPG key
Well, before adding the repository we need to get the packages of Webmin on Ubuntu; add the GPG key used by the developers of this web-based server management to sign its packages.
wget -qO- https://download.webmin.com/jcameron-key.asc | sudo tee -a /etc/apt/trusted.gpg.d/jcameron-key.asc
3. Add Webmin Repository on Ubuntu 22.04
The packages to install Webmin are not available to install using the standard Ubuntu 22.04, hence we need to add the one officially published by the developers of this platform for Ubuntu Linux platforms. Here is the command to follow:
sudo add-apt-repository "deb [arch=amd64] http://download.webmin.com/download/repository sarge contrib"
After adding the repo, once again run the system update command. This will rebuild the APT package index cache.
sudo apt update
4. Install Webmin on Ubuntu 22.04 LTS
Now, our system is ready to download and install the latest available version of Webmin using the APT package manager just like any other Ubuntu application.
sudo apt install webmin
5. Check the Service status
Once the installation is completed on your system, let’s first check whether the service of Webmin is running in the background without any error.
sudo systemctl status webmin
6. Allow TCP port 10000 in the Firewall
If you have an activated firewall on your system, then allow Webmin port 10000 in your firewall to access it from other systems.
sudo ufw allow 10000/tcp
7. Webmin GUI Dashboard via Ubuntu 22.04
Now, open your local system browser or on some other system that can access the IP address of the Ubuntu 22.04 server where you have installed the Webmin.
Point your browser to Webmin’s installed Ubuntu server in the following format:
https://server-ip-address:10000
You will have an SSL certificate error, to bypass that, click on the Advanced button and then on “continue to your-server-IP”.
8. Login Web UI
To log in and access the Dashboard, enter the username and password you already have on the system where Webmin has been installed.
9. Dashboard
Soon, you will have the Webmin’s Dashboard with the server’s system information. Now, we can start managing various services, features, and other settings of the server using a web-based graphical user interface.
10. How to update
In the future, if you want to update the Webmin to its latest available version, running the system update and upgrade command is all you have to do.
sudo apt update && sudo apt upgrade
11. Uninstall or Remove Webmin on Ubuntu 22.04
If you are running some crucial web application with the help of Webmin, then it’s recommended to back up that before planning the uninstallation of Webmin. Removing it is not a difficult task just use the regular –remove option using the APT package manager.
sudo apt autoremove --purge webmin
Remove the GPG key and repository as well, if you don’t have any plans to install Webmin in the future.
sudo add-apt-repository --remove "deb [arch=amd64] http://download.webmin.com/download/repository sarge contrib"
sudo rm /etc/apt/trusted.gpg.d/jcameron-key.asc
Other Articles:
• 7 Steps to install Webmin on Ubuntu 20.04 LTS focal fossa
• How to install R-base Ubuntu 22.04 LTS Jammy
• How to Install FileZilla FTP Client on Ubuntu 22.04
• Enable or disable the firewall on Ubuntu 22.04 LTS Jammy…