How to Install Webmin on Rocky Linux 10
Webmin is a web-based dashboard that allows system administrators to manage Linux and Unix-like systems through a browser. It provides tools for managing user accounts, packages, log files, firewalls, email, databases, and more.
Update the System
Make sure your system is updated before beginning.
dnf update -y
Download Webmin
At the time of writing, version 2.105
is the latest. You can always check the official Webmin download page for newer versions.
Install required packages and download Webmin:
dnf install wget tar perl -y
wget https://prdownloads.sourceforge.net/webadmin/webmin-2.105.tar.gz
Extract and Install Webmin
Extract the downloaded archive:
tar xvf webmin-2.105.tar.gz
Create a directory for Webmin installation:
mkdir -p /usr/local/webmin
Run the setup script:
webmin-2.105/setup.sh /usr/local/webmin/
Follow the prompts to configure Webmin:
- Accept default config/log directories
- Confirm Perl path (
/usr/bin/perl
) - Enter desired Webmin port (default is
10000
) - Set admin username and password
- Choose SSL (recommended:
y
) - Enable Webmin at boot (recommended:
y
)
Output:
ebmin has been installed and started successfully.
Since Webmin was installed outside the package manager, ensure the
following recommended Perl modules and packages are present:
Perl modules:
- DateTime, DateTime::Locale, DateTime::TimeZone, Data::Dumper
- Digest::MD5, Digest::SHA, Encode::Detect, File::Basename
- File::Path, Net::SSLeay, Time::HiRes, Time::Local, Time::Piece
- lib, open
Packages:
- openssl - Cryptography library with TLS implementation
- shared-mime-info - Shared MIME information database
- tar gzip unzip - File compression and packaging utilities
Use your web browser to go to the following URL and login
with the name and password you entered previously:
https://vps.server.com:10000
Because Webmin uses SSL for encryption only, the certificate
it uses is not signed by one of the recognized CAs such as
Verisign. When you first connect to the Webmin server, your
browser will ask you if you want to accept the certificate
presented, as it does not recognize the CA. Say yes.
Open Webmin Port in Firewall
Allow Webmin through the firewall:
firewall-cmd --add-port=10000/tcp --permanent
firewall-cmd --reload
Start Webmin (if not auto-started)
dnf install -y webmin
service webmin start
ss -tulpn | grep 10000
Access Webmin Web Interface
Open your browser and visit:
https://your-server-ip:10000
When logging in for the first time, you may receive a warning about an invalid SSL certificate. Click Advanced > Accept the Risk and Continue.
Login with the admin credentials you created during setup.
Webmin Dashboard
Once logged in, you'll be directed to the Webmin dashboard where you can manage your system graphically.
CrownCloud - Get a SSD powered KVM VPS at $4.5/month!
Use the code WELCOME
for 10% off!
1 GB RAM / 25 GB SSD / 1 CPU Core / 1 TB Bandwidth per month
Available Locations: LAX | MIA | ATL | FRA | AMS