ArcGIS Enterprise 10.5.1 静默安装部署记录(Centos 7.2 minimal版)- 2安装Portal for ArcGIS
Posted gis-luq
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ArcGIS Enterprise 10.5.1 静默安装部署记录(Centos 7.2 minimal版)- 2安装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。
相关博客
以上是关于ArcGIS Enterprise 10.5.1 静默安装部署记录(Centos 7.2 minimal版)- 2安装Portal for ArcGIS的主要内容,如果未能解决你的问题,请参考以下文章
ArcGIS Enterprise 10.5.1 静默安装部署记录(Centos 7.2 minimal版)- 1安装前准备
ArcGIS Portal 环境快速部署方法--ArcGIS Enterprise Builder
ArcGIS软件部署-OpenSSL创建ArcGIS Enterprise所需证书的批处理脚本
[ArcGIS]Oracle RAC下创建地理数据库(Create Enterprise Geodatabase)失败的解决方法