Tuesday, 18 February 2020

How to Install WebMin web interface on CentOS 8 using RPM Package




Webmin is a web-based interface for system administration for Linux systems and other distribution as well. User accounts, Apache, DNS, file sharing and other services can be managed by web browser using webmin tool.

This article describe, How to Install WebMin web interface on CentOS8 using RPM Package.

Step 1: Prerequisites: WebMin can be installed by RPM Package. Run the following command to install WebMin prerequisites:

[root@linuxcnf ~]# dnf install wget perl-Encode-Detect perl-Net-SSLeay perl-Data-Dumper
…………………….
Installed:
  perl-Encode-Detect-1.01-28.el8.x86_64        perl-Net-SSLeay-1.88-1.el8.x86_64        wget-1.19.5-8.el8_1.1.x86_64        perl-Data-Dumper-2.167-399.el8.x86_64

Complete!
[root@linuxcnf ~]#

Step 2: Download WebMin RPM Package: Run the following command to download WebMin RPM Package from WebMin Official site:

[root@linuxcnf ~]# wget http://www.webmin.com/download/rpm/webmin-current.rpm
--2020-02-18 17:32:58--  http://www.webmin.com/download/rpm/webmin-current.rpm
……………………..
HTTP request sent, awaiting response... 200 OK
Length: 23204616 (22M) [application/octet-stream]
Saving to: ‘webmin-current.rpm’

webmin-current.rpm            100%[============>]  22.13M  2.06MB/s    in 17s

2020-02-18 17:35:32 (1.28 MB/s) - ‘webmin-current.rpm’ saved [23204616/23204616]

[root@linuxcnf ~]#

Step 3: Package Installation: Run the following command to import GPG key and WebMin RPM Package installation:

[root@linuxcnf ~]# rpm --import http://www.webmin.com/jcameron-key.asc
[root@linuxcnf ~]# rpm -Uvh webmin-current.rpm
Verifying...                          ########################## [100%]
Preparing...                          ########################## [100%]
Operating system is CentOS Linux
Updating / installing...
   1:webmin-1.941-1                   ####################### [100%]
Webmin install complete. You can now login to https://linuxcnf:10000/ as root with your root password.
[root@linuxcnf ~]#

Step 4: Configure Firewall: Run the following command to allow access port 10000 from the operating system firewall:

[root@linuxcnf ~]# firewall-cmd --zone=public --add-port=10000/tcp --permanent
success
[root@linuxcnf ~]# firewall-cmd --reload
success
[root@linuxcnf ~]#

Step 5: Verify the Installation: Now access the Webmin URL https://< IP Address / Hostname >:10000/ and use root username and password.
  



















Done!!! WebMin installation is done.

No comments:

Post a Comment