How to Install Webmin Server on CentOS 7 and You can Access it on LAN Network - MS&Linux

Breaking

Saturday, March 9, 2019

How to Install Webmin Server on CentOS 7 and You can Access it on LAN Network

Recently i have faced many issues while installing and troubleshooting Webmin server on my CentOS 7 virtual machine.
I am using KVM for my Virtualization on other hand you can use which ever you thing is easy for you to understand.
First thing i would recommend you guys is that, make you habit to read documents of Official websites of Webmin server, they already explain enough to us that if we follow them step by step than you are almost done installing you server.
Well i am here because i few things should be explained from my side which i learned from online forums and here you can get what you are looking for.
I am not going to explain Webmin server here, if you want to take a look than visit their official website Webmin.

Step 1: Create a Repo for Webmin

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

Copy and Paste below lines and save this file.
[Webmin]
name=Webmin Distribution Neutral
#baseurl=http://download.webmin.com/download/yum
mirrorlist=http://download.webmin.com/download/yum/mirrorlist
enabled=1

Step 2: Add webmin Author's PGP key so that your system will trust the New repository and update it.

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

Step 3: Install and Start Webmin Server.

yum install webmin -y
chkconfig webmin on
service webmin start

Step 4: Add Webmin Port and Service in Firewall of CentOS to make sure it works properly.
firewall-cmd --add-port=10000/tcp

Step 5: Running Webmin in SSL mode.
Well, nobody want to use Webmin without SSL. So just add the correct stuff, if not already installed.
yum install openssl
yum install openssl-devel
yum install perl
yum install perl-Net-SSLeay perl-Crypt-SSLeay
FYI: http://www.webmin.com/ssl.html

Step 6: Congrats your Webmin server is running now.
  • Open your Local Browser.
  • https://yourIP:10000 or https://ServerName:10000 or https://localhost.localdomain:10000/
  • UserName:root and Password: your root password.

Note: Your webmin server is ready at least if you are facing any issue regarding accessing your Webmin server from outside of your Local machine than try few things, first try to access without SSL, second try to Stop you firewall and before doing this make sue you can PING your Webmin server from your LAN network.

No comments:

Post a Comment