Sunday 14 September 2014

How to Install Webmin on CentOS/RHEL 6/5 and Fedora 20/19

Webmin is a web-based interface for managing Unix like systems. Its provides options to setup user accounts, Apache, DNS, file sharing and much more. All recent versions of webmin are under a BSD-like licence.
webmin-large-image
This article will help you to install and configure Webmin on CentOS, RHEL and Fedora systems. Kindly go through below steps.
Step 1: Download Webmin RPM
Webmin rpms are available on its official site. Download it from there or use below command to download. Webmin provide noarch file, so i can be easily installed on any architecture system. Also download GPG key for webmin
# cd /opt
# wget http://www.webmin.com/jcameron-key.asc
# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.680-1.noarch.rpm
Step 2: Install Webmin Using rpm Command
After downloading webmin rpm, use following command to install or update it. Before installing webmin import the PGP key.
# rpm --import jcameron-key.asc
# rpm -Uvh webmin-1.680-1.noarch.rpm
Step 3: Access Webmin in Browser
Webmin by default works on port 10000. Access your server on port 10000 using FQDN or IP, and login with username root and system root password.
http://srv1.tecadmin.net:10000

webmin-install

FAQs:-

How to Start/Stop Webmin Service

Webmin provides an init script to start or stop its service. Use below commands to do it.
# /etc/init.d/webmin start
# /etc/init.d/webmin stop
# /etc/init.d/webmin restart
# /etc/init.d/webmin status

How to Change/Reset Webmin root Password

In order to change webmin root account password use following command. ( Note: It will not change your systems root password )
# /usr/libexec/webmin/changepass.pl /etc/webmin root secretpassword

How to Change Webmin default Port

If you do not want to run webmin with default port, use below steps to change the default port.
Login Webmin as root >> Webmin >> Webmin Configuration >> Ports and Addresses… you can change port there.

No comments:

Post a Comment