將所需 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