FAQ Übersicht

Ubuntu

Zur Kategorie

Install Webmin Ubuntu 24.04

 

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
 

 

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.

2025-10-17 14:35
Admin