How to install web-min on Ubuntu 22.04 LTS

Ubuntu Tutorial
March 27, 2023 by
Tareq Al- Jezawi

Webmin is a free, open-source web-based control panel that allows you to manage your Ubuntu system through a web interface. It provides a graphical user interface (GUI) to manage system settings, user accounts, disk quotas, file systems, and much more.

In this tutorial, we will show you how to install Webmin on Ubuntu 22.04 LTS.

Step 1: Update Ubuntu

Before installing Webmin, you should update your Ubuntu system to ensure that you have the latest software packages and security updates. You can do this by running the following command: 

   sudo apt update && sudo apt upgrade


​Step 2: Install dependencies 


Webmin requires some dependencies to be installed on the system. To install these dependencies, run the following command:

	​sudo apt install -y wget gnupg2 ca-certificates lsb-release

Step 3: Add Webmin repository

Next, you need to add the Webmin repository to your Ubuntu system. To do this, first, download the repository key:

	​wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -


Then, add the Webmin repository to your system:

	​echo "deb http://download.webmin.com/download/repository sarge contrib" | sudo tee /etc/apt/sources.list.d/webmin.list

​Step 4: Install Webmin


Now that the Webmin repository is added to your system, you can install it using the following command:

	​sudo apt update
​sudo apt install -y webmin


After the installation is complete, you can access the Webmin control panel by opening your web browser and entering the following URL:

	​https://your_server_ip_address:10000

Note that you need to replace your_server_ip_address with your server's IP address.

Step 5: Configure Firewall

If you have a firewall enabled on your Ubuntu system, you need to allow access to the Webmin port. You can do this by running the following command:

	​sudo ufw allow 10000/tcp

Conclusion

In this tutorial, we have shown you how to install Webmin on Ubuntu 22.04 LTS. With Webmin, you can manage your system easily and efficiently through a web-based interface.

Tareq Al- Jezawi March 27, 2023
Share this post
Tags
Our blogs
Archive