Red hat linux Web Hosting

How to Install Webmin on CentOS/RHEL

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.

The Web Server is running in SSL mode
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.

  1. Login to Server via SSH
  2. Go to “/etc/webmin” directory
  3. Open miniserv.conf file in your Favorite editor. Miniserv.conf file contains configuration of Webmin Control Panel.
  4. Now Search for “ssl” and change fromssl=1
    TOssl=0

     

  5. Restart webmin Service using “/etc/init.d/webmin restart
  6. Now try to access Webmin using URL http://SERVER IP ADDRESS:10000/
  7. Webmin Control Panel

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

Loading

Leave a Reply

Your email address will not be published. Required fields are marked *