Installing Virtualmin

If you have a fresh system running CentOS 5 or Debian 4.0 and want to install the full Virtualmin GPL stack (including Webmin, Apache, Postfix and other dependencies), the easiest way is to use the Virtualmin GPL install script. Otherwise, you should add it to an existing Webmin install, as described here.

First download the Virtualmin module in the format that matches your Webmin install :

Virtualmin module in RPM format (for Redhat or Fedora Linux) : (1.3 MB)

Virtualmin module in Debian Package format (for Debian and Ubuntu Linux) : (1.3 MB)

Virtualmin module in Webmin format (for FreeBSD, MacOS and Solaris) : (1.3 MB)

You can install the module by going to the Webmin Configuration module, clicking on Webmin Modules and use the first form on the page to install the downloaded file. Or install it directly from the above URL. After installation the module will show up in the Servers category.

If you are interested, older versions of Virtualmin are also available.

Virtualmin versions 2.30 and above support plugins, which are Webmin modules that provide additional virtual server or mailbox user features. Some existing plugins are available here.

Setting up Virtualmin Manually

To work properly, Virtualmin requires that several servers like Apache, Postfix and BIND be configured and running, and that their corresponding Webmin modules be setup too. To do this, you can follow the basic steps below :

  • Install Webmin, if you don't already have it. If so, make sure it is upgraded to the latest version.
  • Visit Webmin's modules for Apache, BIND, Postfix and MySQL to ensure that all those servers are installed and running. If you prefer Sendmail, it may be used instead of Postfix.
  • Go to the Webmin Configuration module and click on Webmin Modules. Then install both the virtual-server....wbm.gz and virtual-server-theme....wbt.gz files linked above.
  • In the Webmin Configuration module, click on Webmin Themes and select the Virtualmin Framed Theme.
  • Logout of Webmin and log back in again - you should see the new Virtualmin framed user interface.
  • Click the button labelled Re-check and refresh configuration. This will list any problems found on your system, such as missing or im-properly configured servers.
  • Fix all the problems, and re-try clicking the button. Repeat this until no problems are found.
  • Click the Create virtual server link on the left menu to add your first domain.

If you installed using the Virtualmin install script, all of these steps are automated for you. But that is only suitable for systems not currently hosting any websites or DNS domains.