13 C
Texas
angeloma
Senior Writer and partner

How to install Webmin on CentOS 8 / RHEL 8 / Oracle Linux 8?

Monitoring a computer is always necessary to verify its operation. Especially if we are talking about a computer connected to an internal network. So, installing a tool with some computer tasks is always a good idea. Therefore, in this post, I will show you how to install Webmin on CentOS 8. This tutorial will also work on RHEL 8 and Oracle Linux 8.

Webmin is a web-based interface for managing UNIX systems. It has a new web interface where you can modify and manage several things on the computer. For example, user accounts, UNIX groups, DNS and others.

In addition, you will have no license problems with Webmin because it is released under the GPL3 license, which guarantees that you can use it, modify it and install it as you want.

So, let us start.

Installing Webmin on CentOS 8 / RHEL 8 / Oracle Linux 8

- Advertisement -

Before you start installing Webmin, it is a good idea to update all the operating system packages. To do this, connect to your server using SSH or simply open a terminal session and run:

:~$ su
:~# dnf update

This way your system will have the latest security patches installed. Therefore, it will be a more secure system.

Webmin offers us a repository of packages derived from RHEL 8 that facilitates the installation. So we must add the repository first, and do the installation like this.

So, create a file in /etc/yum.repos.d/webmin.repo and add the following:

 [Webmin]
 name=Webmin Distribution Neutral
 #baseurl=https://download.webmin.com/download/yum
 mirrorlist=https://download.webmin.com/download/yum/mirrorlist
 enabled=1
1.- Adding the webmin repository
1.- Adding the webmin repository

Then download and add the GPG key to secure the repository. To download it we’ll use wget, but be sure to install it first in case you don’t have it.

:~# dnf install wget
:~# wget http://www.webmin.com/jcameron-key.asc
2.- Add the GPG key for the repository
2.- Add the GPG key for the repository

And then add it with the following command:

:~# rpm --import jcameron-key.asc

After this, we will be able to install Webmin in an easy and simple way as follows:

:~# dnf install webmin
3.- Install Webmin on CentOS 8 / RHEL 8 / Oracle Linux 8
3.- Install Webmin on CentOS 8 / RHEL 8 / Oracle Linux 8

At the end of the installation, we will be able to access the web interface of the program. However, first, you have to open port 10000 which is where the application works.

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

Now yes, open your favorite web browser and go to http://your-server:10000 and you will see the following:

5.- Webmin login page
5.- Webmin login page

Now you can log in with a user who has access to sudo or with the root user. Next, you will see the dashboard.

6.- Webmin dashboard on CentOS 8 / RHEL 8 / Oracle Linux 8
6.- Webmin dashboard on CentOS 8 / RHEL 8 / Oracle Linux 8

So, enjoy it.

Conclusion

Webmin is an indispensable application if we have a server or equipment that we need to monitor. Of course, it is not the most advanced or the best but it does its functions efficiently without wasting a lot of system resources.

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article