To install Webmin, add the Webmin repository with its setup script, install the webmin package with dnf or apt, then open port 10000 in your browser.
Webmin is a free, open-source control panel for managing a Linux server in your browser. You can manage users, software packages, services, the firewall and more without typing commands. Installing it from the Webmin repository means it updates together with your other system packages.
Before you start
- A VPS or dedicated server running AlmaLinux, Rocky Linux, Debian or Ubuntu.
- SSH access as
rootor as a user that can usesudo. Find the server's IP address and login in its welcome email or under Hosting & servers » My services in the ASRHost client area.
Install Webmin
- Connect to the server over SSH, for example:
ssh [email protected] - Download and run the Webmin repository setup script. If it asks whether to continue, answer
y.curl -o webmin-setup-repo.sh https://raw.githubusercontent.com/webmin/webmin/master/webmin-setup-repo.sh sudo sh webmin-setup-repo.sh - Install Webmin. On AlmaLinux or Rocky Linux:
On Debian or Ubuntu:sudo dnf install webminsudo apt-get install webmin --install-recommends
Open port 10000
Webmin runs on port 10000. If your server has a firewall, allow that port. On AlmaLinux or Rocky Linux (firewalld):
sudo firewall-cmd --permanent --add-port=10000/tcp
sudo firewall-cmd --reload
On Ubuntu, if the ufw firewall is on:
sudo ufw allow 10000/tcp
Sign in to Webmin
- Open
https://192.0.2.10:10000in your browser, using your server's IP. If the browser warns about the certificate, continue to the site. Webmin uses its own certificate at first. - Sign in as
rootwith the root password, or as a user that can usesudowith that user's password.
The Webmin dashboard opens and shows your server's status.
Common problems
Why doesn't the Webmin page load?
Port 10000 is blocked. Open it in the server's firewall and in any network firewall in front of the server. Use https://, not http://.
Why can't I sign in as root on Ubuntu?
Ubuntu often has no root password. Sign in with your normal user that can use sudo.
How do I keep Webmin updated?
Update it with your system: sudo dnf upgrade or sudo apt-get update && sudo apt-get upgrade. See the Webmin download page for other install options.
