Linux MintUbuntu Based

How To Install Webmin on Linux Mint 21

Install Webmin on Linux Mint 21

In this tutorial, we will show you how to install Webmin on Linux Mint 21. Webmin is an open-source web-based system configuration tool for Unix-like systems, including Linux. It allows administrators to manage various aspects of their servers, such as user accounts, DNS settings, and web servers, through a web interface.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of Webmin on a Linux Mint 21.

Prerequisites

  • A server running one of the following operating systems: Linux Mint 21.
  • It’s recommended that you use a fresh OS install to prevent any potential issues.
  • While we’ll guide you through the process, a basic understanding of the command line will be beneficial. If you’re new to the CLI, you might want to acquaint yourself with some fundamental commands.
  • An active internet connection.
  • Administrative privileges are essential for installing and configuring software on your system. Ensure that you have superuser or sudo access.

Install Webmin on Linux Mint 21

Step 1. Before diving into the installation process, it’s crucial to ensure that your Linux Mint 21 system is up-to-date. Keeping your system updated not only ensures that you have the latest features and security patches but also helps prevent potential compatibility issues with the software you‘re installing. To update your system, open your terminal and run the following commands:

sudo apt update
sudo apt upgrade

Step 2.Installing Webmin on Linux Mint 21.

Webmin provides an automatic setup-repos.sh script that simplifies the process of setting up the Webmin repository on your system. This script not only sets up the repository but also installs the necessary GPG keys for package verification. To download the setup-repos.sh script, run the following command in your terminal:

curl -o setup-repos.sh https://raw.githubusercontent.com/webmin/webmin/master/setup-repos.sh

After downloading the script, you need to run it to set up the Webmin repository. To do this, run the following command in your terminal:

sh setup-repos.sh

With the Webmin repository set up on your system, you’re now ready to install Webmin. The apt package manager makes this process straightforward. To install Webmin, run the following command in your terminal:

sudo apt-get install webmin --install-recommends

This command installs Webmin along with all its recommended packages, providing you with a complete set of features.

Step 4. Configure Firewall.

To access Webmin, you need to allow traffic on port 10000, which is the default port used by Webmin. Use the following commands to open the port in the firewall:

sudo ufw allow 10000/tcp
sudo ufw status

The ufw status command will display the current firewall rules and confirm that port 10000 is open.

Step 5. Access Webmin Web Interface.

After successfully installing Webmin, you can access its web-based interface by entering https://<Your-Server-IP>:10000 in your web browser. Replace <Your-Server-IP> with the IP address of your server.

Install Webmin on Linux Mint 21

To ensure that the Webmin service is running correctly, you can check its status by running the following command in your terminal:

sudo systemctl status webmin

Congratulations! You have successfully installed Webmin. Thanks for using this tutorial to install the latest version of Webmin on the Linux Mint system. For additional help or useful information, we recommend you check the official Webmin website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!

r00t

r00t is a seasoned Linux system administrator with a wealth of experience in the field. Known for his contributions to idroot.us, r00t has authored numerous tutorials and guides, helping users navigate the complexities of Linux systems. His expertise spans across various Linux distributions, including Ubuntu, CentOS, and Debian. r00t's work is characterized by his ability to simplify complex concepts, making Linux more accessible to users of all skill levels. His dedication to the Linux community and his commitment to sharing knowledge makes him a respected figure in the field.
Back to top button