How to Install and configure Webmin on CentOS 8

Author: Saksham

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.

blog author bio

Author: Saksham

Saksham is a driven Computer Science student with a passion for programming and exploring new technologies. In his articles, he provides valuable insights of the topics, showcasing his ability to communicate complex ideas in a clear and concise manner. With strong analytical and problem-solving skills, Saksham is poised to make a significant impact in the world of Computer Science.

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

Related Posts

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
How To Install PHP 8.0 on CentOS 8 | CentOS 7
How To Install PHP 8.0 on CentOS 8 | CentOS 7

Step by step guide on installing PHP 8.0 on CentOS 8 | CentOS 7
PHP 8.0 is the latest version of the popular server-side scripting language that powers many websites and web applications. In this blog post, we’ll go over how to install PHP 8.0 on CentOS 8 and CentOS 7.

Read full article
How To Fix The SSL Connection Error
How To Fix The SSL Connection Error

Fix The SSL Connection Error
In today’s digital age, security is of the utmost importance when it comes to online transactions and data transfer. SSL, which stands for “Secure Sockets Layer,” is a protocol used to make a secure connection between a web server and a web browser on a client’s computer.

Read full article

Some important study notes