Setting up Webmin on Centos/RHEL7

What is Webmin?

It is a web-based interface for system administration for Unix/Linux. With Webmin you can setup nearly every single aspect of a server like DNS, file sharing, user accounts, Apache, process, packages etc..

Webmin tool offer to new system administrators to perform all system management task from via a web browser, Instead of using the command line console or terminal. You can also manage a system from the console or remotely.


Before the installation, please make sure you have root level permissions or sudo access to your system.

There are few steps to install Webmin on system, they are;
1) Install the Webmin Package.

To install or update Webmin, First create the new  “webmin.repo” file in “/etc/yum.repos.d/” directory and that containing;

#vi /etc/yum.repos.d/webmin.repo

name=Webmin Distribution Neutral


You should also download the GPG key and install, Using below the commands:


[root@server1 ~]# wget
--2016-10-22 06:06:12--
Resolving (
Connecting to (||:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1320 (1.3K) [text/plain]
Saving to: ‘jcameron-key.asc’

100%[===============================================>] 1,320       --.-K/s   in 0.03s   

2016-10-22 06:06:18 (44.3 KB/s) - ‘jcameron-key.asc’ saved [1320/1320]

[root@server1 ~]#

Import the key using command.

#rpm –import jcameron-key.asc

[root@server1 ~]# rpm --import jcameron-key.asc
[root@server1 ~]#

Clean the caches and List the all yum repositories, using below command.

#yum clean all && yum repolist list

[root@server1 ~]# yum clean all && yum repolist list

Now you will be able to install webmin package using below command.

#yum install webmin -y

[root@server1 ~]# yum install webmin 
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package webmin.noarch 0:1.820-1 will be installed

. . . .

Transaction Summary
Install  1 Package (+1 Dependent package)

Total download size: 28 M
Installed size: 75 M
Is this ok [y/d/N]: y

2) Start the service and make the service enable even after reboot of the server.

#/etc/init.d/webmin start and #chkconfig webmin on

[root@server1 ~]# /etc/init.d/webmin start
[root@server1 ~]# chkconfig webmin on
[root@server1 ~]#

3) Allow Webmin service port on firewall of the server.

By default Port of Webmin service is 10000/tcp. To enable on firewall refer below command.

[root@server1 ~]#firewall-cmd --add-port=10000/tcp  --permanent 
[root@server1 ~]#firewall-cmd --reload
[root@server1 ~]#

4) Access from web browser.

Open the web browser type the webmin server ip address with port(https://<Server_IPAddress:10000>) and enter your root username and password for login;



Hope this post will help Linux/Unix beginners. Please share you feedback and Comments.!!!

Read Also: Configure DNS Server Step-by-Step config Guide Using Webmin

Leave a Reply


This site uses Akismet to reduce spam. Learn how your comment data is processed.

Notify of