---
title: "Install Webmin on Ubuntu 20.04"
description: "Webmin is a system administration tool that enables you to manage a web server without the command-line interface (CLI). A popular free cPanel alternative, Webmin can complete a long list of sysadmin..."
url: https://www.inmotionhosting.com/support/product-guides/self-managed-vps/how-to-install-webmin-on-ubuntu-apt/
date: 2020-03-09
modified: 2026-03-11
author: "InMotion Hosting Contributor"
categories: ["Self-Managed VPS Hosting"]
type: post
lang: en
---

# Install Webmin on Ubuntu 20.04

![Install Webmin on Ubuntu 18.04 and 20.04](https://www.inmotionhosting.com/support/wp-content/uploads/2020/03/webmin-install-ubuntu-1024x538.jpg)

[**Webmin**](https://www.webmin.com/) is a system administration tool that enables you to manage a web server without the command-line interface (CLI). A popular free cPanel alternative, Webmin can complete a long list of sysadmin features natively and with installable modules:

- File, database, and user management
- Language and theme customization
- Scheduled backup configuration
- Resource monitoring
- Server hardening
- DNS Settings
- Manage email
- And much 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)

## **Install Webmin on Ubuntu with APT**

This guide was tested on Ubuntu 18.04 and 20.04.

1. [Log into SSH](https://www.inmotionhosting.com/support/server/ssh/how-to-login-ssh/) as root.
2. Edit your APT sources file:

   ```
   nano /etc/apt/sources.list
   ```

3. Add Webmin to the file:

   ```
   deb http://download.webmin.com/download/repository sarge contrib
   ```

4. Download the developer’s GPG key which signed the repo:

   ```
   wget https://download.webmin.com/jcameron-key.asc
   ```

5. Add it to your list of trusted keys:

   ```
   apt-key add jcameron-key.asc
   ```

6. Update your package lists:

   ```
   apt-get update
   ```

7. Install Webmin:

   ```
   apt-get install webmin
   ```

8. If applicable, open port 10000 on your server firewall. If you don’t have one installed already, we recommend ConfigServer Security & Firewall (CSF) or Firewalld for managing iptables firewall rules.
9. Set a password for the root Webmin user:

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

   Add a space before the command to prevent it (and your new password) from being saved in your bash history.


You’ll receive 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 the Webmin directory:

   ```
   cd /usr/share/webmin
   ```

2. Rerun the password reset script or try this variation of the command:

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


If you prefer a one-liner to complete the two steps above you can use the following:

```
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/).

If you don’t need cPanel, don’t pay for it. Only pay for what you need with our scalable [Cloud VPS Hosting](https://www.inmotionhosting.com/cloud-vps).

![check mark](https://design.inmotionhosting.com/assets/icons/standard/check-blue.svg)CentOS, Debian, or Ubuntu ![check mark](https://design.inmotionhosting.com/assets/icons/standard/check-blue.svg)No Bloatware ![check mark](https://design.inmotionhosting.com/assets/icons/standard/check-blue.svg)SSH and Root Access
