Install Webmin in Ubuntu 22.04 Code Example

Jul 12, 2022

.

Admin

Install Webmin in Ubuntu 22.04 Code Example

Hi Guys,

In this quick example, let's see Install Webmin in Ubuntu 22.04 Code Example. I would like to share with you Step-by-step guide to install and manage Webmin in Ubuntu. you can understand a concept of How to Install and Use Webmin in Ubuntu 22.04?. you can see Install Webmin on Ubuntu 22.04. So, let's follow few step to create example of Easily Install Webmin on Ubuntu 22.04.

You can use this post for ubuntu 14.04, ubuntu 16.04, ubuntu 18.4, ubuntu 20.04, ubuntu 21 and ubuntu 22.04 versions.

Step 1: Update System Dependencies


Press “CTRL+ALT+T” to open the terminal of your Ubuntu 22.04 and run the below-given command to update system repositories:

$ sudo apt update

Step 2: Install Require System Dependencies

In the next step, execute the following command to install the required dependencies for Webmin:

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

Step 3: Import the Webmin GPG key

Now it’s time to import the Webmin GPG key for signing the packages in the repository:

$ 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

Utilize the below-given 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

If you have carefully followed the previously given steps, then at this point, your Ubuntu 22.04 is all set for the installation of Webmin:

$ sudo apt install webmin

Step 6: Configure Firewall settings

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

Lastly, check the status of the Webmin service before accessing it on the browser:

$ sudo systemctl status webmin

#Ubuntu