How to Install Webmin Administrator tool in CentOS/RHEL 8

Webmin is an open-source web-based system configuration tool for Linux system administration. With the help of Webmin web-based, you can set up Apache web server, Samba, DNS, Mail, FTP, Database, File system and package management. This tool also allows you to manage users, groups, disk quotas, and create files and directories as well.

  • Some of the things you can do with Webmin are:
  • You can create, edit and delete user accounts.
  • Set up Disk Quotas to manage the amount of disk space available to users.
  • Install, view, and delete software packages on the system.
  • Update system IP address, DNS settings, and other configurations.
  • Create and configure virtual hosts for the Apache Webserver.
  • Manage MySQL or PostgreSQL database server.
  • Share files and directories with Windows systems via the Samba file sharing.

Useful Articles:

In this article, we will explain to you how to install Webmin on CentOS/RHEL.

Step 1: Update CentOS/RHEL System

First, you make sure that your system is up-to-date. You can use the DNF package to update your system.

# dnf update -y

Step 2: Add Webmin Repository

Webmin package is not available in the default repository. So you can add a Webmin repository to install the Webmin.

# vim /etc/yum.repos.d/webmin.repo
[Webmin]
name=Webmin Distribution Neutral
#baseurl=https://download.webmin.com/download/yum
mirrorlist=https://download.webmin.com/download/yum/mirrorlist
enabled=1
gpgkey=https://download.webmin.com/jcameron-key.asc
gpgcheck=1

You should also download and install the GPG key with which the packages are signed.

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

Step 3: Install Webmin

To install Webmin using the downloaded RPM file, issue the following command.

# dnf install webmin

Step 4: Start Webmin

Run the following commands to start the webmin service and make it start automatically.

# systemctl enable webmin
# systemctl start webmin

Step 5: Add Firewall Rule

Webmin runs on 10000 port and If the firewall is enabled then run the following command to add the firewall rule.

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

Step 6: Access Webmin

Now, we are ready to log in to Webmin using hostname or IP and enter the username as root and password (current root secret word).

# http://hostname:10000/
or
# http://server-IP:10000/

Check the running process by clicking System > Running Processes

You can change the SSH configuration also. Click on Servers > SSH Server

Change system network configuration, Networking > Network Configuration

Enjoy it!

No Responses

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.