Webmin is a web hosting control panel like Cpanel which provides easy to use interface for managing Unix-like systems. It provides options to setup user accounts, Apache, DNS, file sharing and much more. It is the best web control panel which is freely available.
This article will help you to install and configure Webmin on CentOS, RHEL, and Fedora systems. Kindly go through the below steps. At the time of the last update of this article
Download Webmin RPM
Webmin RPMs are available on its official site. Download it from there or use below command to download. Webmin provides a 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://www.webmin.com/download/rpm/webmin-current.rpm
Install Latest Webmin
After downloading the latest Webmin rpm, use the following command to install or update it. You must import GPG key before installing Webmin packages on your system.
rpm --import jcameron-key.asc rpm -Uvh webmin-current.rpm
Access Webmin in Browser
Webmin by default works on port 10000. Access your server on port 10000 using FQDN or IP, and log in with username root and system root password.
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 a 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.