Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
How to Install Webmin on Ubuntu 18.04
  1. Start by updating the packages 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

    Once the installation finishes, the following output will be displayed:

    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 runs a UFW firewall , you’ll need to open the Webmin port.

To allow traffic on port 10000 run 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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment