How to Install Webmin on Ubuntu 26.04

Updated on 23 April, 2026
Install Webmin web-based administration panel on an Ubuntu 26.04 Vultr server for graphical system management, user administration, and service control.
How to Install Webmin on Ubuntu 26.04 header image

Webmin is an open-source, web-based server administration panel that provides a graphical interface for managing Linux systems. It supports modules for user management, disk quotas, firewall configuration, package updates, and service monitoring, eliminating the need to manually edit configuration files for routine tasks.

This article explains how to install Webmin on an Ubuntu 26.04 server, secure the control panel with a trusted SSL certificate, and configure firewall rules to allow access to the Webmin interface.

Prerequisites

Before you begin, you need to:

Install Webmin

Webmin is not included in the default Ubuntu 26.04 APT repositories. The official Webmin repository setup script adds the package source to APT, allowing installation through the standard package manager.

  1. Update the APT package index.

    console
    $ sudo apt update
    
  2. Download the Webmin repository setup script.

    console
    $ curl -o webmin-setup-repo.sh https://raw.githubusercontent.com/webmin/webmin/master/webmin-setup-repo.sh
    
  3. Run the script to add the Webmin repository.

    console
    $ sudo bash webmin-setup-repo.sh
    
  4. Install Webmin with all recommended packages.

    console
    $ sudo apt install --install-recommends webmin -y
    
  5. Verify that the Webmin service is active and running.

    console
    $ sudo systemctl status webmin
    

    The output should display active (running), confirming that the Webmin server daemon is operational.

Set Up Firewall Rules

Uncomplicated Firewall (UFW) is active by default on Ubuntu 26.04. Webmin listens on port 10000 by default. The following steps open the required ports for Webmin access, HTTPS traffic, and HTTP for certificate validation.

  1. Allow HTTP traffic on port 80 for SSL certificate validation.

    console
    $ sudo ufw allow 80/tcp
    
  2. Allow HTTPS traffic on port 443.

    console
    $ sudo ufw allow 443/tcp
    
  3. Allow connections on the Webmin port 10000.

    console
    $ sudo ufw allow 10000/tcp
    
  4. Verify the active firewall rules.

    console
    $ sudo ufw status
    

    Verify that ports 80, 443, and 10000 are listed as ALLOW in the output.

Secure Webmin

Webmin uses HTTPS by default with a self-signed certificate. Replacing it with a trusted Let's Encrypt certificate eliminates browser security warnings and encrypts all traffic to the control panel. The following steps generate a certificate, merge it into the format Webmin expects, and update the configuration.

  1. Install the Certbot Let's Encrypt client.

    console
    $ sudo apt install certbot -y
    
  2. Generate an SSL certificate for your Webmin domain. Replace webmin.example.com with your actual domain.

    console
    $ sudo certbot certonly --standalone -d webmin.example.com --agree-tos
    

    Follow the on-screen prompts to complete the certificate generation.

  3. Merge the SSL certificate and private key into a single .pem file that Webmin can use. Replace webmin.example.com with your actual domain.

    console
    $ sudo cat /etc/letsencrypt/live/webmin.example.com/fullchain.pem /etc/letsencrypt/live/webmin.example.com/privkey.pem | sudo tee /etc/webmin/webmin.pem > /dev/null
    
  4. Open the main Webmin configuration file using a text editor such as Nano.

    console
    $ sudo nano /etc/webmin/miniserv.conf
    
  5. Find the keyfile directive and update its value to point to the new certificate file.

    ini
    keyfile=/etc/webmin/webmin.pem
    

    Save and close the file.

  6. Restart Webmin to apply the SSL configuration.

    console
    $ sudo systemctl restart webmin
    

Access Webmin

The Webmin control panel is accessible through a web browser on port 10000 using HTTPS. Any system user with login privileges can access the interface, but only users with sudo privileges can perform administrative tasks.

  1. Open a web browser and navigate to your Webmin domain on port 10000. Replace webmin.example.com with your actual domain.

    https://webmin.example.com:10000
  2. Enter your system username and password, then click Sign In to access the Webmin dashboard.

  3. The dashboard displays system information including CPU usage, memory consumption, disk space, running processes, and network statistics.

  4. Expand System in the navigation menu and select Software Package Updates to view and install available package updates.

  5. Select Tools and click File Manager to browse and manage files on the server.

  6. Select Tools and click Terminal to open a command-line session directly from the Webmin interface.

Conclusion

You have installed Webmin on an Ubuntu 26.04 server and secured the control panel with a trusted Let's Encrypt SSL certificate. Webmin provides a graphical interface for managing users, services, packages, and system configurations without direct command-line access. For more information, refer to the official Webmin documentation.

Comments