Setting up Webmin on CentOS 6.4

SETUP WEBMIN
INTRODUCTION

  • This will show you how to setup Webmin using yum repository in CentOS 6.4.
  • Webmin is an open source system administration and system configuration tool which provide you web-based interface to manage, administer and configure your server.
  • It provides graphical interface remote administration instead of manually editing the configuration using command line from putty or console.

INSTALLATION PROCESS

  • Enabling yum repository for Webmin
  • Create the /etc/yum.repos.d/webmin.repo file with the following contents
  •                        $vi /etc/yum.repos.d/webmin.repo
  • Add the following lines to the file

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

  • Fetch and install the GPG Key
  •                  $wget http://www.webmin.com/jcameron-key.asc
  •                  $rpm –import jcameron-key.asc
  • Run “yum install” command to install all required dependencies
  •                  $yum install webmin –y
  • By default Webmin runs on port 10000, therefore port 10000 need to be open in order to allow you to access web base interface remotely
  •                  $sudo iptables –I INPUT –m state –state NEW -m tcp –p tcp –dport 10000 –j ACCEPT
  •                  $sudo service iptables save
  •                  $sudo service iptables restart
  • Access and login to Webmin using URL – http://ip_address_of_server:10000
Advertisements