If you want to select specific Plesk components for installation, install Plesk using the interactive console. Follow these steps to begin:

  1. インストーラスクリプトをダウンロードします。

    wget https://autoinstall.plesk.com/plesk-installer
    
  2. Make the downloaded installer script executable:

    chmod +x ./plesk-installer
    
  3. (Optional) During the installation, Plesk configures firewalld, at which time runtime firewalld rules are lost. To preserve the currently configured firewalld runtime rules, run the following command:

    env PLESK_INSTALLER_SKIP_FIREWALLD=1
    

    ただし、この場合、 Plesk の動作に必要なポート を手動で開く必要があります。firewalld または Plesk ファイアウォール拡張経由で実行できます。

  4. (オプション)RAM が 512 MB 以下のサーバに Plesk をインストールする場合、Plesk のパフォーマンスを向上するために 1 GB のスワップファイルが作成されます。このファイルを作成したくない場合(SSD ドライブがある場合や、頻繁な I/O 動作による摩耗を回避したい場合)、サーバの RAM 容量を増やすか、以下のコマンドを実行します。

    env PLESK_SWAP=disable
    
  5. Launch the Plesk interactive installer. Depending on the Plesk version you want to install, do one of the following:

    • To install the latest stable Plesk version, run the following command:

      sh ./plesk-installer
      
    • To install another Plesk version, first view the list of all versions available for installing. Add the --all-versions option, and then run the command:

      sh ./plesk-installer --all-versions
      

      Select a Plesk version and type its sequential number:

      image 77211

    In the course of installation, you will be asked a series of questions. You will be able to choose suitable options as well as go back to correct already selected options if necessary.

    image 77210

    To learn more about the installation script, run the following command:

    ./plesk-installer --help
    

When the installation process is completed, follow the few simple steps to configure Plesk for work as described here: Plesk Single Server Post-install Configuration.