Skip to main content

CWP: How to Install Latest Webmin 1.90 on CentOS 7.6

Webmin is a modern, web control panel for any Linux machine. It allows you to administer your server through an simple interface. It’s one of the most popular open source hosting control panels.

Webmin is largely based on Perl, running as its own process and web server. It defaults to TCP port 10000 for communicating, and can be configured to use SSL if OpenSSL is installed with additional required Perl Modules.

In this tutorial we are going to show you, how to install Latest Webmin on CentOS 7 along with CentOS Webpanel . It is really an easy task, just follow the steps bellow.


Prerequisites

To complete this tutorial, you will need:
1. CentOS Linux release 7.6.1810 (Core)
2. CWP7.admin , CWP version: 0.9.8.772
3. CSF Firewall

Update the yum packages before Webmin installation
# yum clean all
# rm -rf /var/cache/yum
# yum repolist
# yum update -y  
Create Webmin repo
# vi /etc/yum.repos.d/webmin.repo

[Webmin]
name=Webmin Distribution Neutral
#baseurl=https://download.webmin.com/download/yum
mirrorlist=https://download.webmin.com/download/yum/mirrorlist
enabled=1

:x 
Now add the Webmin author's PGP key so that your system will trust the new repository:
# wget http://www.webmin.com/jcameron-key.asc
# rpm --import jcameron-key.asc 
Install Some dependencies Packages
# yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty perl-Encode-Detect
# yum -y install perl-Digest-MD5 
Install webmin
# yum update -y
# yum install webmin -y 
Basic Webmin Command
# /etc/webmin/stop
# /etc/webmin/start
# /etc/webmin/restart 
# /etc/rc.d/init.d/webmin status
# /etc/rc.d/init.d/webmin start

# /etc/init.d/webmin  start
# /etc/init.d/webmin  restart

# systemctl enable webmin 
# systemctl restart webmin
# systemctl status webmin 
# systemctl status webmin  -l
Allow the webmin port on CSF Firewall:
# vi /etc/csf/csf.conf 

# Allow incoming TCP ports
TCP_IN = "10000,20,21,25,53,80,110,143,443,465,587,993,995,2030,2031,2082,2083,2086,2087,2095,2096"

Restart the CSF and LFD services:
# systemctl restart csf.service
# systemctl restart lfd.service

OR Restart CSF
# csf -r
Important Webmin File Location:
Default port: 10000
Logfile /var/webmin/miniserv.log
Errorlog /var/webmin/miniserv.error
Pidfile /var/webmin/miniserv.pid
Configuration File /etc/webmin/miniserv.conf

Login URL:
https://SERVER_IP:10000
https://SERVER_FQDN:10000

Comments