How to Install Webmin on RHEL 8 / CentOS 8

(: January 6, 2019)

In this guide, we will cover the steps to Install Webmin on RHEL 8. Webmin is the leading open source web-based Linux/Unix system administration control panel.

With Webmin you can set up user accounts, manager Apache web server, DNS Server, samba and File configuration, email servers, package management, manage database servers e.t.c.

For Ubuntu / Debian, use:{text-align:left} img{margin:0 auto 0 0}

How to Install Webmin on Ubuntu 18.04 / 16.04 / Debian 9

How to Install Webmin on RHEL 8 / CentOS 8

In this section, we will consider the two methods of installing Webmin on RHEL 8.

But first, install Perl and required dependencies.

sudo yum -y install @perl

Method 1: Install Webmin on RHEL 8 Manually

I recommend you install Webmin on RHEL 8 from this method to get the latest installation of Webmin.

Visit Webmin releases page to check for the latest release of Webmin and download it.

sudo yum -y install wget

Uncompress downloaded file

tar xvf webmin-current.tar.gz
rm -f webmin-current.tar.gz

Move the resulting folder to

sudo mv webmin* /usr/local/webmin

Change your working directory to /usr/local/webmin/ and run Webmin installer script.

cd /usr/local/webmin/
sudo ./


  • Config file directory
  • Log file directory
  • Full path to Perl
  • operating system – type and version
  • Web server port (default 10000)
  • Login name (default admin)
  • Login password
  • SSL

See below installation output.

$ sudo ./

Welcome to the Webmin setup script, version 1.900 *

Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.
Installing Webmin in /usr/local/webmin …

Webmin uses separate directories for configuration files and log files.
Unless you want to run multiple versions of Webmin at the same time
you can just accept the defaults.
Config file directory [/etc/webmin]:
Log file directory [/var/webmin]:

Webmin is written entirely in Perl. Please enter the full path to the
Perl 5 interpreter on your system.
Full path to perl (default /usr/bin/perl):
Testing Perl …
Perl seems to be installed ok

For Webmin to work properly, it needs to know which operating system
type and version you are running. Please select your system type by
entering the number next to it from the list below
1) Pardus Linux 2) SmartOS 3) Sun Solaris
4) Lycoris Desktop/LX 5) Caldera OpenLinux eS 6) Caldera OpenLinux
7) Asianux Server 8) Asianux 9) Whitebox Linux
10) Tao Linux 11) CentOS Linux 12) Springdale Linux
13) Virtuozzo Linux 14) Scientific Linux 15) Gralinux
16) NeoShine Linux 17) Endian Firewall Linu 18) Oracle Enterprise Li
19) Oracle VM 20) XenServer Linux 21) CloudLinux
22) MostlyLinux 23) Cloudrouter Linux 24) Sangoma Linux
25) Redhat Enterprise Li 26) Redhat Linux Desktop 27) AlphaCore Linux
28) X/OS Linux 29) Haansoft Linux 30) cAos Linux
31) Wind River Linux 32) Amazon Linux 33) Redhat Linux
34) Fedora Linux 35) White Dwarf Linux 36) Slamd64 Linux
37) Slackware Linux 38) Xandros Linux 39) APLINUX
40) BigBlock 41) Ubuntu Linux 42) Mepis Linux
43) Devuan Linux 44) Raspbian Linux 45) Linux Mint
46) Debian Linux 47) SuSE OpenExchange Li 48) SuSE SLES Linux
49) SuSE Linux 50) United Linux 51) Corel Linux
52) TurboLinux 53) Cobalt Linux 54) Mandrake Linux Corpo
55) pclinuxos Linux 56) Mageia Linux 57) Mandrake Linux
58) Mandriva Linux 59) Mandriva Linux Enter 60) Conectiva Linux
61) ThizLinux Desktop 62) ThizServer 63) MSC Linux
64) SCI Linux 65) LinuxPPC 66) Trustix SE
67) Trustix 68) Tawie Server Linux 69) TinySofa Linux
70) Cendio LBS Linux 71) Ute Linux 72) Lanthan Linux
73) Yellow Dog Linux 74) Corvus Latinux 75) Immunix Linux
76) Gentoo Linux 77) Secure Linux 78) OpenNA Linux
79) SoL Linux 80) Coherent Technology 81) Playstation Linux
82) StartCom Linux 83) Yoper Linux 84) Caixa Magica
85) openmamba Linux 86) FreeBSD 87) DragonFly BSD
88) OpenBSD 89) NetBSD 90) BSDI
91) HP/UX 92) SGI Irix 93) DEC/Compaq OSF/1
94) IBM AIX 95) SCO UnixWare 96) SCO OpenServer
97) Mac OS X 98) Darwin 99) OpenDarwin
100) Cygwin 101) Sun Java Desktop Sys 102) Synology DSM
103) Generic Linux 104) Windows
Operating system: 25
Please enter the version of Redhat Enterprise Linux you are running
Version: 8
Operating system name: Redhat Enterprise Linux
Operating system version: 8

