In this tutorial, you’ll learn how to install the Vitrualmin control panel on Debian. Because Debian is so closely related to Ubuntu, these steps should also work for Ubuntu installations. As a bonus, this tutorial will also install Webmin alongside of Virtualmin.
Vitrualmin System Requirements
Although Virtualmin suggests installing on a system with 1 GB RAM or more, I ran into the following when trying to install it on a Linode VPS with 1 GB of RAM.
In that case, I suggest you use a server with at least 2 GB of RAM.
At the time of this writing, the following operating systems are supported by Virtualmin.
- CentOS/RHEL 6 on i386 and x86_64 and, 7 and 8 on x86_64
- Debian 9 and 10 on i386 and amd64
- Ubuntu 16.04 LTS, 18.04 LTS and 20.04 LTS on i386 and amd64 (non-LTS releases are not supported)
Please see the Virtualmin OS Support page for the latest compatible operating systems.
Virtualmin DNS Settings
While it’s not required, it’s a good idea to point your DNS A records to the IP address where you will be installing Virtualmin. This way, when you want to install an application like WordPress, you can associate the website with a domain name.
If you will be installing a free Let’s Encrypt SSL certificate through Virtualmin, the default subdomains that are created for a new server instance are as follows:
Add these subdomains as A records to your DNS settings as well.
Virtualmin and Webmin Installation
Installing Virtualmin is a very automated process. Simply download the installer script with wget and execute it like this.
wget http://software.virtualmin.com/gpl/scripts/install.sh /bin/sh install.sh
After confirming that you want to proceed with the installation and entering your hostname (if it’s not already set), the installation will take approximately 5 minutes to complete.
When the installation finishes, you can access your Virtualmin dashboard with a web browser. The default port for Virtualmin is 10000.
You can use your Debian username and password to log in to the Virtualmin dashboard.
If you are interested in a basic overview, deploying a server, or installing WordPress on Virtualmin, please take a look at the following video tutorial.
If you have any questions about installing or configuring Virtualmin, please let me know in the comments below.