Virtualmin Installation FAQ

Should I install Webmin before I run install.sh?

No. The install script runs best on a freshly installed Grade A supported Operating System.

Should I install Apache, Postfix, MySQL, Dovecot, etc. before I run install.sh?

No. The install script runs best on a freshly installed Grade A supported Operating System.

What if I already installed Webmin on my system?

If you installed from the standard package type for your system downloaded from Webmin.com or Virtualmin.com, everything should be fine. Running install.sh should work without any trouble.

If you installed from a third party source, or you don't know where it came from (like it was provided on a dedicated server you've rented from your hosting provider), you should uninstall it, and make sure whatever software repository it came from has been disabled.

What if I already installed Apache, Postfix, MySQL, Dovecot, etc. on my system?

If you installed from the OS standard repository for your OS, everything should be fine. If you installed from any third party sources, or from source, the installation will fail and things will go badly. The install script cannot accommodate packages installed from non-standard sources. It just isn't that smart.

If you can re-install your OS, it is recommended that you start with a freshly installed Grade A supported Operating System.

I installed manually or using packages from a third party source, and I have the following error after install: "The Suexec command on your system is configured to only run scripts under /var/www, but the Virtualmin virtual server home directory is /home. CGI and PHP scripts run as domain owners will not be executed."

The Apache suexec command on your system is misconfigured for use in a virtual hosting environment, and needs to be recompiled or configured (on systems that provide a configurable suexec command) with the docroot set to /home. On Debian/Ubuntu systems, you can install the apache2-suexec-custom package, and modify /etc/apache2/www-data to include /home. On other systems, you will need to recompile the Apache package or the suexec binary.

Or, you can use our automated install script, which insures a correctly configured suexec binary is installed.