How to Install Webmin System Administration Tool on RHEL 8

Webmin is a modern web-based Linux management tool (similar to Cockpit Web Console) that allows you to monitor various system metrics. With Webmin, you can also perform administrative tasks such as manage user accounts, change settings and configure DNS settings.

Webmin provides a GUI that displays system metrics such as CPU, RAM, and Disk utilization. This information can be used to diagnose any issues that are potentially affecting your system’s performance.

Webmin allows you to perform the following sysadmin tasks:

  • Change user account passwords.
  • Install, update, upgrade and remove packages.
  • Configuration of firewall rules.
  • Rebooting or shutting down.
  • Viewing log files.
  • Schedule cron jobs.
  • Set up new user accounts or remove existing ones.

In this guide, we go through the installation of Webmin on RHEL 8.

Step 1: Install Prerequisites for Webmin

To get started, we are going to install some prerequisites which are required during the installation of Webmin. So. go ahead and run the dnf command:

$ sudo dnf install -y wget perl perl-Net-SSLeay openssl unzip perl-Encode-Detect perl-Data-Dumper
Install Webmin Prerequisites
Install Webmin Prerequisites

When the installation is complete, proceed to the next step.

Step 2: Enable Webmin Repository

The next course of action is to download Webmin’s GPG key for encryption and signing messages using the following wget command.

# wget https://download.webmin.com/jcameron-key.asc

Once downloaded, import it using the rpm command as follows.

# sudo rpm --import jcameron-key.asc

Step 3: Install Webmin on RHEL 8

With the GPG key in place, the last step is to install Webmin. The official Webmin download page contains Webmin packages for mainline Linux distributions such as Debian, CentOS, etc. Since we are installing Webmin on RHEL, you need to grab the RPM package using the wget command as shown.

$ wget https://prdownloads.sourceforge.net/webadmin/webmin-1.970-1.noarch.rpm

When the download is complete, install Webmin using the command:

$ sudo rpm -Uvh webmin-1.970-1.noarch.rpm
Install Webmin on RHEL 8
Install Webmin on RHEL 8

Once the installation process completes, verify that Webmin is running.

$ sudo systemctl status webmin.service

The output below confirms that Webmin is running.

Verify Webmin Service
Verify Webmin Service

Step 4: Open Webmin Port on Firewall

By default, Webmin listens on TCP port 10000. To confirm this, use the netstat command as shown.

# sudo netstat -pnltu | grep 10000

If you are behind a firewall, open the TCP port 10000:

$ sudo firewall-cmd --add-port=10000/tcp --zone=public --permanent
$ sudo  firewall-cmd --reload

Step 4: Accessing Webmin Interaface

With everything set, it’s now time to access Webmin, and we will do this over a web browser. So launch your web browser and browse the URL:

https://server-ip:10000/

At first, you will get an alert that your connection is private. But fret not. This only shows that the Webmin SSL certificate is self-signed and not recognized by CA. So, click on the ‘Advanced’ tab.

SSL Connection Warning
SSL Connection Warning

Then, click on ‘proceed to server’s IP address’. This takes you to the Webmin login page where you will log in using the root credentials.

Webmin Login
Webmin Login

Once logged in, the dashboard will be displayed as shown.

Webmin Dashboard in RHEL 8
Webmin Dashboard in RHEL 8

And that’s it. You have successfully installed Webmin on RHEL 8.

If you read this far, tweet to the author to show them you care. Tweet a thanks
James Kiarie
This is James, a certified Linux administrator and a tech enthusiast who loves keeping in touch with emerging trends in the tech world. When I'm not running commands on the terminal, I'm taking listening to some cool music. taking a casual stroll or watching a nice movie.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

Got something to say? Join the discussion.

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.