How to download and install Webmin on Rocky Linux

0

This tutorial is for downloading and installing Webmin on Rocky Linux. We will do our best to make sure you understand this guide. I hope you will like this blog How to download and install Webmin on Rocky Linux. If your answer is yes, please share after reading this.

Check out how to download and install Webmin on Rocky Linux

Webmin is a web-based tool intended to be downloaded and installed on a Linux server to monitor it using a graphical user interface. It is open source and can be installed on popular Linux distributions using various commands. It is used to manage Linux systems running without a graphical user interface (GUI) on the network, for example servers. This type of access is also sometimes referred to as “headless”.

Webmin is available in 14 languages ​​for other Unix variants, of course also for GNU / Linux. New functions can be added simply via modules, this is promoted by a well documented API. Users can create and start Apache, MySQL, PHP, phpMyAdmin, and other web services needed for a web server with just a few clicks.

To effectively monitor files on the server, Webmin offers a built-in file manager to use them all. By having root user rights, this system administrator can easily manage things. In addition, access to the terminal is also there.

Steps to install Webmin on Rocky Linux system

Before performing this installation procedure, make sure that the following conditions are met:

  • An instance of Rocky Linux 8.
  • Apache web server installed.
  • A sudo user configured on the instance.

There are different methods to install Webmin. You can download and run the RPM package, you can install it from the repository, or better yet, install Webmin from an automated install script. Installing from the install script is the most preferred method as it gives you the latest package. In addition, it automates the creation of custom directories and the creation of the administrator user and password.

Here we will install Webmin using the installation script on Rocky Linux.

1. Download the Webmin archive file

The Webmin download page offers a variety of binary package formats that you can download; from RPM packages to Deb for Debian based distributions. We will download the compressed tarball file which contains the installation script.

To do this, download it with the following command:

$ wget https://prdownloads.sourceforge.net/webadmin/webmin-1.979.tar.gz

You can verify the download using the ls command:

$ ls -l | grep webmin

You can verify the authenticity of the download using MD5 verification:

$ md5sum webmin-1.979.tar.gz

This will display the MD5 checksum.

The checksum should match the checksum of the download site. You will see that the terminal’s checksum values ​​match that of the site.

2. Extract the Webmin file

Now we are going to extract the Webmin archive using the tar command given below:

$ tar -xvf webmin-1.979.tar.gz

This unzipped the entire contents of the compressed file into a Webmin directory. Use the ls command to verify its existence:

$ ls -l | grep webmin

3. Install Webmin from the installation script.

Now we have all the files needed to install Webmin. The next step is to create a Webmin directory in / usr / local / which is the directory used to store applications locally by system administrators.

$ sudo mkdir -p / usr / local / webmin

Then run the installation script in the newly created directory:

$ sudo ./webmin-1.979/setup.sh / usr / local / webmin

The script will trigger a series of prompts. For convenience, accept the default values ​​by pressing ENTER.

Then create an administrator by providing the login name and password. Make sure to use SSL also for the sole purpose of providing encryption on the website min.

The script will perform a few tasks and it will take some time, about 10 minutes. Finally, if all went well, Webmin will install successfully and the URL with which you can connect will be provided to you. By default, Webmin listens on port 10000.

4. Configure the firewall to allow access to Webmin.

Since Webmin will mainly be accessed remotely, it is important to allow external users to access it. So make sure to open port 10000:

$ sudo firewall-cmd –add-port = 10000 / tcp –permanent

Then reload the firewall to apply the changes you just made:

$ sudo firewall-cmd – reload

5. Access Webmin

I. To access Webmin, browse the URL below:

https: // Server IP or FQDN: 10000

ii. At first, you will receive an alert of an imminent security risk if you continue to browse. But don’t worry, it’s just because we have chosen to encrypt Webmin with an SSL certificate which is not recognized by the CA – Certificate Authority. To avoid this, click on the “Advanced” button.

iii. Press the “Accept risk and continue” button to access the login page.

iv. On the login page, enter the administrator username and password and press the “Login” button.

The Webmin panel will appear. At a glance, you can see crucial metrics like CPU, RAM and disk usage as well as other details like hostname, OS version, time and date, availability, kernel and processor version. , to only cite a few.

Scrolling down reveals real-time statistics for metrics such as memory, processor, swap, and disk I / O in a graphical format.

In the left sidebar, you will find additional options that you can browse and configure.

6. Add an SSL certificate with Let’s Encrypt

I. From the Webmin panel, you can easily configure the Let’s Encrypt SSL certificate.

ii. Go to Webmin Settings -> Let’s Encrypt and click on the Install Now button to install the cerbot package.

Once the cerbot package is installed, we can configure Lets Encrypt to request the certificate. We mainly need to provide the certificate hostname and web root path to verify DNS (make sure Apache web server is installed for this).

iii. Click the Request Certificate button to release a new certificate for the domain.

This will enable SSL in Webmin using the free Let’s Encrypt certificate.

Final words: How to download and install Webmin on Rocky Linux

hope you will understand this item How to download and install Webmin on Rocky Linux, if your answer is no, you can request anything through the contact forum section linked to this article. And if your answer is yes, then share this article with your family and friends.


Source link

Share.

Comments are closed.