To install Plesk on a number of servers:
The utility is a binary file named as follows: psa_installer_v<auto-installer version>_os_<operating system version>_<platform>. If you have Plesk installed on the server, you can use the autoinstaller binary file, which is stored in the directory /usr/local/psa/admin/bin/ on RPM-based Linux and FreeBSD systems, and /opt/psa/admin/bin/ on deb-based Linux systems.
chmod 755 autoinstaller
autoinstaller --show-all-releases
A list of product versions will be displayed:
PLESK_7_0 (Plesk 7.0.4)
PLESK_7_1_7 (Plesk 7.1.7)
PLESK_8 (Plesk 8)
Release identifiers are shown on the left, and release names are given in brackets. You will need to use these identifiers when working with the auto-installer through command line. For instance, if you want to install Plesk 8, you will need to specify the release ID 'PLESK_8'.
autoinstaller --select-release-id PLESK_8 --show-components
A list of components will open displaying component identifiers in the left part, and brief descriptions in brackets:
base (Base packages of Plesk)
autoinstaller (Plesk Updater)
fp (Frontpage 2002 support)
asp (Apache ASP support)
mailman (Mailman mailing list manager support)
postgresql (PosgreSQL server support)
java (Tomcat Java Servlets support)
spamassassin (SpamAssassin support)
rblsmtpd (SPAM blocker for QMail daemon)
mod_python (Apache mod_python module)
vault (Application vault packages)
horde-comps (Additional Horde (webmail) components for Plesk)
docs (Additional Plesk manuals)
bu (Backup utilities)
drweb (Dr. Web antivirus)
ppwse (Plesk Professional Web Site Editor)
api (Plesk API [former Plesk Agent])
sshterm (SSHTerm - SSH Terminal java applet)
pmm (Plesk migration manager)
psa-firewall (Plesk Firewall module)
cs-gs (Plesk Counter-Strike game server module)
psa-vpn (Plesk VPN module)
battlefield (Plesk Battlefield 1942 game server module)
psa-fileserver (Plesk Fileserver module and SMB file server package)
watchdog (Watchdog (System monitoring module))
sitebuilder (SiteBuilder and SiteBuilder Remote Administration module for Plesk)
psa-cf (ColdFusion support for Plesk)
Therefore, for Plesk 8 installation comprising the components 'base', 'postgresql' and 'asp', you will need to use the following string of options and arguments: '--select-release-id PLESK_8 --install-component base --install-component postgresql --install-component asp'.
#!/bin/sh
SERVERS_LIST=node1.example.com node2.example.com
for current_server in $SERVERS_LIST; do
scp psa_installer root@current_server:
ssh -f root@current_server "autoinstaller
--source-type network --source http://updates.example.com/
--target /tmp/plesk
--select-release-id PLESK_8 --install-component base
--install-component postgresql --install-component asp
--notify-email admin@example.com"
done