
Webmin is an open-source server management control panel that simplifies administration on Linux systems through a web-based graphical interface. It features a modular design, allowing users to extend its core functionalities by installing additional modules. With Webmin, administrators can easily manage user accounts, disk quotas, networking, software packages, and other system settings without relying on the command line. On Ubuntu 20.04, Webmin provides a convenient and efficient way to handle server management tasks, making remote administration more accessible and reducing system maintenance complexity.
This article explains how to install Webmin on Ubuntu 24.04 to manage and monitor system functionalities using the web-based control panel. If you're using a different system, check out our articles on Installing Webmin on FreeBSD 14.0 and Installing Webmin on Rocky Linux 9 for step-by-step instructions tailored to those operating systems.
Before you begin:
Deploy a Ubuntu 24.04 server instance on Vultr.
Create a new subdomain DNS record pointing to your server IP address. For example, webmin.example.com.
Access the server using SSH with sudo privileges.
Webmin is not available in the default Ubuntu 24.04 APT repositories. Follow the steps below to download the latest Webmin repository information and install the application on your server.
Download the latest Webmin repository script.
Run the script using Bash.
Install Webmin with all recommended packages.
View the Webmin system service and verify that it's running.
Output:
The Webmin control panel is accessible on the default server port 10000 using HTTP which creates unencrypted connections between your server and a web browser. Secure Webmin by changing your default server port if necessary and encrypt all network connections using HTTPS with trusted SSL certificates. Follow the steps below to generate trusted Let's Encrypt SSL certificates and encrypt all network connections to the Webmin interface.
Allow the HTTP connections through the default firewall to enable Let's Encrypt validations.
Install the Certbot Let’s Encrypt client application.
Generate a new SSL certificate using your Webmin domain. Replace webmin.example.com with your actual domain and webmin@example.com with your email address.
When the certificate request is successful, your output should look like the one below:
Based on the above output, Certbot saved the SSL certificate and private key files to the /etc/letsencrypt/live/webmin.example.com/ directory.
Run the following command to merge the SSL certificate and private key into a single .pem file. For example, webmin.pem.
Move the new certificate file to the Webmin configurations directory.
Open the main Webmin configuration file using a text editor such as Nano.
Find and replace the keyfile value with your SSL certificate file location.
Restart Webmin to apply the new SSL configuration changes.
Uncomplicated Firewall (UFW) is active on Ubuntu 24.04 servers by default. Follow the steps below to configure the firewall to allow network connections to the default Webmin interface port 10000 and enable HTTPS network connections on the server.
Allow the Webmin port 10000.
Allow the HTTPS network connections.
Deny insecure HTTP connections on the server.
Reload UFW to apply the firewall changes.
View the UFW status to verify all available connection rules.
Your output should look like the one below.
Access your Webmin domain on port 10000 using a web browser such as Chrome.
Enter your sudo user account details and click Sign In to log in and access the Webmin control panel.
All system users with login privileges on your server can access and use the Webmin control panel. However, only privileged users (sudo) can perform administrative tasks using the interface.
Verify your server system information within the Webmin dashboard including your CPU usage, memory usage, disk space, running processes and statistics.
Expand System on the main navigation menu and click Software Package Updates to view packages that require updates on your server.
Select and verify the list of packages that require updates on your server. Then, click Update Selected Packages to view all installable packages.
Click Install Now to update the selected packages on your server.
Click Tools and select File Manager to manage files on your server.
Navigate to Tools and select Terminal to open a new terminal shell on your server.
You have installed Webmin on Ubuntu 24.04 server and secured the control panel with trusted SSL certificates. In addition, accessed the Webmin control panel and performed basic server administration tasks. The control panel lets you keep your server packages up to date, manage the filesystem and other system components such as users, processes, among other features. For more information and configuration options, please visit the Webmin documentation.
0 Comments
Be the first to comment and share your perspective with the community.