從自訂配置建立 Liberty 伺服器

您可以從自訂配置中,建立您需要的任何環境的伺服器。

關於這項作業

Liberty 伺服器 Script create 指令提供 --template 選項。 您可以利用這個選項,以支援從產品延伸 templates/servers/<template-name> 子目錄內的自訂配置來建立伺服器。 自訂伺服器範本至少必須包含 server.xml 檔,且可以包含任何配置檔,例如:bootstrap.properties 或 jvm.options。

程序

您可以依照下列方式來使用 --template 選項: server create --template=<extension-name>:<template-name>

指示主題類型的圖示 作業主題

檔名:twlp_server_customconfig.html