How to Install Webmin on CentOS 7

Updated on

3 min read

Install Webmin on CentOS 7

Webmin is an open-source web control panel for system administration for Linux/UNIX. Webmin allows you to manage users, groups, disk quotas as well as configure most popular services including web, FTP, email and database servers.

This tutorial describes how to install Webmin on a CentOS 7 server.


Before continuing with this tutorial, make sure you are logged in as root or user with sudo privileges .

Installing Webmin on CentOS

The easiest and recommended way to install Webmin on CentOS machines is to enable the Webmin repository and install the Webmin package through the command line.

Complete the following steps to install Webmin on CentOS:

  1. Open your editor of choice and create the following repository file:

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

    Paste the following content into the file:

    name=Webmin Distribution Neutral

    Save the file and close the editor.

  2. Next, import the Webmin GPG key using the following command:

    sudo rpm --import
  3. Install the latest version of Webmin by typing:

    sudo yum install webmin

    All dependencies will be resolved automatically. Once the installation finishes, the following output will be displayed:

    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.

That’s it! At this point, you have successfully installed Webmin on your CentOS 7 server.

Adjust the Firewall

By default, Webmin listens for connections on port 10000 on all network interfaces.

If you have a firewall running on your CentOS server, you’ll need to open the Webmin port.

To allow traffic on port 10000 run the following commands:

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

Accessing Webmin Web Interface

Now that Webmin is installed on your CentOS server open your favorite browser and type your server’s hostname name or public IP address followed by the Webmin port 10000:


The browser will complain about the certificate being not valid because by default, Webmin uses an untrusted self-signed SSL certificate .

Login to the Webmin web interface using your root or sudo user credentials:

Webmin Login Form

Once you log in, you will be redirected to the Webmin dashboard, which provides basic information about your system.

Webmin Dashboard

From here, you can start configuring and managing your CentOS 7 server as per your requirement.


You have successfully installed Webmin on your CentOS 7 machine. You can now install FTP server or LAMP /LEMP stack and start managing the services through the Webmin web interface.

To learn more about Webmin, visit their official documentation page.

If you have any questions, please leave a comment below.