---
title: "Install Webmin on CentOS"
description: "Webmin is a system administration program that allows you to manage a web server with a web interface. The free cPanel alternative supports file management, backup scheduling, resource monitoring, and..."
url: https://www.inmotionhosting.com/support/product-guides/self-managed-vps/how-to-install-webmin-on-centos/
date: 2020-02-03
modified: 2026-12-02
author: "InMotion Hosting Contributor"
categories: ["Self-Managed VPS Hosting"]
type: post
lang: en
---

# Install Webmin on CentOS

![Install Webmin on CentOS 8](https://www.inmotionhosting.com/support/wp-content/uploads/2021/12/webmin-install-centos-1024x538.jpg)

**Webmin** is a system administration program that allows you to manage a web server with a web interface. The free cPanel alternative supports file management, backup scheduling, resource monitoring, and more.

![](https://www.inmotionhosting.com/support/wp-content/uploads/2020/01/webmin-dashboard-1024x579.png)

![](https://www.inmotionhosting.com/support/wp-content/uploads/2020/01/webmin-backup-1024x579.png)

![](https://www.inmotionhosting.com/support/wp-content/uploads/2020/01/webmin-upload-download-1024x579.png)

Webmin is best suited for unmanaged [Self-Managed VPS Hosting](https://www.inmotionhosting.com/vps-hosting?mktgp=t&utm_source=id92835&utm_medium=link&utm_campaign=supportcenter&utm_term=cloud-server-cta6). You can install Webmin on a cPanel-managed server. However, this should be temporary as having both creates more security vulnerabilities while you’re still paying for cPanel. For additional information you can read our blog: “[cPanel-Managed VPS vs Self-Managed VPS Hosting?](https://www.inmotionhosting.com/blog/cpanel-vps-vs-cloud-server-hosting/)”

## **Install Webmin on CentOS 8**

1. [Log into SSH](https://www.inmotionhosting.com/support/server/ssh/how-to-login-ssh/) as root.
2. Visit [https://www.webmin.com/download.html](https://www.webmin.com/download.html) for the latest package URL
3. Download the RPM (as of December 2021):

   ```
   wget https://prdownloads.sourceforge.net/webadmin/webmin-1.983-1.noarch.rpm
   ```

4. Install required dependencies:

   ```
   yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty perl-Encode-Detect
   ```

   You may receive the following errors: “No match for argument: perl-IO-Tty” and “Error: Unable to find a match: perl-IO-Tty.” If so, exclude perl-IO-Tty:

   ```
   yum -y install perl-Net-SSLeay perl-Encode-Detect
   ```

5. Install Webmin:

   ```
   rpm -U webmin-1.983-1.noarch.rpm
   ```

6. Set a password for the admin Webmin user:

   ```
   /usr/libexec/webmin/changepass.pl /etc/webmin root NewStrongPassword
   ```

   Add a space at the beginning of the command to exclude it from your bash history.


You should see the following notification: “Password for Webmin user root updated successfully.”

Afterwards, log into https://YourServerHostname:10000 or https://YourServerIP:10000 with your Webmin user credentials.

### Can’t locate ./acl/md5-lib.pl/ ?

If you receive the *“Can’t locate ./acl/md5-lib.pl…”* error, try the following steps.

1. Navigate to your Webmin directory:

   ```
   cd /usr/libexec/webmin/
   ```

2. Rerun the password reset script or use this variation:

   ```
   ./changepass.pl /etc/webmin/ root NewStrongPassword
   ```


If you prefer a one-liner to complete the two steps above as once:

```
cd /usr/share/webmin/ && ./changepass.pl /etc/webmin/ root NewStrongPassword
```

## **Fix the Self-signed SSL Certificate Error**

You should address the self-signed SSL issue immediately after installing Webmin for better server security. We recommend installing an SSL certificate with [Certbot](https://www.inmotionhosting.com/support/website/ssl/lets-encrypt-ssl-ubuntu-with-certbot/).
