How to install Webmin in CentOS?

This tutorial will cover Webmin RMP download and install with dependencies. Lets began the steps.

  • For download go to the official download page https://www.webmin.com/download.html

  • Find the section RPM suitable for Redhat, Fedora, CentOS, SuSE or Mandrake Linux, because we are going to install at CentOS 8

  • Download the RPM file by the below command, (when we created this tutorial the version was 1.98)

cd /tmp
wget https://prdownloads.sourceforge.net/webadmin/webmin-1.981-1.noarch.rpm
  • If the wget command not found then please run the below command for install wget

dnf update -y
dnf install -y wget
  • For install please follow the below commands

cd /tmp
dnf install -y perl perl-Net-SSLeay openssl perl-Encode-Detect
dnf localinstall -y webmin-1.981-1.noarch.rpm

It will install the webmin with dependency, wait until the installation process completed.

  • Adjust the Firewall for access webmin from outside

# For temporary
firewall-cmd --zone=public --add-port=10000/tcp
firewall-cmd --reload

# For permanent
firewall-cmd --zone=public --add-port=10000/tcp --permanent
firewall-cmd --reload