Webmin uses its own password protected web server to provide access
to the administration programs. The setup script needs to know :
What port to run the web server on. There must not be another
web server already using this port.
The login name required to access the web server.
The password required to access the web server.
If the webserver should use SSL (if your system supports it).
Whether to start webmin at boot time.
Web server port (default 10000):
Login name (default admin):
Login password:
Password again:
Use SSL (y/n): y
Webmin does not support being started at boot time on your system.

Creating web server config files..
Creating access control file..
Inserting path to perl into scripts..
Creating start and stop scripts..
Copying config files..
Creating uninstall script /etc/webmin/ ..
Changing ownership and permissions ..
Running postinstall scripts ..
Enabling background status collection ..
Attempting to start Webmin mini web server..
Starting Webmin server in /usr/local/webmin
Cron 15467891196435 missing any time spec

Webmin has been installed and started successfully. Use your web
browser to go to
and login with the name and password you entered previously.
Because Webmin uses SSL for encryption only, the certificate
it uses is not signed by one of the recognized CAs such as
Verisign. When you first connect to the Webmin server, your
browser will ask you if you want to accept the certificate
presented, as it does not recognize the CA. Say yes.

Allow Webmin Firewall Port

To be able to access Webmin Web interface from the network, you need to allow TCP port 10000 in the firewall.

sudo firewall-cmd --add-port=10000/tcp --permanent
sudo firewall-cmd --reload

Access Webmin Interface

Now that you have installed Webmin on RHEL 8, open your server URL/IP address port 10000, e.g

If you get “Invalid Certificate”  warning, click Continue Anyway

Login with username specified during installation and its password

The default page shown is the summary of your system details.

Method 2: Install Webmin on RHEL 8 from YUM repository

Add repository content to your RHEL 8 system.

sudo vim /etc/yum.repos.d/webmin.repo

Paste below to the file

name=Webmin Distribution Neutral

Then import repository GPG key:

sudo rpm --import

Because the current release of Webmin doesn’t validate RHEL 8 system, we can temporarily change release and rever once the installation is done.

sudo cp /etc/redhat-release /etc/redhat-release.bak
echo "CentOS Linux release 7.5.1804 (Core)" | sudo tee /etc/redhat-release

Then install webmin using yum package manager.

sudo yum -y install webmin

After the installation, move /etc/redhat-release.bak to the original file.

sudo mv /etc/redhat-release.bak /etc/redhat-release


$ cat /etc/redhat-release
Red Hat Enterprise Linux release 8.0 Beta (Ootpa)

To get the package version and other details, use:

$ rpm -qi webmin 
Name : webmin
Version : 1.833
Release : 1
Architecture: noarch
Install Date: Sun 06 Jan 2019 05:39:32 PM EAT
Group : System/Tools
Size : 79241774
License : Freeware
Signature : DSA/SHA1, Fri 10 Mar 2017 09:56:58 AM EAT, Key ID d97a3ae911f63c51
Source RPM : webmin-1.833-1.src.rpm
Build Date : Fri 10 Mar 2017 09:55:48 AM EAT
Build Host : fudu.home
Relocations : (not relocatable)
Vendor : Jamie Cameron
Summary : A web-based administration interface for Unix systems.
Description :
A web-based administration interface for Unix systems. Using Webmin you can
configure DNS, Samba, NFS, local/remote filesystems and more using your
web browser.
After installation, enter the URL http://localhost:10000/ into your
browser and login as root with your root password.{text-align:left} img{margin:0 auto 0 0}