CentOS Linux Redhat RHEL

How to Install Webmin on CentOS 7 / RHEL 7

Webmin is a web based tool for system administrator for unix/Linux and its compatible on any modern browser like chrome, firefox and etc. it helps to manage services like DHCP,DNS MySQL, PostgrSQL, Network Services, firewall services, user management and disk management, with Webmin its easy for a System Admin to manage  those services  , . In this article we will guide you how to install Webmin on CentOS or RHEL 7.
 
1. To install Webmin on CentOS, login to your server via SSH and create a repo for webmin.
Create a new file webmin.repo in /etc/yum.repo.d/

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

and paste the following line.

[Webmin]
name=Webmin Distribution Neutral
#baseurl=http://download.webmin.com/download/yum
mirrorlist=http://download.webmin.com/download/yum/mirrorlist
enabled=1

2. Download and install webmin gpg key with the following command.

wget http://www.webmin.com/jcameron-key.asc

import the key

rpm --import jcameron-key.asc

3. After importing the key you can now install webmin with the following command.

yum install webmin -y

4. Start the webmin services and make it auto start at system startup.

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

5.By default Webmin listens on port number 10000 , for security reason and you need to allow port 10000 in your firewall to access webminn:

iptables -I INPUT -p tcp --dport 10000 -j ACCEPT ;
/etc/init.d/iptables save

6. Now visit http://your-ip-address:10000 in your browser and you should see the login panel for webmin and it will ask for user and password.
Note: Use root username and password for admin. For example in my case: http://192.168.216.17:10000
webminpanel
 
 
webminlogin
For more info about webmin visit the official website:
http://www.webmin.com/index.html
Thats all, enjoi.

Post Comment