User Tools

Site Tools


wiki:install_webmin_on_centos

Background

The following steps will install the manual RPM version of webmin on CentOS.

Ideal Prerequisites

Software you should have installed before attempting this task

  • CentOS 7

Caveats

  • firewall will prevent access to Webmin

Install Instructions

Update your system:

sudo yum -y update

Download and install latest webmin RPM

wget http://www.webmin.com/download/rpm/webmin-current.rpm

Install dependencies:

sudo yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty perl-Encode-Detect

Install Webmin:

sudo rpm -U webmin-current.rpm

Configuration Instructions

Start Webmin:

sudo service webmin start

Enable Webmin on system boot:

sudo chkconfig webmin on

Firewall Configuration

Determine if you are running firewalld:

sudo systemctl status firewalld

or

Continue following this chapter if previous output is similar otherwise the install is finished;

● firewalld.service - firewalld - dynamic firewall daemon
   Loaded: **loaded** (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
   Active: **active (running)** since Sat 2017-12-02 18:18:31 MST; 1h 23min ago
     Docs: man:firewalld(1)
 Main PID: 749 (firewalld)
   CGroup: /system.slice/firewalld.service
           └─749 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid

Determine the correct zone:

sudo firewall-cmd --get-active-zones

Based on the output from the previous step use one of the following codes:

If output showed public:

sudo firewall-cmd --permanent --zone=public --add-port=10000/tcp

or

If output showed DMZ:

sudo firewall-cmd --permanent --zone=dmz --add-port=10000/tcp

Reload firewall:

sudo firewall-cmd --reload

Verify the port is open:

sudo firewall-cmd --list-ports

References

Discussion

Enter your comment. Wiki syntax is allowed:
If you can't read the letters on the image, download this .wav file to get them read to you.
 
wiki/install_webmin_on_centos.txt · Last modified: 2019/08/04 01:20 by ctv_admin