Usually, getting started with Virtualmin can be done with a few simple steps, using our automated install script. The install script will setup your package manager, usually apt-get or yum, and then download our packages as well as all of the necessary dependencies for running Virtualmin.
Install your Operating System
Start with a freshly installed, Grade 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. Also, do not enable any third party software repositories, as they can introduce problems during install and configuration.
Check your hostname
Are you sure you set a fully qualified domain name for your system? This one is really important. Find out with the following command:
# hostname -f
If it is fully qualified, continue to the next step. If not, read up on fully qualified domain names before proceeding. You'll thank me later.
Run the Install Script and Configure Virtualmin
Execute the downloaded install script using a command like the following:
sudo /bin/sh install.sh
After a few minutes, your system should have everything it needs to provide a full-feature 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!
Check the Docs
If your particular deployment doesn't fit these simple steps, either because you cannot freshly install your OS, or you cannot use a Grade A supported OS, Virtualmin can probably still work for you. Check out the installation documentation, which covers a lot more detail about how a Virtualmin system is installed, and other ways to install it.