How to install webmin on Ubuntu 22.04

Endrit Qerreti

Endrit Qerreti

Webmin is one of the most popular web based system administration tool for managing linux servers.

Webmin can be easily installed on Ubuntu 22.04 by using the official setup script. All you need to have is internet connection and a fresh installation of Ubuntu 22.04 on your server.

Webmin is web based, which means you can easily manage your server from your browser.

If you are a linux system administrator looking for an easy and powerful tool that you can use to manage your servers with no hassle, then you should definitely give webmin a try.

In this tutorial, you will learn how to install Webmin on Ubuntu 22.04.

Step 1 - Update your Ubuntu server

If you have created a fresh installation of Ubuntu 22.04 on your server, you need to make sure that your server is up to date.

To update your Ubuntu server, run the command below

sudo apt update

Step 2 - Download Webmin setup script

1) To be able to install webmin, you need to download the setup script first. To download webmin's official setup script run the command below.

curl -o setup-repos.sh https://raw.githubusercontent.com/webmin/webmin/master/setup-repos.sh

The command above will download the script setup-repos.sh, what this script does is that it creates the repository of webmin that you can use in order to download and install webmin.

2) Next, make the script executable.

chmod +x setup-repos.sh

3) Setup webmin repository. To do this, run the script that you downloaded.

sudo ./setup-repos

Next, confirm setting up webmin repository by pressing the Y key and then press enter so webmin repository gets added on your server.

Step 3 - Install webmin

Once you have added webmin repository on your system, proceed to install Webmin on your server by simply running the command below

sudo apt-get install --install-recommends webmin

Step 4 - Use Webmin

Webmin runs on port 10000, to access webmin you need to navigate to your server's IP on your browser

localhost:10000

And login using your server credentials

Now you should be able to manage your server

Conclusion

In this tutorial, we explained how to install Webmin step by step on Ubuntu 22.04 server.