啟用 HTTP 埠
在某些情況下,您可能想要使用 HTTP 埠來部署 Product Master 。
程序
- 開啟 WebSphere® Application Server 主控台。
http://server:port/ibm/console. - 將使用者 ID 指定為 root,以登入 WebSphere Application Server 主控台。
- 按一下 伺服器 > 伺服器類型 > WebSphere 應用程式伺服器 ,然後按一下 {application_server_name} 鏈結。
- 展開 Web 儲存器設定 ,然後按一下 Web 儲存器傳輸鏈。
- 按一下 Web 儲存器傳輸鏈 > WCInboundDefault安全。
- 勾選 啟用 方框,然後按一下 套用> 儲存。附註: 儲存變更之後,請確定 Web 儲存器傳輸鏈 主控台顯示
WSInboundDefaultSecure現在已啟用。 - 按一下 環境 > 虛擬主機 > {host_name} > 主機別名 > 新建 ,並新增埠。重要:
- 新的埠號應該與步驟號碼 6 中顯示的埠號相同。
- 請勿修改主機名稱。 保留預設主機名稱 (*)。
- 按一下 套用 > 確定。 驗證已順利建立新的 vhost。
- 按一下 資源 > 資源環境 > 資源環境項目 > DataView > 自訂內容 ,然後修改下列內容:
- HTTP 至 HTTP
- port -到步驟號碼 7中指定的埠號。
- host -應該包含電腦的主機名稱。
按一下 確定,並驗證已修改內容。 - 執行下列指令,以更新 角色型使用者介面 內容:
$TOP/mdmui/bin/updateRtProperties.sh
- 使用下列指令匯入 WAS JAVA_HOME 的憑證:
keytool -import -trustcacerts -file <File Path> -alias <alias name for certificate> -keystore <path of cacerts>範例keytool -import -trustcacerts -file /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/etc/certnew.cer -alias certificate1 -keystore $JAVA_HOME/jre/lib/security/cacerts - 使用下列指令,重新啟動用於 Product Master 的伺服器:
- $TOP/bin/go/stop_local.sh
- $TOP/bin/go/start_local.sh
- 使用 HTTP 埠登入 Product Master 。
https://server_ip:port/mdm_ui