Introduction
Webmin is an open-source tool for Linux that allows server management through a web-based GUI. This tool enables various system administration tasks via a browser, including monitoring system resources like CPU, memory, and disk usage. Typically, these administrative tasks are limited to users with sudo privileges. Additionally, Webmin allows updating software packages, file management via the File Manager, and access to a terminal shell for direct command-line operations within the same interface. In this guide, we will walk you through the steps to install, configure, and use Webmin on an Ubuntu server. Installing Webmin on Ubuntu 24.04 To install Webmin on an Ubuntu server, follow these steps: Step 1: Update and Upgrade the Packages List First, ensure your Ubuntu version is up-to-date by updating the system package list to get the latest software versions.
sudo apt update
Now, upgrade the available packages using the following command:
sudo apt upgrade -y
Step 2: Download Webmin Repository Script After updating the system packages, download the Webmin repository script from the official Webmin website:
sudo curl -o webmin-setup.sh https://raw.githubusercontent.com/webmin/webmin/master/setup-repos.sh
Step 3: Run Webmin Repository Script Using Bash Execute the downloaded Webmin repository script using bash:
sudo bash setup-repos.sh
Step 4: Install Webmin Install the Webmin server using the default apt package:
sudo apt install webmin -y
Step 5: Verify Webmin Installation To confirm the installation, check the status of Webmin using systemctl:
sudo systemctl status webmin
Alternatively, verify the Webmin installation with:
dpkg -l | grep webmin
Configuring the Firewall Rules for Webmin Webmin is accessible through the default server port 10000 using HTTP. To enhance security, consider changing the default port and using HTTPS for encrypted connections. Step 1: Enable Webmin Port Allow traffic on port 10000 for Webmin:
sudo ufw allow 10000/tcp
Step 2: Reload Firewall Apply the changes by reloading the firewall:
sudo ufw reload
Step 3: Verify the Firewall Status Confirm that the firewall rule for the Webmin port is applied:
sudo ufw status
Accessing and Using Webmin on Ubuntu 24.04 Once the Webmin server is installed and configured, access it on port 10000. Open a web browser and enter your server’s IP followed by port 10000:
http://your-server-ip:10000
Replace "your-server-ip" with your server's IP address. Enter your username and password to access the Webmin server. You will be directed to the Webmin dashboard, where you can view system statistics and perform tasks like updating software and managing files. Conclusion Webmin provides a user-friendly interface for managing Linux servers. This guide has shown how to install, configure, and use Webmin on Ubuntu 24.04. By following these steps, you can easily manage your server using Webmin's web-based interface. FAQ What is Webmin? Webmin is an open-source tool for managing Linux servers via a graphical user interface. It allows tasks such as system monitoring, software updates, file management, and terminal access. How do I install Webmin on Ubuntu 24.04? Update and upgrade system packages, download the Webmin repository script, set up the repository, install Webmin with apt, and verify the installation with systemctl or dpkg. How can I configure the firewall to allow Webmin access? Allow traffic on port 10000 using ufw, reload the firewall, and verify the firewall status to ensure the rule is effective. How do I access Webmin after installation? Open a web browser, navigate to http://your-server-ip:10000, and log in with your credentials to access the Webmin dashboard. Is Webmin accessible securely by default? By default, Webmin uses HTTP on port 10000, which isn't encrypted. To enhance security, change the default port and use HTTPS. What do I do if Webmin is not accessible after installation? Check that Webmin is active with systemctl, ensure port 10000 is allowed in firewall settings, and verify there are no network issues. What tasks can I perform using the Webmin dashboard? Monitor system resources, update software packages, manage files using the File Manager, and open a terminal shell for command-line operations.







