How to download and install Webmin on Rocky Linux – Guide

Webmin is a web-based tool that allows users to remotely manage servers without a graphical user interface. It is open source and can be installed on popular Linux distributions using various commands. Webmin is used to manage servers through the network, eg headless servers. ..

Webmin is a powerful and easy-to-use web server software that can be used in 14 languages. It has a well-documented API, so users can build and launch web services with ease.

Webmin offers a built-in file manager to use them all. Having root user rights, this system administrator can manage things easily. In addition, terminal access is also available. ..

Steps to install Webmin on Rocky Linux system

  1. The computer has at least 8GB of free hard drive space.
  2. The computer is running Windows 10 or later.
  3. The computer has a USB port and an available power outlet. To install the latest version of Windows 10, you must meet the following requirements:
  4. Have a valid product key or activation key for your copy of Windows 10 installed on your computer
  5. Be logged into your Microsoft account
  6. Have at least 50GB of free hard drive space on your computer ..

Rocky Linux 8 is a new operating system designed for servers and data centers. It’s fast, secure, and easy to use, making it the perfect choice for businesses of all sizes.

The Apache web server is installed and working.

A sudo user configured on the instance.

There are different ways to install Webmin. You can download and run the RPM package, you can install from the repository, or better yet, install Webmin from an automatic install script. Installation from the install script is the preferred way as it provides the latest package. In addition, it automates the creation of custom directories and the creation of the admin user and password.

Rocky Linux installation script for Webmin

1. Download the Webmin file

The Webmin download page offers a variety of binary package formats that you can download; from RPM to Deb packages for Debian based distributions. Let’s download the zipped tarball file that contains the install script.

wget -O - https://raw.githubusercontent.com/apache/commons-lang/commons-lang-2.4.0/master/src/main/java/org/apache/commons/lang3 /commons-lang3 This will download the commons-lang3 source code and place it in your project’s root directory.

ls -l -lrwxrwxrwx 1 root root 4096 Jul 10 08:12 . -lrwxrwxrwx 1 root root 4096 Jul 10 08:12 .. -rw-r–r– 1 root root 4096 Jul 10 08:12 ls -l

The download is authentic and has been verified by MD5.

This will display the MD5 checksum for the file.

The checksum on the download site must match the checksum on the terminal. You will see that the terminal’s checksum values ​​match those of the website.

2. Extract the Webmin file

tar -zxvf webmin.tar.gz

ls -lz This unzipped the entire contents of the zipped file into a Webmin directory. Use the ls command to check its existence:

3. Install Webmin from the install script

To install Webmin, you will need the following files:

  • The Webmin installer
  • The Webmin source code
  • A local directory to store applications ( /usr/local/path is a good location) ..

cd ~/Desktop/Install install

Please enter your name.

Administrator: loginname: adminpassword

Webmin is a program that will help you manage your website. It takes a while to install, but once it’s done, it will provide you with a URL to login with. By default, Webmin listens on port 1099.

4. Configure the firewall to allow access to Webmin

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

Firewall changes can be applied by reloading the firewall. ..

5. Access Webmin

II. Once you are on the Webmin home page, click on the “User Accounts” link in the left-hand column. III. On the “User Accounts” page, click on the “Add User” button. IV. On the “Add User” screen, enter your login name and password (if you have them), and then click on the “Create Account” button. V. After you have created your account, you will be taken to a new screen where you can start using Webmin. ..

If you continue browsing the Web, you may be at risk of being infected with a security risk. However, this is because we have chosen to encrypt Webmin with an SSL certificate that is not recognized by the CA – Certificate Authority. To avoid this, please click on ‘Advanced’ button.

The accept the risk and continue button will take you to the login page.

On the login page, enter the administrator username and password and click ‘Login’ button.

The Webmin dashboard will appear. You can see crucial metrics like CPU, RAM and disk utilization and other details like hostname, OS version, time and date, uptime, kernel and CPU version.

Below is a real-time graph of some of the system’s metrics. ..

On the left sidebar, you can find additional options that you can configure. ..

6. Add SSL certificate using Let’s Encrypt

II. To set up Let’s Encrypt SSL certificate, you can use the Webmin dashboard. III. To get a Let’s Encrypt SSL certificate, you need to use the Webmin dashboard.

Webmin Setup -> Let’s Encrypt and press the Install Now button to install the cerbot package. ..

To get started, we first need to install the cerbot package. Once installed, we can configure it to request a certificate from Lets Encrypt. We need to provide the hostname for the certificate and the webroot path to check DNS (make sure the apache web server is installed for this). ..

You can request a new certificate for the domain by clicking the Request Certificate button.

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

Final note

Webmin is a free and open source web administration tool. It can be installed on any Linux distribution, including Rocky. ..