安裝Portal for ArcGIS
解壓portal安裝包,tar -xzvf Portal_for_ArcGIS_Linux_1051_156440.tar.gz
切換到arcgis帳戶靜默安裝portal,./Setup -m silent -l yes
參數說明
根據安裝提示報出以下錯誤信息。
要增長軟限制和硬限制,您須要使用超級用戶訪問權限編輯 /etc/security/limits.conf 文件。例如,可在與此相似的文件中添加下面兩行:
arcgis soft nofile 65535
arcgis hard nofile 65535
文佳末尾添加以下內容:
作出更改後,須要註銷並以特定用戶身份從新登陸,以便新值生效。要驗證限制是否已正確修改,可使用上述 ulimit -S 和 ulimit -Hn -Su 命令
再次執行安裝步驟,全部流程正確,開始安裝
以靜默方式受權 Portal for ArcGIS
以靜默方式受權 Portal for ArcGIS
設置Portal for ArcGIS開機自啓動
centos7.2 是支持 systemd 的操做系統,採用以下方式。
在 shell 命令內,切換至根用戶。
將 <portal安裝目錄>/framework/etc/arcgisportal.service 複製到 /etc/systemd/system。
仍然以根用戶的身份運行如下命令,以在 /etc/systemd/system/multi-user.target.wants 中自動建立連接:
systemctl enable arcgisportal.service
欲驗證 systemd 服務是否配置正確,請從新啓動服務後檢查其狀態。
# systemctl stop arcgisportal.service
# systemctl start arcgisportal.service
# systemctl status arcgisportal.service
靜默方式配置WebAdapter
靜默方式配置WebAdapterhtml
./configurewebadaptor.sh -m portal -w https://portal.cloud.local/arcgis/webadaptor -g https://portal.cloud.local:7443 -u admin -p admin1111
其餘說明
運行診斷工具檢查是否符合安裝要求
在命令行中瀏覽至 <Portal for ArcGIS 安裝目錄>/arcgis/portal/tools/portaldiag 目錄,而後執行 portaldiag。