jaswanth03
9/12/2019 - 7:37 AM

server-webmin-setup-centos

Steps to be fallowed while setting up a new webmin interface in server

Follow this link : https://www.rosehosting.com/blog/how-to-install-webmin-on-centos-7/

STEP1: download webmin 
	# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.831-1.noarch.rpm

STEP2: install all dependencies
	# yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty

STEp3: Once the dependencies are installed, you can install Webmin using the following command:
	# rpm -U webmin-1.831-1.noarch.rpm

STEP4: Install Webmin using the YUM repository
	# nano /etc/yum.repos.d/webmin.repo

STEP5: Add the following content to the file and save it.
	[Webmin]
	name=Webmin Distribution Neutral
	#baseurl=http://download.webmin.com/download/yum
	mirrorlist=http://download.webmin.com/download/yum/mirrorlist
	enabled=1

STEP6: Then, fetch and install the GPG key which is used to sign the Webmin packages:
	# wget http://www.webmin.com/jcameron-key.asc
	# rpm --import jcameron-key.asc

STEP7: Finally, install Webmin and all the dependencies using the following command
	# yum install webmin

STEP8: To start Webmin, you can use the following command:
	# service webmin start

STEP9: To enable Webmin on system boot use the following command:
	# chkconfig webmin on
STEP10: Open up the default port of webmin 
	#  firewall-cmd --zone=public --add-port=10000/tcp --permanent

STEP11: Reoload the firewall
	# firewall-cmd --reload

STEP12: check it the port no '10000' is open or not
	# firewall-cmd --list-all 

STEP13: To access Webmin, open your favorite web browser, enter HTTPS as protocol, enter your server IP address and use 10000 as a port number.
	# https://YOUR-IP-ADDRESS:10000