セットアップウィザードの自動化について
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
legacy-article
learn-legacy-article-disclaimer-text
問題
- 環境構築を自動化するため、初期起動時にセットアップウィザードをGUIを介さずに実行したいと考えています。
何か方法はございますでしょうか。
環境
解決
-
初期起動時のユーザー名、メールアドレスを設定する画面をスキップするには、以下のプロパティにてセットアップウィザードを無効にすることが可能です。
# Set this property to true if the Setup Wizard should be displayed the
# first time the portal is started.
#
# Env: LIFERAY_SETUP_PERIOD_WIZARD_PERIOD_ENABLED
#
setup.wizard.enabled=false
-
portal-setup-wizard.properties に必要な設定を追加し、LIFERAY_HOME/ 直下に配置して起動した場合も同様に、セットアップウィザードをスキップできます。
-
必要な設定項目は、既存環境に生成されている LIFERAY_HOME/portal-setup-wizard.properties の内容を参考ください。
did-this-article-resolve-your-issue