How to Install Webmin on CentOS 7

Webmin is a popular open source web hosting control panel alternatives to cPanel and very portable with a Linux operating system. Almost all popular distribution of Linux Operating system support Webmin control panel. It allows you to manage FTP, Database, users, Disk Quota of a hosting server. It is a web-based system administration tools for managing web hosting servers.

Although Webmin is most portable on Linux Operating system. But it also can be installed on windows system. In this Tutorial, We will learn how to install Webmin on CentOS 7.

Install Webmin on CentOS 7 - PrograCoding

Install Webmin On CentOS 7

Installing Webmin on CentOS is really a very easy task. Follow the simple steps to successfully install and run Webmin on your CentOS based web server.

Note that you can install Webmin either manually from the interface or you can also use command line operation. We will use the command line tool to install Webmin. it will be easier.

To start the installation process, first of all, go to your terminal and access the root user privileges by using the su command.

Now before installing Webmin, we will create a Webmin repository file called webmin.repo under etc/yum.repos.d/ directory. Run the following command to create a repository file for Webmin.

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

This command will open the nano text editor in your terminal and create the repository file:

Then paste the ini configuration file from the below:

name=Webmin Distribution Neutral

Save this file and exit the text editor.

You have successfully installed the Webmin repository file. Now we will add/import the GPG Jcameron key for authenticating the Webmin. Enter the following command in your terminal to do that:

$ sudo rpm –import

Now finally it is time to install the latest version Webmin server on your system. To install via a single command run the following command:

$ sudo yum install webmin

The above command will start downloading the necessary Webmin files and dependencies and after downloading it will be automatically installed. When it is completed you will get the following output in your terminal:

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

If you install on your local system then the output will be:

Webmin install complete. You can now login to http://localhost.localdomain:10000/
as root with your root password.

Congratulation! You have successfully installed the Webmin server on your CentOS 7 machine if you get a message like above.

Access Webmin Web Interface

After installing Webmin on your system, it will be started automatically. That’s mean you can access the web interface of Webmin right now. To access to Webmin, open a web browser and type the following URL:


After entering the URL you will get the login interface as follows:

Access Webmin Web Interface - PrograCoding

Now use username as root by default and enter your computer root password then hit the sign button. You will be redirected to the Webmin dashboard. Now you can manage your entire server throughout the Webmin web interface.

Stop and Start Webmin Server

If you want to stop the Webmin server type the following in your terminal. Make sure you have the root access privileges in your terminal.

$ /etc/webmin/stop

In the same way, if you want to start the server again simply type the following in your terminal:

$ /etc/webmin/start


Hope that it worked! 🙂  

Posted in