This article will help you to install and configure Webmin on CentOS, RHEL and Fedora systems. Kindly go through below steps. At the time of last update of this article Webmin 1.780 is the latest available version to download and install.
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://www.webmin.com/download/rpm/webmin-current.rpm
Install Webmin Using rpm Command
After downloading latest 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-*.rpm
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 [ or ] https://srv1.tecadmin.net:10000
Webmin Error: The Web Server is running in SSL mode
“The Web Server is running in SSL mode. Try the URL https://SERVER IP ADDRESS:10000/ instead.”
But the URL suggested by Webmin (using https) doesn’t open as well.
To fix this problem we have to disable the SSL mode for the control panel. Following are the steps to disable SSL mode and run webmin in normal mode.
- Login to Server via SSH
- Go to “/etc/webmin” directory
- Open miniserv.conf file in your Favorite editor. Miniserv.conf file contains configuration of Webmin Control Panel.
- Now Search for “ssl” and change fromssl=1
TOssl=0 - Restart webmin Service using “/etc/init.d/webmin restart“
- Now try to access Webmin using URL http://SERVER IP ADDRESS:10000/
Useful Commands:
How to Start/Stop Webmin Service
# /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
Note: It will not change your systems root password
# /usr/libexec/webmin/changepass.pl /etc/webmin root secretpassword