In this article we will show you how to install Webmin 2.0 on Ubuntu Server 22.04. Webmin is a modern web control center that lets you manage your Linux server through a browser-based interface. With Webmin, you can manage user accounts, configure DNS settings, and change settings for common packages on the fly. You install and configure Webmin on your server and secure access to the interface with a valid certificate from Let’s Encrypt.
Then, you use Webmin to add new user accounts and update all packages on your server from the dashboard. Ubuntu Server is a part of the larger line of Ubuntu products and operating system developed by Canonical Ltd. Ubuntu Server is a special addition, slightly different from Ubuntu Desktop, to facilitate installation on servers. Below we have mentioned the steps to install Webmin 2.0 on Ubuntu Server 22.04.
Install Webmin 2.0 on Ubuntu Server 22.04
How to Install Webmin in Ubuntu 22.04
To install Webmin in Ubuntu 22.04, you must follow the below-given step-by-step instructions.
Step 1: Update system repositories
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 required 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
Wait for a few minutes as the installation of Webmin will take some time to complete.
Also, note the server URL/IP address with the port specified in the output. This complete address will be used for accessing 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
Lastly, check the status of the Webmin service before accessing it on the browser:
$ sudo systemctl status webmin
Final Words
We hope you like this article on How to install Webmin 2.0 on Ubuntu Server 22.04. You now have a secured instance of Webmin and have used the user interface to create a user and update packages. Webmin gives you access to many things you normally need to access through the console, and organizes them in an intuitive way.
I hope you understand this article, How to Install Webmin 2.0 on Ubuntu Server 22.04.