VirtualMin on a VPS

Virtualmin states it can run on the following servers:

Red Hat Enterprise Linux and derivatives
  - RHEL 8 and 9 on x86_64
  - Alma and Rocky 8 and 9 on x86_64
  - CentOS 7 on x86_64

Debian Linux and derivatives
  - Debian 10, 11 and 12 on i386 and amd64
  - Ubuntu 20.04 LTS and 22.04 LTS on i386 and amd64

I tried setting up Virtualmin here on DigitalOcean and it consistently fails with errors. I’ve tried those very same servers with other hosts on a VPS without any issues. Any recommendations on how to install virtualmin here on DigitalOcean?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

What are the exact errors that you are seeing?

I’ve just tested this on a 2GB RAM Ubuntu 20.04 Droplet and 1GB swap file and it worked as expected.

After creating the Droplet, I added an A record for a test domain to point to the Droplet’s IP address as I could then use that domain as the hostname for the Virtualmin installation.

Next, I used the following instructions to do the installation:

Download the installation script:


And then run it:

sudo sh

After that just follow the installation flow.

What OS were you using with the other hosting provider that the installation was successful for?



Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel