在 [安裝時自動配置] 作業期間,安裝程式只會配置 Portal Server。
在 [安裝後手動配置] 作業後,只會複製檔案。您需要手動完成 Portal Server 的配置。
如果同時選取 Application Server 和 Web Server 進行安裝,Web Server 會成為 Access Manager 部署預設使用的 Web 容器。Portal 會部署在部署 Access Manager 的容器中。
如需在未安裝 Portal Server 的機器上配置 SRA 元件,應使用 psconfig.bat 指令。
在 [安裝時自動配置] 作業期間,安裝程式只會配置 Portal Server。如果已選取 Portal Server Secure Remote Access (SRA) 元件,則會安裝對應的 MSI 套裝軟體,但不會配置這些元件。Portal Server SRA 元件包括:
閘道
Netlet 代理程式
Rewriter 代理程式
您可以使用以下其中一個公用程式配置 SRA 元件:
psadmin.bat
psconfig.bat
將所需 SRA 元件的範本特性檔案從 PortalServer-base\template\sra 目錄複製到 portalserver-base\ data。
範本特性檔案包括:
閘道:GWConfig.properties.template
Netlet 代理程式:NLPConfig.properties.template
Rewriter 代理程式:RWPConfig.properties.template
啟動 Directory Server。
啟動 Cacao 實例。
啟動 Web 容器。
編輯範本特性檔案。
在 SRA 上切換。
PortalServer-base\bin\psadmin.bat switch-sra-status -u admin-user-name -f password-file on
啟用 SRA。
PortalServer-base\bin\psadmin.bat provision-sra -u admin-user-name -f password-file -p PortalName --gateway-profile gateway_profile -enable
建立 SRA 元件實例。
PortalServer-base\bin\psadmin.bat create-sra-instance -u admin-user-name -f password-file -S PortalServer-base/data/template-property-file -t gateway/nlproxy/rwproxy
啟動 SRA 實例。
PortalServer-base \bin\psadmin.bat start-sra-instance -u admin-user-name -f password-file -N gateway_profile -t gateway/nlproxy/rwproxy
變更為 PortalServer-base\samples\psconfig 目錄。
選擇適當的範例 xml 檔案,並以適當的值編輯。
使用 PortalServer-base\samples\psconfig 下的 README.txt,以選取適當的範例檔案並以適當的值修改。相關範例 xml 檔案包括:
範本範例配置檔案,僅用於安裝閘道元件
範本範例配置檔案,僅用於安裝 Netlet Proxy 元件
範本範例配置檔案,僅用於安裝 Rewriter Proxy 元件
範本範例配置檔案,用於配置 Portal Server 或 Search Server 以及所有 SRA 元件,以在 Web Server 容器上進行部署
執行 psconfig.bat 指令。
psconfig.bat --config PortalServer-base\samples\psconfigexample-file