Downloading and Installing Virtualmin GPL

Getting started with Virtualmin can be done with a few simple steps, using an automated install script.


Install your Operating System

Start with a freshly installedGrade A supported Operating System on your server or VPS. CentOS and Ubuntu LTS are very popular options for hosting, and are a safe choice, but any Grade A supported system should work fine. Be sure to configure your system with a fully qualified domain name, as it will save you a lot of time and documentation spelunking later.

Do not pre-install or pre-configure any additional packages on your OS. The installer expects a freshly installed, supported, OS, and anything you do differently may cause conflicts or configuration errors. If you will be enabling third-party package repositories, do so after installation of Virtualmin, and only with extreme caution.

Download the Virtualmin Install Script

The easiest way to get the install script onto your server is to login to your server and use wget or curl. For example:

wget http://software.virtualmin.com/gpl/scripts/install.sh

Run the Install Script and Configure Virtualmin

Execute the downloaded install script using a command like the following:

sudo /bin/sh install.sh

There are some available options to install different configurations (including installing nginx instead of Apache, and leaving out some of the mail processing stack for small memory systems). Run the install script with the –help flag for a list of available options, and consult the documentation, especially about the available installation bundles and the minimal installation mode, if choosing a non-default installation type.

The install script may ask you some questions. If your system does not have a fully qualified hostname, the script will ask you to provide one. Or, if your system doesn’t have enough memory for the installation type you’ve chosen, it’ll offer to create a swap file.

After a few minutes, your system should have everything it needs to provide a full-featured virtual web hosting environment! Now login to Virtualmin by browsing to port 10000 on the address of your server using the HTTPS protocol. Ignore the SSL certificate validation error (the SSL certificate is a self-signed one after initial installation, but can be replaced with a valid certificate after initial configuration is complete).

Follow the steps in the post-install wizard to setup Virtualmin to suit your environment and needs. Virtualmin will check the configuration of the system and validate some server settings to insure your system is ready for service.

Click Create Virtual Server to start making your first website in Virtualmin!