How to Install Webmin on Ubuntu 20.04

Published on

3 min read

Install Webmin on Ubuntu 20.04

Webmin is an open-source web control panel for administering Linux servers. It allows you to manage the system users, groups, disk quotas as well as install and configure web, ssh, ftp, email, and database servers.

With Webmin , you can configure almost every aspect of the system through your web browser.

This guide explains how to install Webmin on an Ubuntu 20.04 server.


We’re assuming that you have administrative access to the Ubuntu server, either as root or a user with sudo permissions .

Installing Webmin on Ubuntu

Webmin is not included in the standard Ubuntu repositories. The installation is a pretty straightforward process. We’ll enable the Webmin repository and install the package with apt .

The steps below describe the process of installing Webmin on Ubuntu:

  1. First, update the packages list and install the dependencies:

    sudo apt updatesudo apt install software-properties-common apt-transport-https wget
  2. Import the Webmin GPG key and add the Webmin repository to your system’s software sources:

    wget -q -O- | sudo apt-key add -sudo add-apt-repository "deb [arch=amd64] sarge contrib"

    The add-apt-repository command will also update the package index.

  3. Install the latest version of Webmin by typing:

    sudo apt install webmin

    All dependencies will be automatically resolved and installed. Once done, the following output will be displayed:

    Webmin install complete. You can now login to https://vagrant:10000/
    as root with your root password, or as any user who can use sudo
    to run commands as root.

    The Webmin service will start automatically.

That’s it! At this point, you have successfully installed Webmin on your Ubuntu 20.04 server.

To upgrade your Webmin installation when a new release is published, use the standard apt upgrade procedure.

Adjust the Firewall

By default, Webmin listens for connections on port 10000 on all network interfaces. You need to open the port in your firewall so that the Webmin interface is accessible from the Internet. Assuming you are using UFW , you can do that by running the following command:

sudo ufw allow 10000/tcp

Accessing Webmin Web Interface

Now that Webmin is installed on your Ubuntu system open your favorite browser and type your server’s hostname name or public IP address followed by the Webmin port 10000:


The browser will complain about the certificate being not valid. By default, Webmin uses an untrusted self-signed SSL certificate .

Login to the Webmin web interface using your root or sudo user credentials:

Webmin Login Form

Once you log in, you will be redirected to the Webmin dashboard, which provides basic information about your system.

Webmin Dashboard

From here, you can start configuring and managing your Ubuntu 20.04 server as per your requirement.


We’ve shown you how to install Webmin on your Ubuntu 20.04 machine. You can now install an FTP server or LAMP /LEMP stack and start managing the services through the Webmin web interface.

To learn more about Webmin, visit their official documentation page.

If you have any questions, please leave a comment below.