How to Install Webmin on CentOS 8

Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. Webmin removes the need to manually edit Unix configuration files like /etc/passwd, and lets you manage a system from the console or remotely.

Install and use Webmin on centOS 8; Through this tutorial, we will learn how to install and use Webmin on centOS 8.

How to Install Webmin on CentOS 8

Just follow the following steps to install and use Webmin on centOS 8:

  • Step 1 – Create the Repository File
  • Step 2 – Import the Webmin GPG key
  • Step 3 – Install Webmin on CentOS 8
  • Step 4 – Adjust Firewall on CentOS 8
  • Step 5 – Accessing Webmin Web Interface

Step 1 – Create the Repository File

First of all, create the repository file because installing Webmin on CentOS 8 is to enable the Webmin repository and install the Webmin package using the dnf package manager.

Then execute the following command on command line or terminal to open above created file:

sudo nano /etc/yum.repos.d/webmin.repo

After that, add the following code into it:

[Webmin]
name=Webmin Distribution Neutral
#baseurl=https://download.webmin.com/download/yum
mirrorlist=https://download.webmin.com/download/yum/mirrorlist
enabled=1

Step 2 – Import the Webmin GPG key

Execute the following rpm command on command line or terminal to import webmin GPG key in centOS 8:

sudo rpm --import http://www.webmin.com/jcameron-key.asc

Step 3 – Install Webmin on CentOS 8

Install webmin on centOS 8 by executing the following command on command line or terminal:

sudo dnf install webmin

That’s all! we have successfully installed Webmin on your CentOS 8 server.

Step 4 – Adjust Firewall on CentOS 8

To be able to access the Webmin interface from a web browser, we need to open the Webmin port in server’s firewall.

And execute the following command on command line or terminal to allow traffic on port 10000:

sudo firewall-cmd --zone=public --add-port=10000/tcp
sudo firewall-cmd --runtime-to-permanent

Step 5 – Accessing Webmin Web Interface

Now, open browser and hit the following url into with server_ip or hostname + 1000 port to access webmin web interface:

https://your_server_ip_or_hostname:10000/

And after that, Login to the Webmin web interface using root user credentials.

Conclusion

Through this tutorial, we have learned how to install and use Webmin on centOS 8.

Images mentioned above related to CentOS are either copyright property of respective image owners.

Rabins Sharma Lamichhane

Rabins Sharma Lamichhane is senior ICT professional who talks about #it, #cloud, #servers, #software, and #innovation. Rabins is also the first initiator of Digital Nepal. Facebook: rabinsxp Instagram: rabinsxp

Leave a Reply

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