Skip to content

How to Install Webmin on Linux

Installing a Control Panel2 min read1572 views
On this page
  1. Before you start
  2. Install Webmin
  3. Open port 10000
  4. Sign in to Webmin
  5. Common problems
  6. Related guides

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 root or as a user that can use sudo. 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

  1. Connect to the server over SSH, for example:
    ssh [email protected]
  2. 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
  3. Install Webmin. On AlmaLinux or Rocky Linux:
    sudo dnf install webmin
    On Debian or Ubuntu:
    sudo 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

  1. Open https://192.0.2.10:10000 in 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.
  2. Sign in as root with the root password, or as a user that can use sudo with 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.

Related guides

Was this article helpful?