Installation Script Examples (Linux)
This section provides notes on implementation and execution of an installation script, and also presents a couple of installation script samples.
Implementation and Execution Notes
- To avoid being prompted for password each time you connect via SSH to the servers where Plesk should be installed, place your public key to the list of authorized keys of a user on whose behalf the script is run on each server (see SSH documentation for details on the procedure).
- If you have a local mirror of the Plesk updates server (as described in Appendix C: Mirroring Plesk updates Server), use the following option:
--source <mirror URL>
- By default, all downloaded packages are stored under the
/root
directory. To use another directory, use the following option:--target <directory-name>
Example
This script performs a typical installation of the latest Plesk version on the specified servers.