Spring Sale - up to 36% OFF

How to Install Webmin on Ubuntu 24.04: Step-by-Step Guide

How to Install Webmin on Ubuntu 24.04: Step-by-Step Guide
Published on Mar 28, 2025 Updated on Mar 28, 2025

Running system administration tasks on the CLI can sometimes be tedious and challenging. Especially for beginners who have not yet fully mastered administering the system from the CLI. Thankfully, there are a couple of graphical tools to make life easy.

Webmin is a modern web-based tool that streamlines system administration tasks. It provides a simple yet feature-rich dashboard for administering a server on the browser. Top-of-mind administration tasks include automating tasks through cron jobs, user account and package management, and more.

#Prerequisites

To start, ensure you have the following in check.

Deploy and scale your projects with Cherry Servers' cost-effective dedicated or virtual servers. Enjoy seamless scaling, pay-as-you-go pricing, and 24/7 expert support—all within a hassle-free cloud environment.

#Installing Webmin on Ubuntu 24.04

Predominantly developed in Perl, Webmin is an excellent choice for beginners and users who prefer the simplicity of administering and monitoring a system graphically. No command-line skills are required (although it does offer a provision for running commands). This guide explores how to install Webmin on Ubuntu 24.04.

#Step 1. Update the package index

To get started, update the local package index to update the list of package information from their repositories.

Command Line
sudo apt update

You should get a similar output to what we

OutputHit:1 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
129 packages can be upgraded. Run 'apt list --upgradable' to see them.

#Step 2. Download and run the Webmin setup

There are different ways to install Webmin. The most straightforward method is using an automated script to download and configure Webmin’s GPG key and repository.

This is achieved using two simple steps. First, download the setup script using the curl command:

Command Line
$ curl -o webmin-setup-repo.sh https://raw.githubusercontent.com/webmin/webmin/master/webmin-setup-repo.sh

The download will display the following output.

Output  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 16246  100 16246    0     0   111k      0 --:--:-- --:--:-- --:--:--  111k

Once complete, you can verify the script download using the ls command:

Command Line
ls -lh

The downloaded file should be listed.

Outputtotal 16K
-rw-r--r-- 1 root root 16K Mar  3 19:03 webmin-setup-repo.sh

Now run the installing script.

Command Line
$ bash webmin-setup-repo.sh

The script automatically sets up the repository and installs GPG keys on your system. Additionally, it provides the Webmin package for installation.

OutputSetup Webmin releases repository? (y/N) y
  Downloading Webmin developers key ..
  .. done
  Installing Webmin developers key ..
  .. done
  Cleaning up package priority configuration ..
  .. done
  Setting up Webmin releases repository ..
  .. done
  Cleaning repository metadata ..
  .. done
  Downloading repository metadata ..
  .. done
Webmin and Usermin can be installed with:
  apt-get install --install-recommends webmin usermin

Finally, install Webmin using the following command:

Command Line
sudo apt install webmin  --install-recommends

The command installs Webmin along with all the required packages and dependencies.

#Step 3. Verify Webmin installation

Once installed, the Webmin service autostarts. You can confirm the status of the Webmin daemon by running:

Command Line
sudo systemctl status webmin

The following output will be displayed, proof that Webmin is installed and running.

Output● webmin.service - Webmin server daemon
     Loaded: loaded (/usr/lib/systemd/system/webmin.service; enabled; preset: enabled)
     Active: active (running) since Mon 2025-03-03 19:41:14 EET; 1min 21s ago
   Main PID: 4542 (miniserv.pl)
      Tasks: 1 (limit: 2320)
     Memory: 81.5M (peak: 214.5M)
        CPU: 5.765s
     CGroup: /system.slice/webmin.service
             

By default, Webmin listens on port 10000 on localhost. To confirm this, invoke the ss command.

Command Line
ss -antp |  grep 10000

Here is the expected output.

OutputLISTEN 0      4096                  0.0.0.0:10000                 0.0.0.0:*     users:(("miniserv.pl",pid=4542,fd=5))
LISTEN 0      4096                     [::]:10000                    [::]:*     users:(("miniserv.pl",pid=4542,fd=6))

Having confirmed the successful installation of Webmin, let’s go ahead and access it.

#Step 4. Configure UFW for Webmin

If you already have UFW configured, allow inbound traffic to port 1000 as shown.

Command Line
sudo ufw allow 10000/tcp
OutputRule added
Rule added (v6)

Next, reload the firewall for the changes to come into effect.

Command Line
sudo ufw reload
OutputFirewall reloaded

#Step 5. Access and start using Webmin

To access Webmin, fire up your browser and head to the following URL.

Command Line
https://server-ip:10000

Webmin ships with a pre-configured self-signed SSL, which explains the warning notification on your browser about a potential attack. Do not be fazed. The browser flags the SSL certificate since it cannot associate it with a trusted CA. So proceed and click the Advanced tab.

security-prompt-when-accessing-webmin

Next, click the link that lets you proceed to the URL provided.

proceed-to-access-webmin

On the login screen, provide the login credentials and hit the Sign In button.

webmin-login-page

The Webmin dashboard will be displayed, offering a top-level view of your system’s metrics and information, such as hostname, uptime, operating system, pending software package updates, and much more.

webmin-ui-dashboard

For more detailed resource usage, hit the notification bell as indicated.

webmin-notifications-bell

This provides fine-grained information about system metrics such as CPU and memory usage.

webmin-system-metrics

Collapse the options on the navigation panel to catch a glimpse of the operations you can carry out.

webmin-left-sidebar-navigation-menu

#Conclusion

Webmin takes away the complexity of running commands on the terminal by offering a simple and intuitive UI for conveniently running system tasks. Check out the official documentation for more information.

Cloud VPS Hosting

Starting at just $3.24 / month, get virtual servers with top-tier performance.

Share this article

Related Articles

Published on Jun 7, 2021 Updated on Jun 29, 2022

AlmaLinux Review: a CentOS Clone Supported by CloudLinux

AlmaLinux is an open-source Linux distribution focused on long-term stability, that is a 1:1 binary compatible fork of Red Hat Enterprise Linux (RHEL)

Read More
Published on May 31, 2022 Updated on May 5, 2023

A Complete Guide to Linux Bash History

Learn how to work with Bash history to become more efficient with any modern *nix operating system.

Read More
Published on Jan 26, 2022 Updated on Jun 15, 2023

How to Use Cron to Automate Linux Jobs on Ubuntu 20.04

Learn how to use Cron - the most popular Linux workload automation tool that is widely used in Linux community - to automate Linux jobs on Ubuntu 20.04.

Read More
We use cookies to ensure seamless user experience for our website. Required cookies - technical, functional and analytical - are set automatically. Please accept the use of targeted cookies to ensure the best marketing experience for your user journey. You may revoke your consent at any time through our Cookie Policy.
build: b3935cf1a.1044