Webmin is a web interface for managing a Linux server in the browser: users, services, cron jobs, firewall, Apache, Samba, updates and much more. In the past you downloaded a .deb package by hand for this. Today you add the official package repository – Webmin then arrives with the normal updates like any other package.
Installation
The Webmin project provides a script that sets up the repository including its signing key:
curl -o webmin-setup-repo.sh https://raw.githubusercontent.com/webmin/webmin/master/webmin-setup-repo.sh
less webmin-setup-repo.sh # have a look before running it
sudo sh webmin-setup-repo.sh
sudo apt install --install-recommends webmin
The same script works on Fedora, RHEL and Rocky Linux; there you install with sudo dnf install webmin.
Logging in
Webmin is then reachable at https://SERVER:10000. Because it uses a self-signed certificate, the browser shows a warning on the first visit that you have to confirm. You can log in as root or as any user with sudo rights.
If a firewall is active, open the port – ideally only for your own network:
sudo ufw allow from 192.168.178.0/24 to any port 10000 proto tcp
Security
- Webmin has full root privileges. Port 10000 should therefore not be reachable from the internet – from outside, use a VPN (e.g. WireGuard) or an SSH tunnel instead:
ssh -L 10000:localhost:10000 user@server - Under Webmin → Webmin Configuration → IP Access Control you can restrict access to specific addresses.
- Two-factor login can be enabled under Webmin Configuration → Two-Factor Authentication.
- Update Webmin regularly – thanks to the repository this happens with
apt upgradeor automatically through unattended-upgrades.
Alternative: Cockpit
Cockpit is more modern and leaner, but has fewer features. It is included in the official repositories of Ubuntu, Debian and Fedora and runs on port 9090:
sudo apt install cockpit
Cockpit is well suited for an overview of system status, logs, services and updates. If you want to dig deeper into the configuration of individual server services, Webmin is the better choice.
Originally published in 2012 for Ubuntu 12.04, completely revised in November 2026.