How to Install Webmin in Ubuntu 22.04

Based on webmin.com, Webmin is a powerful and flexible web-based server management control panel for Unix-like systems. Webmin allows the user to configure operating system internals, such as users, disk quotas, services or configuration files, as well as modify and control open-source apps, such as the Apache HTTP Server, PHP or MySQL.

Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. Webmin removes the need to manually edit Unix configuration files like /etc/passwd, and lets you manage a system from the console or remotely.

In this tutorial guide, i am going to show you how to install and use webmin in ubuntu 22.04.

How to Install and Use Webmin in Ubuntu 22.04

Follow the below given steps to install and use webmin in ubuntu 22.04 system:

  • Step 1 – Update System Dependencies
  • Step 2 – Install Require System Dependencies
  • Step 3 – Import the Webmin GPG key
  • Step 4 – Add Webmin repository
  • Step 5 – Install Webmin in Ubuntu 22.04
  • Step 6 – Configure Firewall settings
  • Step 7 – Check Webmin Status

Step 1 – Update System Dependencies

Run the following command to update system dependencies; is as follows:

sudo apt update

Step 2 – Install Require System Dependencies

Run the following command to install the required dependencies for Webmin; is as follows:

sudo apt install vim apt-transport-https curl wget software-properties-common

Step 3 – Import the Webmin GPG key

Run the following command to import the Webmin GPG key for signing the packages in the repository: is as follow:

wget https://download.webmin.com/jcameron-key.asc cat jcameron-key.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/jcameron-key.gpg >/dev/null

Step 4 – Add Webmin repository

Run the following command for adding the Webmin repository to the Ubuntu 22.04 system software sources:

sudo add-apt-repository "deb https://download.webmin.com/download/repository sarge contrib"

Step 5 – Install Webmin in Ubuntu 22.04

Run the following command to install webmin in ubuntu 22.04; is as follow:

sudo apt install webmin

Step 6 – Configure Firewall settings

By default, Webmin listens for the connection on the port “10000”. So, we have to open the port “1000” in the Firewall to make the Webmin accessible from the Internet:

sudo ufw allow 10000

Step 7 – Check Webmin Status

Run the following command to check the status of the Webmin service before accessing it on the browser:

sudo systemctl status webmin

Conclusion

In this tutorial guide, i have shown to you how to install webmin on ubuntu 22.04 system.

More Tutorials

Leave a Comment