Articles in this section

How to install Plesk with specific components via command-line interface on a Linux Server?

kb: how-to Plesk for Linux ABT: Group A

Applicable to:

  • Plesk for Linux

Question

How to install Plesk with specific components via command-line interface (CLI)?

Answer

  1. Connect to the server via SSH

  2. Download the required Plesk Installer:

    # wget http://autoinstall.plesk.com/plesk-installer

  3. Add execute permissions to the Plesk Installer file:

    # chmod +x plesk-installer

  4. Find the required release by running:

    # ./plesk-installer list-all
    <...>
    --- prod_id release_id (description) (tiers) ---
    plesk PLESK_18_0_73 (Plesk Obsidian 18.0.73) (development,testing,release,current,stable)
    plesk PLESK_18_0_72 (Plesk Obsidian 18.0.72) (development,testing,release,current,stable)
    plesk PLESK_18_0_71 (Plesk Obsidian 18.0.71) (development,testing,release,current,stable)
    <...>

  5. Check available components for the chosen release, e.g. PLESK_18_0_73:

    # ./plesk-installer list PLESK_18_0_73 --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_73 from the example to the required one

  6. Install Plesk with the required components based on the list from the previous step, for example:

    # ./plesk-installer install PLESK_18_0_73 --components panel bind fail2ban l10n mysqlgroup horde postfix dovecot proftpd webalizer webservers nginx phpgroup php8.2 php8.1 configurations-troubleshooter letsencrypt git

Was this article helpful?

Comments

2 comments
Date Votes
  • The extension ```config-troubleshooter``` has been renamend to ```configurations-troubleshooter```.

    Current example should be:

    ./plesk-installer install PLESK_18_0_71 --components panel bind fail2ban l10n mysqlgroup horde postfix dovecot proftpd webalizer webservers nginx phpgroup php8.2 php8.1 configurations-troubleshooter letsencrypt git
    1
  • Hi

    Thank you, the article has been updated accordingly.

    Regards

    0

Please sign in to leave a comment.