How To Install Webmin on Rocky Linux 8

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

In this guide, we will show you how to install Webmin on Rocky Linux systems.

Webmin is a powerful and flexible web-based server management control panel for Unix-like systems. Webmin allows the user to configure operating system internals, such as users, disk quotas, services or configuration files, as well as modify and control open-source apps, such as the Apache HTTP Server, PHP or MySQL.

It’s a web-based control panel that allows the system administrators to manage a Linux server from a web browser. With this web-based admin system, you can take care of just about anything you need.

Install Webmin on Rocky Linux

Just follow the steps below to get start with webmin

  • Update your system packages.
dnf update -y && dnf upgrade -y
  • Webmin is not available on Rocky Linux 8 base repo. So we will download the latest version of Webmin with wget command.
wget https://www.webmin.com/download/webmin-current.tar.gz
  • Now extract the downloaded file with:
tar xvf webmin-current.tar.gz
  • Next create installation directory for Webmin
sudo mkdir -p /usr/local/webmin
  • Run the script to install the Webmin as shown below.
./webmin-1.991/setup.sh /usr/local/webmin/

Output:

[root@rocky-pc unixcop]# ./webmin-1.991/setup.sh /usr/local/webmin/
***********************************************************************
        Welcome to the Webmin setup script, version 1.991
***********************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.

Installing Webmin from /home/unixcop/webmin-1.991 to /usr/local/webmin/ ...

***********************************************************************
Webmin uses separate directories for configuration files and log files.
Unless you want to run multiple versions of Webmin at the same time
you can just accept the defaults.

Config file directory [/etc/webmin]: 
Log file directory [/var/webmin]: 

***********************************************************************
Webmin is written entirely in Perl. Please enter the full path to the
Perl 5 interpreter on your system.

Full path to perl (default /usr/bin/perl): 

Testing Perl ...
Perl seems to be installed ok

***********************************************************************
Operating system name:    Rocky Linux
Operating system version: 8.5

***********************************************************************
Webmin uses its own password protected web server to provide access
to the administration programs. The setup script needs to know :
 - What port to run the web server on. There must not be another
   web server already using this port.
 - The login name required to access the web server.
 - The password required to access the web server.
 - If the webserver should use SSL (if your system supports it).
 - Whether to start webmin at boot time.

Web server port (default 10000): 
Login name (default admin): unixcop
Login password: 
Password again: 
Use SSL (y/n): 
Start Webmin at boot time (y/n): y
***********************************************************************
Copying files to /usr/local/webmin/ ..
..done

Creating web server config files..
..done

Creating access control file..
..done

Inserting path to perl into scripts..
..done

Creating start and stop scripts..
..done

Copying config files..
..done

Configuring Webmin to start at boot time..
..done

Creating uninstall script /etc/webmin/uninstall.sh ..
..done

Changing ownership and permissions ..
..done

Running postinstall scripts ..
..done

Enabling background status collection ..
..done

Attempting to start Webmin mini web server..
Starting Webmin server in /usr/local/webmin/
..done

***********************************************************************
Webmin has been installed and started successfully. Use your web
browser to go to

  http://rocky-pc:10000/

and login with the name and password you entered previously.

[root@rocky-pc unixcop]#
  • Once installed, open your web browser then go to http://your-ip-address:10000/ and and login with the name and password you entered previously a shown below.
Install Webmin Rocky Linux
  • You will be directed to the Webmin Dashboard as shown below.

Conclusion

That’s it.

In this article, we showed you how to install webmin on Rocky Linux 8. I hope this was useful.

Also read:

Thanks.

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

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest articles

Join us on Facebook