Installing Webmin on CentOS 7 and configure firewall

Some days ago I described the steps involved in configuring a CentOS WebServer VM with virtual hosts here manually. In this post I will describe the steps involved to install Webmin .

Creating a repository file for Webmin

cd /etc/yum.repos.d/

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

Install Webmin GPG key

rpm --import http://www.webmin.com/jcameron-key.asc

Update Repositories

yum check-update
Update Repos
Update Repos

Install Webmin

yum -y install webmin

Add to startup

chkconfig webmin on

Start the service

service webmin start

Enable webmin port in firewall

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

 

Open in browser

https://192.168.101.39:10000/ where 192.169.101.39 is your VM IP (ip addr)

 

Trust and Add
Trust and Add
Add exception
Add exception
Webmin Login
Webmin Login

 

Use same credentials used to admin the VM

Webmin Dashboard
Webmin Dashboard

 

 

Please like & share:

Leave a Reply