HOW TO INSTALL WEBMIN ON CENTOS 7 LINUX

Webmin is a free, open source web based Linux administration control panel that can be used to control your Linux system from the web browser. Especially if you are not very familiar with the Linux command line, you can use Webmin as a graphical user interface for Linux server administration.

The latest version of Webmin support CentOS 7. So in this tutorial we will show you how to install and configure Webmin on CentOs 7.

Step One

Add CentOS Webmin Repository

First of all we need to configure Webmin repository for CentOS 7. Once we have the repository, we can install Webmin on CentOS 7 using yum install command.

So let's create the repository file inside /etc/yum.repos.d directory  with .repo file extension. And we will use vim command line text editor.

vim /etc/yum.repos.d/webmin.repo

Now add the following lines to the repository file we created.

[webmin]

name=Webmin Distribution Neutral

baseurl=http://download.webmin.com/download/yum

enabled=1

gpgcheck=1

gpgkey=http://www.webmin.com/jcameron-key.asc

Step Two

yum install webmin

Ok, now we have added the repository. Now we can do the installation using yum command. Open the terminal and execute the following command.

yum install webmin

HOW TO INSTALL WEBMIN ON CENTOS 7 LINUX
Step Three

Configure CentOS 7 Firewalld

The Webmin control panel uses TCP port 10000 for web access. So we need to open the TCP port 10000 from CentOS firewall, if we want to access the control panel from a remote computer. open the terminal and execute the following command to allow TCP port 10000 from the firewall.

firewall-cmd --permanent --add-port=10000/tcp

firewall-cmd --reload

Now the installation is finished, open the web browser and type https://serveripaddress:10000 on the address bar to access CentOS Webmin control panel.

For example, If the server ip address is 192.168.1.10, you should type

https://192.168.1.10:10000

Then use the root username and password to login to the control panel

Username : root

Password : root password.

CentOS Webmin control panel

CentOS Webmin control panel allows almost all administrative tasks through the web based GUI. Some useful configuration tasks include.

  • Users and Groups managements
  • Software Updates
  • Schedule Cron Jobs
  • Mail Server Configurations
  • Network and firewall management
  • Install and configuration of Apache web servers.