How to Install Webmin on CentOS 8

Install Webmin on CentOS 8

In this article, we will have explained the necessary steps to install Webmin on CentOS 8. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

Webmin is a web-based interface for system administration for Unix. After installing Webmin on your system you are able to manage users, groups, disk quotas, create files and directories as well as configure most popular services including web, FTP, email and database servers.

Install Webmin on CentOS

Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.

sudo dnf update

Step 2. Install Webmin.

Open your nano text editor and create the repository file:

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

Paste the following command:

name=Webmin Distribution Neutral

Then, import the Webmin GPG key using the following rpm command:

sudo rpm --import

Now, Install the latest version of Webmin using following command:

sudo dnf install webmin

The output should look like the following:

Webmin install complete. You can now login to https://your_server_ip_or_hostname:10000/
as root with your root password.

The Webmin service will start automatically.

Step 3. Setup Firewall for Webmin

Now if you are running firewall on CentOS machine then you need to open port 10000 because by default Webmin listens on port 10000:

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

Step 4. Accessing Webmin Web Interface.

Now to access Webmin open following link in your favorite browser using the following URL. The below URL contains hostname or IP address of your server followed by port number 10000 which is by default for Webmin:


Congratulation, you have learned how to install Webmin on CentOS 8. If you have any question, please leave a comment below.