How to Install and configure Webmin on CentOS 8

Author: Poonam

Webmin is an open-source control panel that allows you to manage your Linux server through an easy-to-use web interface. It allows to manage users, groups, disk quotas, create files and directories as well as configure most popular services including web, FTP, email and database servers.

How to install Webmin on CentOS 8.

Prerequisites

To be able to install packages, you need to be logged in as root or user with sudo privileges.

Installing Webmin on CentOS

The recommended method for installing Webmin on CentOS 8 is to enable the Webmin repository and install the Webmin package using the dnf package manager.

Follow the steps below to install Webmin on CentOS:

  1. Create the repository file using any text editor:
    sudo nano /etc/yum.repos.d/webmin.repo

    Add these code into the file:

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

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

    Save the file and close the text editor.

  2. Now import the Webmin GPG key using the below rpm command:
    sudo rpm --import http://www.webmin.com/jcameron-key.asc
  3. Now we can install the latest version of Webmin by using below command:
    sudo dnf install webminThis command automatically resolves all dependencies required. Once the installation is complete, the output displayed will be similar to this:

     

    Webmin install complete. You can now login to https://your_server_ip_or_hostname:10000/ as root with your root password.

    Now the Webmin service will start automatically.

With this you have successfully installed Webmin on your CentOS 8 server.

Adjust the Firewall

By default, Webmin listens all connections on port 10000 on all network interfaces.

To access the Webmin interface from a web browser, we have to open the Webmin port in server’s firewall .

For this run the below commands to allow traffic on port 10000:

sudo firewall-cmd --zone=public --add-port=10000/tcp
sudo firewall-cmd --runtime-to-permanent

Accessing Webmin Web Interface

Now that Webmin is installed on your CentOS server open your favourite browser and type your server’s hostname name or public IP address followed by the Webmin port 10000:

https://your_server_ip_or_hostname:10000/

The browser will complain about the certificate being not valid, because by default, Webmin uses an untrusted self-signed SSL certificate .

Login to the Webmin web interface using your root user credentials:

How-to-install-and-configure-webmin-on-centos-8

Once you log in, you will be redirected to the Webmin dashboard, which provides basic information about your system.

From here, you can start configuring and managing your CentOS 8 server as per your requirement.

Conclusion

You have successfully installed Webmin on your CentOS 8 machine. You can now start managing the services through the Webmin web interface.

To learn more about Webmin, visit their official documentation page.

Share on: Share Poonam yogi blogs on twitter Share Poonam yogi blogs on facebook Share Poonam yogi blogs on WhatsApp Create Pin in Pinterest for this post

Comments


Please give us your valuable feedback

Your email address will not be published. Required fields are marked *

Cloud9 IDE git Installation on Debian
Cloud9 IDE git Installation on Debian

Regardless of whether you are a solitary engineer or a group with numerous designers, Cloud9 is a simple to utilise, adaptable, cloud IDE. Cloud9 might meet your requirements, as it is a self-facilitated programming bundle that permits you to create in the cloud.

Read full article
Load balancing vs failover
Load balancing vs failover

Load balancing vs failover – Load balancing is a technique of distributing your requests over a network when your server is facing heavy traffic load and putting load on the CPU or disk or database IO rate.

Read full article
Trying to access array offset on value of type bool
Trying to access array offset on value of type bool

When upgrading php from php 7.4 to php 8.0 an error generally comes which says – “Error Trying to access array offset on value of type bool” .
There is a very simple fixes for this error.

Read full article
Whatsapp web detailed guide
Whatsapp web detailed guide

WhatsApp Web and Desktop
There are two options for using WhatsApp on your computer:
WhatsApp Web: It is a browser-based application of WhatsApp, with this you can use a web browser for accessing WhatsApp.

Read full article

Some important study notes