How to install Webmin on Ubuntu 18.04

s2 0

is an open source web control panel for system administration for Linux / UNIX. With Webmin, you can manage users, groups, and disk quotas, as well as configure the most popular services, including web, FTP, email, and database servers.

In this tutorial, we are going to show you how to install Webmin on an Ubuntu 18.04 server. The same instructions apply to Ubuntu 16.04.


Before proceeding with this tutorial, make sure you are logged in as root or a user with sudo privileges.

Install Webmin on Ubuntu

The easiest and most recommended way to install Webmin on Ubuntu computers is to enable the Webmin repository and install the Webmin package from the command line.

To install Webmin on Ubuntu, do the following:

  1. Start by updating the package list and installing the dependencies:

    sudo apt updatesudo apt install software-properties-common apt-transport-https wget
  2. Next, import the Webmin GPG key using the following wget command:

    wget -q -O- | sudo apt-key add -

    And enable the Webmin repository by typing:

    sudo add-apt-repository "deb [arch=amd64] sarge contrib"
  3. Install the latest version of Webmin by typing:

    sudo apt install webmin

    When the installation is complete, you will see the following output:

    Webmin install complete. You can now login to https://your_server_ip_or_hostname: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 18.04 server.

Adjust the firewall

By default, Webmin listens for connections on port 10000 on all network interfaces.

If your server is running a UFW firewall, you will need to open the Webmin port.

So allow traffic on the port 10000 run the following command:

sudo ufw allow 10000/tcp

Access to the Webmin web interface

After Webmin is installed on your Ubuntu system, open your preferred browser and enter your server’s hostname or public IP address followed by the Webmin port 10000:


The browser is complaining that the certificate is not valid because Webmin uses an untrusted self-signed SSL certificate by default.

Log in to the Webmin web interface with your root or sudo user credentials:

Once you’re signed in, you’ll be taken to the Webmin dashboard which provides basic information about your system.

From here you can start configuring and managing your Ubuntu 18.04 server as per your needs.

Update Webmin

To update your Webmin installation when new versions are released, you can use the apt
Package manager normal upgrade procedure:

sudo apt updatesudo apt upgrade


You have successfully installed Webmin on your Ubuntu 18.04 computer. You can now install the FTP server or the LAMP / LEMP stack and start managing the services via the Webmin web interface.

To learn more about Webmin, visit their official website documentation

If you have any questions please leave a comment below.