ArcGIS Enterprise 10.5.1 静默安装部署记录(Centos 7.2 minimal)- 3、安装Portal for ArcGIS

安装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

静默方式配置WebAdapter

./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。

posted on 2017-09-06 18:29  gis-luq  阅读(1916)  评论(0编辑  收藏  举报