Install webmin on CentOS 8

by | May 11, 2020 | linux

In this tutorial, we will show you how to install Webmin using two different methods on CentOS 8.

Prerequisites

  • A server running CentOS 8.
  • User with administration privileges on the server.

Starting

By default, SELinux is enabled on CentOS 8 server. Therefore, you will need to disable it first.

You can do this by editing the /etc/selinux/config file :

nano /etc/selinux/config

Make the following changes:

SELINUX = disabled

Save and close the file. Then restart your server to apply the changes.

Install Webmin with RPM

First, you will need to install the required dependencies by running the following command:

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

Once all dependencies are installed, download the Webmin RPM package from the Sourceforge download page with the following command:

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

Once downloaded, run the following command to install Webmin:

rpm -ivh webmin-1.941-1.noarch.rpm

You should see the following output:

Checking... #############################1 TP5T### [100%] Preparing... #######################1TP5 T######### [100%] Operating system is CentOS Linux Updating/installing... 1: webmin-1.930-1 ############1 TP5T#################### [100%] Webmin installation complete. You can now log in to https://centos8:10000/ as root with your root password.

Install Webmin with the Yum repository

You can also install Webmin from the CentOS Yum repository. First, create a Webmin repository with the following command:

nano /etc/yum.repos.d/webmin.repo

Add the following lines:

[Webmin] name = Neutral Webmin distribution mirrorlist = https://download.webmin.com/download/yum/mirrorlist enabled = 1

Save and close the file. Then, download and add the repository signing key with the following command:

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

Next, install Webmin by running the following command:

dnf install webmin

Once the installation is complete, you should see the following output:

  Installation: webmin-1.930-1.noarch 2/2 Running scriptlet: webmin-1.930-1.noarch 2/2 Webmin installation complete. You can now log in to https://centos8:10000/ as root with your root password.

Access Webmin in the browser

By default, Webmin listens on port 10000. Therefore, you will need to open the Webmin port in firewalld. You can do it with the following command:

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

Now, open your web browser and type the URL https://your-server-ip:10000 . You will be redirected to the following page:

Longon on webmin

Provide your root user, password and click the session in it button. You should see the Webmin dashboard on the following page:

webmin dashboard

From here, you can easily configure and manage your CentOS 8 server.

ZX Spectrum 48K Composite Video Mod

Zx Spectrum Composite Video Mod

Assemble a new ZX Spectrum issue 4B from new parts

Here we document the exciting experience of building a new ZX Spectrum issue 4B board from scratch. Thanks to innovative individuals like Charlie Ingley, who created a replacement ULA chip, this project is now possible. Initially it has been designed and...

DiyBMS v4 BMS for Lithium batteries

DiYBMS is an open source lithium battery optimizer by Stuart Pittaway

How To Set up SSH Keys on a Linux

This page explains a public key and shows you how to set up SSH keys on a Linux or Unix-like server. I am assuming that you are using Linux or Unix-like server and client with the following software: OpenSSH SSHD server OpenSSH ssh client and friends on Linux...

Configuring an rsync Task

Configuring an rsync Task How to configure automated data transfers using rysnc. 9 minute read Data often needs to be copied to another system for backup or when migrating to a new system. A fast and secure way of doing this is by using rsync. Rsync provides the...

How to configure static IP address in CentOS 8

There are two quick ways to set an IP address on the network interface of CentOS 8 operating system. One is using the nmtui command and the other is by direct editing of network files. If you don't feel comfortable editing files...

easy crontab

Here are the cron expersions you can use in crontab. Examples of Cron Expressions Cron ExpressionMeaning* * * * *Run a cron job every minute*/5 * * * *Run a cron job every 5 minutes0 * * * *Run a cron job every hour0 12 * *...

File synchronization in Linux

In this tutorial we are going to configure rsync and crontab to synchronize files between two machines without using a password and schedule execution times for it. To avoid every time a synchronization script is launched, it asks for the password of the user of the...

Wifi Switch ESP8266

Two-channel Wi-Fi switch to be incorporated with simon 31 or Siemmes mechanisms Creating a smart home does not have to be difficult. In fact, there are more and more connected devices for the Smart Home within everyone's reach, such as lighting systems...
en_GB