# wget https://autoinstall.plesk.com/plesk-installer
# chmod +x ./plesk-installer
# sh ./plesk-installer install <RELEASE> <OPTIONS>
Parameter |
Use |
Explanation |
|---|---|---|
Product ID |
|
‘plesk’ is the product ID for Plesk. Install the recommended set of components of the latest generally available release of Plesk: # ./plesk-installer install plesk If no product ID is specified explicitly, ‘plesk’ is used by default. |
Release version |
|
Specify the release by the exact release version. # ./plesk-installer install PLESK_18_0_71 |
Release ID |
|
Specify the release by the release ID. # ./plesk-installer install PLESK_18_0_71 Use the list-all command to view all the available release IDs: # ./plesk-installer list-all |
Option |
Use |
Explanation |
|---|---|---|
|
or
|
Packages source options define the location where the installer should obtain the Plesk packages for installation. You can use either For information on managing local mirror repositories, see Mirroring Plesk Autoinstall Servers. |
|
|
Choose one of the predefined sets of components for installation: Recommended, Full, or Custom. # ./plesk-installer install PLESK_18_0_71 --preset Full |
|
|
Add listed components to the selected preset. # ./plesk-installer install PLESK_18_0_71 \ --preset Full --with git docker |
|
|
Exclude listed components from the selected preset. # ./plesk-installer install PLESK_18_0_71 \ --preset Full --without java |
|
|
Install only listed components. # ./plesk-installer install PLESK_18_0_71 --components panel postgresql Use the # ./plesk-installer list PLESK_18_0_71 --components |
# ./plesk-installer help
# ./plesk-installer --help-options
# ./plesk-installer install PLESK_18_0_71 \
--source http://mirror.example.com/ \
--target /tmp/panel \
--components base postgresql spamassassin
#!/bin/sh
SERVERS_LIST="node1.example.com node2.example.com"
for current_server in $SERVERS_LIST; do
ssh -f root@$current_server 'wget https://autoinstall.plesk.com/plesk-installer -O - | sh /dev/stdin \
--source https://autoinstall.plesk.com/ \
--target /tmp/plesk-installation \
--preset "Recommended"'
done