Webmin is a web hosting control panel like Cpanel which provides easy to use interface for managing Unix-like systems. It provides options to set up user accounts, Apache, DNS, file sharing and much more. It is the best web control panel that 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
Prerequsities
The following are the optional dependencies for the Webmin. You can install them using below command:
yum -y install wget perl perl-Net-SSLeay openssl perl-IO-Tty perl-Encode-Detect perl-Data-Dumper
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 the 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 the 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.
https://localhost :10000
FAQs:-
How to Start/Stop Webmin Service
Webmin provides an init script to start or stop its service. Use the 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 the below steps to change the default port.
Login Webmin as root >> Webmin >> Webmin Configuration >> Ports and Addresses… you can change port there.
18 Comments
Okay, found another article and installed the prereqs. So far so good.
Thanks.
Hi, Downloaded the files referenced. Trying to install it, but getting these errors, please advise:
[[email protected] ~]# cd /opt
[[email protected] opt]# ls
jcameron-key.asc quest rh storix webmin-current.rpm
[[email protected] opt]# rpm –import jcameron-key.asc
[[email protected] opt]# rpm -Uvh webmin-current.rpm
error: Failed dependencies:
perl(Net::SSLeay) is needed by webmin-1.920-1.noarch
perl(Encode::Detect) is needed by webmin-1.920-1.noarch
[[email protected] opt]# rpm -qa | grep perl
perl-libs-5.16.3-294.el7_6.x86_64
perl-Filter-1.49-3.el7.x86_64
perl-PathTools-3.40-5.el7.x86_64
perl-Data-Dumper-2.145-3.el7.x86_64
perl-Git-1.8.3.1-20.el7.noarch
perl-Pod-Usage-1.63-3.el7.noarch
perl-Time-Local-1.2300-2.el7.noarch
perl-Carp-1.26-244.el7.noarch
perl-Thread-Queue-3.02-2.el7.noarch
perl-podlators-2.5.1-3.el7.noarch
perl-Encode-2.51-7.el7.x86_64
perl-threads-1.87-4.el7.x86_64
perl-Time-HiRes-1.9725-3.el7.x86_64
perl-File-Temp-0.23.01-3.el7.noarch
perl-Socket-2.010-4.el7.x86_64
perl-Error-0.17020-2.el7.noarch
perl-TermReadKey-2.30-20.el7.x86_64
perl-Pod-Escapes-1.04-294.el7_6.noarch
perl-5.16.3-294.el7_6.x86_64
perl-HTTP-Tiny-0.033-3.el7.noarch
perl-Text-ParseWords-3.29-4.el7.noarch
perl-Exporter-5.68-3.el7.noarch
perl-threads-shared-1.43-6.el7.x86_64
perl-Scalar-List-Utils-1.27-248.el7.x86_64
perl-Getopt-Long-2.40-3.el7.noarch
perl-Test-Harness-3.28-3.el7.noarch
perl-parent-0.225-244.el7.noarch
perl-constant-1.27-2.el7.noarch
perl-Pod-Simple-3.28-4.el7.noarch
perl-macros-5.16.3-294.el7_6.x86_64
perl-srpm-macros-1-8.el7.noarch
perl-Pod-Perldoc-3.20-4.el7.noarch
perl-Storable-2.45-3.el7.x86_64
perl-File-Path-2.09-2.el7.noarch
perl-XML-Parser-2.41-10.el7.x86_64
Thanks.
Try below:
yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty perl-Encode-Detect
It is helpful. Thanks
Thanks
Parabéns, e muito obrigado ajudo bastante.
ok thank yu… nice…. !!!
Thanks for this excelente tutos
for clean centos firstly run this commend :
yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty
Thank You 😉
What is the best way to set this up as an httpd/apache vhost so its managed by apache instead of webmin service?
Thanks for the good article. Very simple.
dnf install perl-Net-SSLeay
must be launched BEFORE this tutorial, or a dependency check will fail.
SSL is not working. i can login only normally. Any help?
Finally, webmin installed on my server, This tutorial is very helpful.
This article is very helpful me.
Good tutorial. Only suggestion would be to add a note about disabling the firewall temporarily to allow access to view Webmin in the browser. Once in, change the port from 10000 and check the box to “Open new ports on firewall”, then enable the firewall again and all will be good.
Great One, Helped Me A Lot . Thanks 🙂
Excelente tutorial,obrigado!