Webmin Automated Script for CentOS


#!/bin/bash

Updating System
yum -y update

Downloading Package
wget http://prdownloads.sourceforge.net/webadmin/webmin-1.750-1.noarch.rpm

Install Requirements
yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty

Installing Webmin
rpm -U webmin-1.750-1.noarch.rpm

Flushing & Saving Iptables
sudo iptables -I INPUT -p tcp –dport 10000 -j ACCEPT
sudo service iptables save

Re-Starting the Service
/etc/init.d/webmin status
/etc/init.d/webmin restart

How to Change/Reset Webmin root Password
/usr/libexec/webmin/changepass.pl /etc/webmin root webmin

Installation is Completed
To Check the WEBMIN http://Ip-address:10000

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s