How to Install Webmin on Ubuntu 24.04

This article explains how to install Webmin on Ubuntu 24.04.

Webmin is a web-based system administration tool for Unix-like systems, including Ubuntu. It provides a user-friendly interface for managing various aspects of your server without needing to use the command line extensively.

This tool lets you manage server configurations via a web browser. It offers modules for managing services like Apache, DNS, file sharing, user accounts, and more. Its centralized management makes it easier to oversee multiple aspects of your server.

Since it’s web-based, you can manage your server remotely from any location with internet access, simplifying server administration and making managing a server much more user-friendly.

Install required packages

Webmin relies on some packages to be installed on Ubuntu to run. Below are some of the packages that you must install.

Run the command below to install them.

sudo apt install python3 shared-mime-info unzip apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl libnet-ssleay-perl

After installing the packages above, download the Webmin installer package.

Download and install Webmin

Your system should be ready to install Webmin.

Run the command below to download the latest version of Webmin.

curl -L -O https://www.webmin.com/download/deb/webmin-current.deb

You may have to install curl [sudo apt install curl] if you don’t already have it.

Once downloaded, install Webmin by running the command below.

sudo dpkg -i webmin-current.deb

After installing, open the Webmin config file by running the command below.

sudo nano /etc/webmin/miniserv.conf

Then, add a new line with the IP addresses you want to allow access to the server.

# add a new line at the end to allow IP addresses
allow=127.0.0.1 192.168.0.0/24

Save and exit the file.

Restart Webmin by running the command below.

sudo systemctl restart webmin

You should then be able to access the server hostname or IP address, followed by port 10000 from clients’ IPs, which is allowed.

http://example.com:10000

Users who are admins or can run the sudo command are allowed to log in on the login page.

Webmin login page

Start managing your server.

Webmin login dashboard

That should do it!

Conclusion:

Installing Webmin on Ubuntu 24.04 is a straightforward process that enhances server management capabilities. Here are the key takeaways:

  • Web-Based Management: Webmin provides a user-friendly interface for managing server configurations without extensive command line use.
  • Remote Access: Manage your server from anywhere with internet access, simplifying server administration.
  • Essential Packages: Ensure necessary packages are installed before proceeding with the Webmin setup.
  • Installation Steps: Follow the commands to download and install Webmin, configure access, and restart the service.
  • Access and Use: Log in through the designated port to begin managing your server effectively.

Following these steps, you can harness Webmin’s full potential for your server management needs.

Frequently Asked Questions

What is Webmin and why should I use it?

Webmin is a web-based system administration tool for Unix-like systems, including Ubuntu. It provides a user-friendly interface for managing server configurations, making server administration easier without extensive command line use.

How do I install Webmin on Ubuntu 24.04?

To install Webmin on Ubuntu 24.04, first install the required packages using the command 'sudo apt install python3 shared-mime-info unzip apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl libnet-ssleay-perl'. Then, download the Webmin installer package and install it using 'sudo dpkg -i webmin-current.deb'.

What packages are required for Webmin installation?

Webmin requires several packages to be installed on Ubuntu, including python3, shared-mime-info, unzip, and various Perl libraries. Ensure you install these packages before proceeding with the Webmin setup.

How do I configure access for Webmin?

To configure access for Webmin, open the config file with 'sudo nano /etc/webmin/miniserv.conf' and add a line with the allowed IP addresses. After saving the changes, restart Webmin using 'sudo systemctl restart webmin' to apply the new settings.

How can I access Webmin after installation?

After installing Webmin, you can access it by navigating to your server's hostname or IP address followed by port 10000 in your web browser, like 'http://example.com:10000'. Make sure your IP is allowed in the configuration to log in.

Categories:

One response to “How to Install Webmin on Ubuntu 24.04”

  1. […] their mail and other services on a server without requiring full access to the server itself. Webmin provides full system administration capabilities, while Usermin is designed for end users to manage […]

Leave a Reply

Your email address will not be published. Required fields are marked *

Exit mobile version