How To Install Webmin on CentOS 8

Install Webmin on CentOS 8

In this tutorial, we will show you how to install Webmin on CentOS 8. For those of you who didn’t know, Webmin is a free control panel for managing VPS. Webmin is a web-based interface that is used to manage the VPS web hosting server. With the help of Webmin, you can set up a user account, Apache, DNS and file sharing, and other actions. Webmin is very suitable for beginners who do not know much about the Unix or Linux command line.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of Webmin on a CentOS 8 server.


  • A server running one of the following operating systems: CentOS 8.
  • It’s recommended that you use a fresh OS install to prevent any potential issues.
  • SSH access to the server (or just open Terminal if you’re on a desktop).
  • A non-root sudo useror access to the root user. We recommend acting as a non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.

Install Webmin on CentOS 8

Step 1. First, let’s start by ensuring your system is up-to-date.

sudo dnf clean all
sudo dnf update

Step 2. Installing Webmin on CentOS 8.

  • Method 1. Installing Webmin via RPM.

Install the required perl dependencies:

dnf install perl perl-Net-SSLeay openssl perl-Encode-Detect

Next, download Webmin RPM binary installer from the downloads page.


Then, install the latest version of Webmin using the following command:

rpm -ivh webmin-1.930-1.noarch.rpm
  • Method 2. Installing Webmin using YUM.

Webmin isn’t available in the default CentOS repositories, you must add its repository to your system before installing. To do that, run the commands below to create a repository file for Webmin:

cat << EOF > /etc/yum.repos.d/webmin.repo
name=Webmin Distribution Neutral

We’ll need to install the Webmin GPG key now, using the following command:

rpm --import jcameron-key.asc

Now we install Webmin Control Panel using the following command:

sudo dnf update
sudo dnf install webmin

By default, Webmin will listen on port 10000. Enable Webmin port:

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

Step 3. Access Webmin Web Interface.

Finally, we can access the Webmin panel using our web browser. Webmin uses 10000 as its default port. Type this into our URL address web browser. https://your-ip-address:10000 then login as superuser or root access privileges. If you are using a firewall, please open ports 80 and 10000 to enable access to the control panel.

Install Webmin on CentOS 8

Congratulations! You have successfully installed Webmin. Thanks for using this tutorial for installing the Webmin control panel in CentOS 8 system. For additional help or useful information, we recommend you to check the official Webmin website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!