Tuesday, 18 February 2020

How to Install WebMin web interface on CentOS 8 using YUM Repo



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 YUM Repo.

Step 1: Configure Webmin Repo: Create a file /etc/yum.repos.d/webmin.repo and put the following contents in the file:

[root@linuxcnf ~]# vi /etc/yum.repos.d/webmin.repo
[Webmin]
name=Webmin Distribution Neutral
mirrorlist=https://download.webmin.com/download/yum/mirrorlist
enabled=1
[root@linuxcnf ~]#

Now run the following command to import GPG key to secure repository:

[root@linuxcnf ~]# rpm --import http://www.webmin.com/jcameron-key.asc
[root@linuxcnf ~]#

Step 2: Installation: Run the following command to install WebMin tool using yum repository:

[root@linuxcnf ~]# dnf install webmin
CentOS-8 - AppStream                                                         1.2 kB/s | 4.3 kB     00:03
……………………..
  Installing       : webmin-1.941-1.noarch                                                     4/4
  Running scriptlet: webmin-1.941-1.noarch                                              4/4
Webmin install complete. You can now login to https://linuxcnf:10000/ as root with your root password.

  Verifying        : perl-Encode-Detect-1.01-28.el8.x86_64                           1/4
  Verifying        : perl-Net-SSLeay-1.88-1.el8.x86_64                                  2/4
  Verifying        : perl-Data-Dumper-2.167-399.el8.x86_64                        3/4
  Verifying        : webmin-1.941-1.noarch                                                     4/4

Installed:
  webmin-1.941-1.noarch         perl-Encode-Detect-1.01-28.el8.x86_64         perl-Net-SSLeay-1.88-1.el8.x86_64         perl-Data-Dumper-2.167-399.el8.x86_64

Complete!
[root@linuxcnf ~]#

Step 3: 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 4: 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