Table of Contents
What you will read?
Webmin is a powerful web-based system administration tool that allows you to manage your Linux server from a browser. On RHEL 9, it provides an easy interface to manage users, packages, services, and more without relying solely on the command line.
Step 1: Update Your System
Before installing Webmin, make sure your RHEL 9 packages are up to date to avoid dependency issues.
sudo dnf update -y
sudo dnf install -y perl
Step 2: Add the Webmin Repository
Webmin is not available in the default RHEL repositories. You’ll need to manually add its official repository to install it.
sudo tee /etc/yum.repos.d/webmin.repo <<EOF
[Webmin]
name=Webmin Repository
baseurl=https://download.webmin.com/download/yum
enabled=1
gpgcheck=1
gpgkey=https://download.webmin.com/jcameron-key.asc
EOF
Step 3: Install Webmin
Once the repository is added, install Webmin using the DNF package manager.
sudo dnf install webmin -y
Step 4: Enable and Start the Webmin Service
After installing Webmin, you need to enable it to start automatically at boot and manually start the service for the first time to make it active.
sudo systemctl enable webmin
sudo systemctl start webmin
You can also verify that Webmin is running properly with:
sudo systemctl status webmin
Step 5: Configure Firewall for Webmin
By default, Webmin runs on port 10000. Open this port in the firewall so you can access the Webmin dashboard from your browser.
sudo firewall-cmd --permanent --add-port=10000/tcp
sudo firewall-cmd --reload
Step 6: Access Webmin via Browser
Now you can log in to the Webmin dashboard. Open your browser and enter the following address:
https://your-server-ip:10000
Step 7: Secure Webmin with SSL (Recommended)
To protect your Webmin dashboard from unencrypted access, it’s important to enable SSL so that all communications between your browser and server are securely encrypted.
sudo /usr/share/webmin/configure-webmin --ssl
sudo systemctl restart webmin
