How to Install Webmin on Ubuntu

Webmin is an open-source tool for Linux distributions that lets us manage servers with a web-based graphical user interface (GUI). It enables us to perform various system administration tasks through a browser. Regular users can monitor system resources, like CPU, memory, and disk usage. However, administrative tasks are typically limited to users with sudo privileges. Moreover, with Webmin, you can update software packages, manage files via the File Manager, and access a terminal shell for direct command-line operations, all from the same interface.

In this tutorial, we’ll demonstrate how to install, configure, and use a Webmin server on Ubuntu.

Installing Webmin on Ubuntu 24.04

You can easily install Webmin Ubuntu Server by appropriately following the below-given steps:

Step 1: Update and Upgrade the Packages List

First, check Ubuntu version and update the system package list to make sure you get the latest versions of available software:

sudo apt update
update system packages

Now upgrade the upgradable packages using the below-mentioned command:

sudo apt upgrade -y
upgrade system packages

Step 2: Download Webmin Repository Script

After updating the system packages, run the following command to download the Webmin repository script from the official Webmin website:

sudo curl -o webmin-setup.sh https://raw.githubusercontent.com/webmin/webmin/master/setup-repos.sh
download webmin repository script

Step 3: Run Webmin Repository Script Using Bash

Now run the following command to execute the downloaded Webmin repository script using bash:

sudo bash setup-repos.sh
run webmin repository script using bash

The output confirms that we’re now all set to install Webmin.

Step 4: Install Webmin

Let’s use the below-given command to install the Webmin Ubuntu server using the default apt package:

sudo apt install webmin -y
install webmin

It will take some time to install the Webmin server on your system.

Step 5: Verify Webmin Installation

After installing Webmin on your system, you can confirm its installation by checking its status. For this purpose, use the systemctl command as follows:

sudo systemctl status webmin

The output confirms the successful installation of the Webmin server on our system:

verify webmin installation

Alternatively, we can run the below-provided command to verify the Webmin installation:

dpkg -l | grep webmin

The output shows that we are using Webmin “2.202” on our system:

check webmin installed version

Configuring the Firewall Rules for Webmin

We can access the Webmin Server through the default server port 10000 using HTTP. However, this means the connection between our server and browser is not encrypted.

Therefore, we can change the default port and use HTTPS to improve security for encrypted connections.

The steps below will show you how to configure firewall rules for Webmin servers to improve security, control access, manage network traffic, etc.

Step 1: Enable Webmin Port

Let’s run the following command to allow traffic on port 10000 for the Webmin server:

sudo ufw allow 10000/tcp

This way, you can add the UFW rules for Webmin:

enable webmin port

Step 2: Reload Firewall

To apply the changes, reload the firewall by running the following command:

sudo ufw reload
reload firewall

Step 3: Verify the Firewall Status

Finally, run the following command to confirm that the firewall rule for the Webmin port has been applied:

sudo ufw status
verify the firewall status

How to Access and Use Webmin on Ubuntu 24.04

After installing and configuring the Webmin server, we can access it on port 10000. For this purpose, open an internet browser, and specify your server’s IP followed by port 10000 in the web address, like this:

http://your-server-ip:10000

Replace “your-server-ip” with the IP address of your local or remote server. After this, specify the username and password and then hit the sign-in button to access the Webmin server on Ubuntu:

webmin sign-in


As a result, you’ll be directed to the Webmin dashboard, where you can view details such as CPU usage, memory usage, disk space, running processes, and system statistics:

webmin dashboard


Moreover, you can navigate to the main navigation menu and perform different tasks like updating software packages, managing files, and opening a terminal shell for direct command-line access, etc:

navigate to the main navigation menu


Conclusion

Webmin provides a user-friendly web-based interface for managing Linux servers. With Webmin, you can monitor system resources, update software, and manage files all from one platform. In this article, we illustrated the installation, configuration, and usage of Webmin on Ubuntu 24.04. Moreover, we demonstrated everything from the initial setup to accessing the Webmin dashboard for system management.

We hope this guide has helped you install Webmin on Ubuntu 24.04. Installing Webmin on a Linux system is simple with the right hosting platform. Specifically, Ultahost’s VPS hosting is an ideal choice, offering fast loading times and the flexibility to upgrade resources as your requirements change. Discover the freedom and versatility of a VPS today!

FAQ

What is Webmin?
How do I install Webmin on Ubuntu 24.04?
How can I configure the firewall to allow Webmin access?
How do I access Webmin after installation?
Is Webmin accessible securely by default?
What do I do if Webmin is not accessible after installation?
What tasks can I perform using the Webmin dashboard?

Related Post

How to Install Postman on Ubuntu 22.04

If you’re a software developer, you know the importan...

How to Install NGINX on Ubuntu 22.04

NGINX, which is known for its great performance, scalab...

How to Check Linux Version

Linux is an open-source operating system that offers a ...

Resolve Ubuntu Software Center Not Loading Er

The Ubuntu Software Center not loading error occurs, wh...

How to Enable or Disable IPV6 on Ubuntu Linux

IPv6, also known as Internet Protocol version 6, offers...

How to Install OpenCV on Ubuntu

OpenCV, short for Open Source Computer Vision Library, ...

Leave a Comment