インストーラの実行
inputs.groovy ファイル)を安全に保存したい場合は、インストールを進める前に OpenSSL がインストールされていることを確認してください。
- Unix または Linux
-
-
OpenSSL がインストールされているかどうかを確認します。CODE
openssl version -
インストールされていない場合は、次のコマンドを使用して OpenSSL をインストールします。Ubuntu/Debian:CODE
sudo apt-get update sudo apt-get install opensslRHEL/CentOS:CODEsudo yum install openssl
-
- macOS
-
CODE
brew install openssl - Windows
-
- Win32OpenSSL から OpenSSL をダウンロードしてインストールします(Win64 OpenSSL v3.xx を推奨)。
- OpenSSL バイナリディレクトリをシステムの PATH に追加します。
- [This PC] を右クリックします。
- にアクセスします。
C:\Program Files\OpenSSL-Win64\binを追加します。
- 端末またはコマンドプロンプトを再起動します。
- インストールを確認します。
CODE
openssl version
インストーラのルートディレクトリから、root ユーザーとして次のコマンドを実行します。
unix/deploy.sh install
install コマンドの出力には、以下のような完了したタスクのログが表示されます。
Task [facts for localhost] completed executing in [274] ms.
Task [Create the encryption directory] completed executing in [78] ms.
Task [Create keystore for encryption] completed executing in [796] ms.
Task [Create the encrypted password] completed executing in [566] ms.
Task [Obfuscate the key store password] completed executing in [397] ms.
Task [Read created password] completed executing in [46] ms.
Task [Read the obfuscated key store password] completed executing in [43] ms.
Task [Change configurations for the shepherd and scheduler conf] completed executing in [81] ms.
Task [Read created password] completed executing in [24] ms.
Task [Read the obfuscated key store password] completed executing in [26] ms.
Task [Change configurations for the shepherd and scheduler conf] completed executing in [76] ms.
Task [Read created password] completed executing in [29] ms.
Task [Read the obfuscated key store password] completed executing in [20] ms.
Task [Change configurations for the shepherd and scheduler conf] completed executing in [31] ms.
Task [Delete the encryption directory] completed executing in [47] ms.
Task [Change configurations for the liquibase properties file] completed executing in [26] ms.
Task [Update schema of SQL DB to include synthetic schema] completed executing in [2412] ms.
Task [Install flake8 for script linting] completed executing in [1671] ms.
Task [Start the synthetic services] completed executing in [67] ms.
inputs.groovy ファイルを暗号化するかどうかを確認するよう求められます。暗号化を選択した場合は、パスワードを設定し、安全に保管してください。今後、アップグレードやアンインストールを行う際は、このパスワードが必要になります。
パスワードを忘れた場合または紛失した場合は、ログイン情報を使用して inputs.groovy ファイルを再作成する必要があります。
インストールの成功の確認