Applicable to:
- Plesk for Linux
Question
How to install Plesk with specific components via command-line interface (CLI)?
Answer
-
Connect to the server via SSH
-
Download the required Plesk Installer:
# wget http://autoinstall.plesk.com/plesk-installer
-
Add execute permissions to the Plesk Installer file:
# chmod +x plesk-installer
-
Find the required release by running:
# ./plesk-installer list-all
<...>
--- prod_id release_id (description) (tiers) ---
plesk PLESK_18_0_69 (Plesk Obsidian 18.0.69) (development,testing,release,current,stable)
plesk PLESK_18_0_68 (Plesk Obsidian 18.0.68) (development,testing,release,current,stable)
plesk PLESK_18_0_67 (Plesk Obsidian 18.0.67) (development,testing,release,current,stable)
<...> -
Check available components for the chosen release, e.g.
PLESK_18_0_69
:# ./plesk-installer list PLESK_18_0_69 --components
<...>
Reading package lists...
Detecting installed product components.
panel [install] - Plesk
bind [install] - BIND DNS server
postgresql [install] - PostgreSQL server
fail2ban [install] - Fail2Ban
l10n [install] - All language localization for Plesk
git [install] - Git
resctrl [install] - Resource Controller (Cgroups)
<...>Note : change release version
PLESK_18_0_69
from the example to the required one -
Install Plesk with the required components based on the list from the previous step, for example:
# ./plesk-installer install PLESK_18_0_69 --components panel bind fail2ban l10n mysqlgroup horde postfix dovecot proftpd webalizer webservers nginx phpgroup php8.2 php8.1 config-troubleshooter letsencrypt git
Comments
0 comments
Please sign in to leave a comment.