Table of Contents
What you will read?
Webmin is a popular web-based control panel that allows Linux users to manage servers through a browser. It helps you handle system tasks like user management, software updates, and firewall configuration easily. In this guide, you’ll learn how to install Webmin on CentOS 8 step-by-step.
Step 1: Update Your System
Before installing Webmin, make sure your CentOS 8 system is up to date to avoid any compatibility issues.
sudo dnf update -y
Step 2: Install Required Dependencies
Before installing Webmin, make sure that essential packages like wget and perl are installed, as they are required for downloading and running the Webmin service properly.
sudo dnf install wget perl -y
Step 3: Add the Webmin Repository
Next, add the official Webmin repository to your CentOS 8 system so you can install it directly using dnf.
sudo wget http://www.webmin.com/jcameron-key.asc
sudo rpm --import jcameron-key.asc
sudo tee /etc/yum.repos.d/webmin.repo <<EOF
[Webmin]
name=Webmin Repository
baseurl=http://download.webmin.com/download/yum
enabled=1
gpgcheck=1
gpgkey=http://www.webmin.com/jcameron-key.asc
EOF
Step 4: Install Webmin
Once the repository is added, install Webmin using the following command:
sudo dnf install webmin -y
Step 5: Adjust Firewall to Allow Webmin
Since Webmin runs on port 10000 by default, you need to open this port in the firewall to ensure that you can access the Webmin dashboard remotely through your browser.
sudo firewall-cmd --permanent --add-port=10000/tcp
sudo firewall-cmd --reload
Step 6: Access Webmin
After installation and firewall configuration, you can easily access the Webmin control panel through your browser to manage and monitor your CentOS 8 system.
https://your-server-ip:10000
