(Advanced) Automated Installation

Once you have completed the steps described in the section Before Installing Plesk, you can proceed directly to the Plesk installation.

To install Plesk on Linux or Windows-based servers, use the Plesk Installer utility. The Plesk Installer utility is available for download from http://installer.plesk.com/plesk-installer (for Linux) and http://autoinstall-win.plesk.com/plesk-installer.exe (for Windows).

How to Automate Plesk Installation

The typical manual installation takes a long time when it comes to mass deployment of Plesk, so we recommend that you automate this process. The automatic process is based on using the command line options of the Plesk Installer utility that allow you to predefine all installation parameters. Thus, you can run an installation that does not require any user input. To learn how to run such installations, refer to the section Running Automated Installations.

Moreover, if you are going to perform mass deployment of Plesk for Linux, you can write a script that automatically copies and runs Installer on a specified group of servers. See the script examples in the section Installation Script Examples (Linux). On Windows systems, scripts with the remote commands execution are also possible but require additional tools such as PsExec. Thus, we do not give examples of such scripts for Windows.

Automating Post-Installation Steps

After a typical manual installation is finished, you should log in to Plesk to perform some post-installation operations (initialize Plesk, install a license key, and so on). If you have multiple Plesk installations, this process can be automated as well. If you want to avoid user input in the Plesk interface, the best approach is to perform the same operations either from the command-line interface or with the remote API (also known as XML API). To learn more about how to complete Plesk installation in an automated manner, refer to the corresponding sub-sections of After Installing Plesk.

Speeding Up Automated Installations

Note that you can significantly speed up multiple installations if you create a local mirror of the Plesk updates server. This will allow you to save time and bandwidth, and to secure your installations. Learn how to set up a custom mirror in Appendix C: Mirroring Plesk updates Server.

Next in this section:

Running Automated Installations

Installation Script Examples (Linux)