此指令會啟動 WebSphere Commerce 配置管理程式伺服器。在您啟動配置管理程式用戶端前, 必須先啟動配置管理程式伺服器。
在您發出
createInstance.sh 指令前,必須先發出 config_server.sh 指令。
此指令位於下列路徑中:
WC_installdir/bin
指令結構
參數值
- protocol
- 配置管理程式伺服器與用戶端在通訊時所用的通訊協定。
有效值為 SSL 與 default(非 SSL)。
如果您未指定此參數,則會將 protocol 值設為 default。
- port
- 配置管理程式伺服器與用戶端在通訊時所用之埠。有效埠號為 1024 - 65535 範圍間。
如果您未指定此參數,則會使用埠 1099。
- initfile
- WebSphere Commerce 配置管理程式伺服器的起始設定檔案。此檔案含有目前所有現有的 WebSphere Commerce 與
WebSphere Commerce Payments 實例。
如果您未指定此參數,則會使用下列檔案:
WC_installdir/instances/wcs_instances
WC_userdir/instances/wcs_instances
範例
下列範例是在使用所有預設值的情況下啟動 WebSphere Commerce 配置管理程式伺服器, 並假設您已在 WC_installdir/bin 目錄中:
./config_server.sh
config_server
行為
此指令會啟動 WebSphere Commerce 配置管理程式伺服器
異常狀況
無