1. Update your system to make sure all packages are up to date.
Open the server's Command Terminal, log in using root user, and input the following line;
dnf update -y
2. Download and run the Webmin setup script.
First download the Webmin repository from the official github link using the following command;
curl -o webmin-setup-repo.sh https://raw.githubusercontent.com/webmin/webmin/master/webmin-setup-repo.sh
Then run the repository setup script.
sh webmin-setup-repo.sh
3. Install Webmin
Install Webmin using DNF.
dnf install webmin -y
4. Configure the Firewall
If you have enabled a firewall, you need to open port 10000 so your browser can reach the Webmin interface. If you are using FirewallD, you can do so by doing the following;
firewall-cmd --add-port=10000/tcp --permanent
Then reload the firewall to save changes.
firewall-cmd --reload
5. Verify Status
Verify that the Webmin service is running.
systemctl status webmin
6. Access Webmin
Open a web browser and access Webmin using the following URL:
https://your_server_ip:10000/
Lastly, log in using a root user. (Note: Your browser will likely display a "connection is not private" warning because Webmin uses a self-signed SSL certificate. You can safely click "Advanced" and proceed).