Articles

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 the owner of RabinsXP who is constantly working for increasing the Internet of Things (IoT) in Nepal. He also builds android apps and crafts beautiful websites. He is also working with various social services. The main aim of Lamichhane is to digitally empower the citizens of Nepal and make the world spiritually sound better both in terms of technology and personal development. Rabins is also the first initiator of Digital Nepal.

Related Articles

Leave a Reply

Your email address will not be published.

Back to top button