Install Webmin on RHEL 8 / CentOS

   For installing the webmin control panel you need to first install pearl on your linux server. by using the following command you can install pearl on your linux server.

sudo yum -y install @perl

Method 1: Install Webmin on RHEL / CentOS 8 from YUM repository

Add repository content to your RHEL / CentOS 8 system.

sudo 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

Then install webmin using yum package manager.                                                                                      

sudo dnf install webmin ( press 'y' to allow installation.
to know the package version and other details use:                                                                                                                                                                $ rpm -qi webmin

Method 2: Install Webmin on RHEL 8 / CentOS 8 Manually                                                                                          

install Webmin on CentOS 8 / RHEL 8 from this method to get the latest installation of Webmin.

sudo yum -y install wget
wget http://www.webmin.com/download/webmin-current.tar.gz

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 ./setup.sh

Set

  • 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

Configure Webmin on CentOS 8 / RHEL 8

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 https://192.168.122.197:10000

Was this answer helpful? 0 Users Found This Useful (0 Votes)