Introducing ‘plesk installer’ (Linux)
Have you ever felt that using Parallels Installer from command line is somewhat daunting? It has a lot of options and you usually need to get required “spell” from KB articles or official forums. For example, to manually install latest updates onto your system previously you would have to run (tediously typing each option!):
# /usr/local/psa/admin/sbin/autoinstaller --select-product-id plesk --select-release-current \
No more! Introducing
installer subcommand for
plesk command-line hub.
We’ve already introduced plesk command-line hub in one of the previous posts. It facilitates working with Plesk utilities from shell. Starting from Plesk 11.5.30 update 12 ‘
plesk installer‘ will provide you with useful shortcuts and tab-completion for Parallels Installer options. Observe:
# plesk installer --sh<TAB>
# plesk installer --show-<TAB><TAB>
--show-all-releases --show-installation-types --show-packages
--show-components --show-os-list --show-releases
# plesk installer --show-r<TAB>
# plesk installer --show-releases <ENTER>
--- prod_id release_id (description) (branch) ---
plesk PLESK_11_5_30 (Parallels Plesk Panel 11.5.30) (currently installed)
You can also simply run
plesk installer which is equivalent to running
However tab-completion is just a convenience. We don’t believe many users actually type Parallels Installer commands too often. What you might find really useful is a couple of shortcuts for Parallels Installer.
# plesk installer install-all-updates
This simple command will install all available updates within current Plesk version. Don’t worry, Plesk will not be accidentally upgraded to the next version with this command.
# plesk installer install-panel-updates
This command will do the same, but install only Plesk updates instead. I.e., system components such as MySQL and PHP will not be updated unless it is required for proper Plesk functioning. This is useful if you want to keep your system stable and has similar effect to disabling “Automatically install updates for third-party components” in Tools & Settings > Update and Upgrade Settings in Panel. This command will also reinstall latest patch for Plesk if latest update is already installed.
We recommend this command for manual installation of micro-updates.
Please note that
plesk tool is open for further improvement based on your suggestions. Even more — the tool is open source and you can directly contribute to its development! And one last hint: the tool will (partially) work even on older Plesk versions, just follow instructions on the github page.