webmin

----

Webmin on RHEL 8 / CentOS 8

 /etc/rc.d/init.d/webmin restart

 /etc/rc.d/init.d/usermin restart

dnf -y install perl perl-Net-SSLeay  perl-Encode-Detect openssl

yum -y install @perl

Add repository content to your RHEL / CentOS 8 system.

tee  /etc/yum.repos.d/webmin.repo<<EOF [Webmin] name=Webmin Distribution Neutral baseurl=https://download.webmin.com/download/yum enabled=1 EOF

Then import repository GPG key:

#  sudo rpm --import http://www.webmin.com/jcameron-key.asc

#  dnf install webmin -y

systemctl daemon-reload

systemctl enable webmin

systemctl restart webmin

                                                   ------------------------------------------x-----------------------------

Usermin-Webmail

http://www.webmin.com/uwebmail.html

wget http://prdownloads.sourceforge.net/webadmin/usermin-webmail-1.791-1.noarch.rpm

systemctl daemon-reload

systemctl enable usermin

systemctl restart usermin

Installing Webmin via RPM

dnf update

Download Webmin RPM binary installer from the downloads page.

wget https://prdownloads.sourceforge.net/webadmin/webmin-1.930-1.noarch.rpm

Install the required perl dependencies.

dnf install perl perl-Net-SSLeay openssl perl-Encode-Detect

Next, install Webmin.

rpm -ivh webmin-1.930-1.noarch.rpm

... Operating system is CentOS Linux Updating / installing...    1:webmin-1.930-1                   ################################# [100%] Webmin install complete. You can now login to https://centos8.kifarunix-demo.com:10000/ as root with your root password.

Install Webmin via Webmin YUM Repository

Webmin can also be installed on CentOS 8 via the Wen YUM repos. Run the command below to create Webmin repository on CentOS 8.

cat << EOF > /etc/yum.repos.d/webmin.repo [Webmin] name=Webmin Distribution Neutral mirrorlist=https://download.webmin.com/download/yum/mirrorlist enabled=1 EOF

Next, install the repository signing key.

wget http://www.webmin.com/jcameron-key.asc rpm --import jcameron-key.asc

Run system update

dnf update

Install Webmin

dnf install webmin

Dependencies resolved. =======================================================================================================================================================  Package                                    Arch                           Version                             Repository                         Size ======================================================================================================================================================= Installing:  webmin                                     noarch                         1.930-1                             Webmin                             22 M Installing dependencies:  perl-Encode-Detect                         x86_64                         1.01-28.el8                         AppStream                          90 k  Transaction Summary ======================================================================================================================================================= Install  2 Packages  Total download size: 22 M Installed size: 79 M Is this ok [y/N]: y

...   Installing       : webmin-1.930-1.noarch                                                                                                         2/2    Running scriptlet: webmin-1.930-1.noarch                                                                                                         2/2  Webmin install complete. You can now login to https://centos8.kifarunix-demo.com:10000/ as root with your root password. ...

The default administrative user for webmin is the system root user.

Accessing Webmin

You can access webmin via the address https://<server-hostname>:10000/.

If FirewallD is running, open this port on the current active zone to allow remote access.

To get the active firewalld zone;

firewall-cmd --get-active-zones libvirt   interfaces: virbr0

firewall-cmd --zone=libvirt --add-port=10000/tcp --permanent

firewall-cmd --reload

----------