+234 916 042 1899
Sign in

How to Install Webmin on Linux

How to Install Webmin on Linux

How to Install Webmin on Linux

Webmin is a free and powerful web-based control panel that makes it easy to manage your Linux server through a graphical interface. It allows you to manage users, domains, services, databases, and system configurations without relying entirely on the command line.

In this guide, you’ll learn how to install Webmin on Linux and access the Webmin dashboard.

Webmin Installation Requirements

Before you begin, make sure you have:

  • A fresh installation of CentOS, AlmaLinux, Rocky Linux, Fedora, Debian, Kali Linux, or Ubuntu.
  • Root access to your VPS or dedicated server.
  • An active internet connection.
  • An SSH client, such as PuTTY or Terminal.

Important: Installing Webmin on a fresh operating system helps prevent package conflicts and ensures a smooth setup process.

Step 1: Connect to Your Server via SSH

Log in to your server using SSH with root privileges.

Next, configure the Webmin repositories by running the following commands:

yum install wget curl -y
curl -o setup-repos.sh https://raw.githubusercontent.com/webmin/webmin/master/setup-repos.sh
sh setup-repos.sh

When prompted, type:

y

and press Enter to continue.

This will add the required Webmin repositories to your server.

Step 2: Install Webmin

Installing Webmin on CentOS, AlmaLinux, Rocky Linux, or Fedora

Run:

dnf install webmin

Installing Webmin on Debian, Ubuntu, or Kali Linux

Run:

apt-get install webmin --install-recommends

The installation process usually takes a few minutes, depending on your server’s speed and internet connection.

Step 3: Open Port 10000 in Your Firewall

Webmin uses port 10000 by default.

If your firewall is enabled, allow traffic through port 10000 by running:

firewall-cmd --zone=public --add-port=10000/tcp --permanent
firewall-cmd --reload

This will permanently open the Webmin port and reload your firewall settings.

Note: If you’re using a different firewall, such as UFW, make sure port 10000 is allowed.

Step 4: Access the Webmin Dashboard

Open your web browser and visit:

https://YOUR_SERVER_IP:10000

Replace:

YOUR_SERVER_IP

with your server’s actual IP address.

You may receive a browser warning because Webmin uses a self-signed SSL certificate by default. Proceed to the login page and sign in using your root credentials.

Congratulations! You’ve successfully installed Webmin and can now manage your server through the Webmin dashboard.

Common Installation Issues

Unable to Access Webmin

If the login page doesn’t open:

  • Verify that Webmin is installed correctly.
  • Confirm that port 10000 is open in your firewall.
  • Ensure you’re using the correct server IP address.
  • Restart the Webmin service if necessary.

Browser Displays a Security Warning

This is normal because Webmin uses a self-signed SSL certificate by default.

You can safely continue or install a trusted SSL certificate later for improved security.

Installation Failed

Installation problems are commonly caused by:

  • Unsupported operating systems.
  • Missing package repositories.
  • Network connectivity issues.
  • Insufficient server resources.

What Can You Do With Webmin?

Once installed, Webmin allows you to:

  • Manage users and groups.
  • Configure Apache and Nginx.
  • Manage DNS settings.
  • Create scheduled cron jobs.
  • Manage databases.
  • Monitor system resources.
  • Configure email services.
  • Install software packages.
  • Manage firewall settings.

Why Choose Webmin?

Webmin is popular because it offers:

  • A free and open-source solution.
  • A user-friendly web interface.
  • Support for multiple Linux distributions.
  • Powerful server administration tools.
  • Low resource usage.
  • Easy management of services and configurations.

Conclusion

Installing Webmin gives you a convenient way to manage your Linux server without depending entirely on the command line. With support for multiple Linux distributions and a wide range of administration tools, Webmin is an excellent choice for VPS and dedicated server management.

Tip: After installing Webmin, consider changing the default settings, securing SSH access, and configuring a firewall to improve your server’s security.

Post Your Comment

Build Your Website with Hosting Nigeria.

We are rated the best web hosting company in Nigeria!