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
![](https://image.cha138.com/20210510/db92a5833bb34f55901ecbf35552f8f6.jpg)
切换到arcgis账户静默安装portal,./Setup -m silent -l yes
![](https://image.cha138.com/20210510/9ecc3824bce8444586d3ce0527f1aeac.jpg)
参数说明
![](https://image.cha138.com/20210510/7e335c241f5e46af9532be37157d462a.jpg)
根据安装提示报出如下错误信息。
![](https://image.cha138.com/20210510/1fb34aa2f55845bfacc8954135917e61.jpg)
要增加软限制和硬限制,您需要使用超级用户访问权限编辑 /etc/security/limits.conf 文件。例如,可在与此类似的文件中添加下面两行:
arcgis soft nofile 65535
arcgis hard nofile 65535
![](https://image.cha138.com/20210510/f7d168d244e142a28558c47f3d6fc680.jpg)
文佳末尾添加如下内容:
![](https://image.cha138.com/20210510/e1e79d5232724e268f94996d2a4e38e4.jpg)
做出更改后,需要注销并以特定用户身份重新登录,以便新值生效。要验证限制是否已正确修改,可以使用上述 ulimit -S 和 ulimit -Hn -Su 命令
![](https://image.cha138.com/20210510/6c2f536c05564f7c90a78301df024810.jpg)
再次执行安装步骤,所有流程正确,开始安装
![](https://image.cha138.com/20210510/92fa3e675d864fcfbc9382f0ebb5323a.jpg)
以静默方式授权 Portal for ArcGIS
以静默方式授权 Portal for ArcGIS
![](https://image.cha138.com/20210510/9c9edb6ab6eb4b48946c43e688e186de.jpg)
设置Portal for ArcGIS开机自启动
centos7.2 是支持 systemd 的操作系统,采用如下方式。
在 shell 命令内,切换至根用户。
将 <portal安装目录>/framework/etc/arcgisportal.service 复制到 /etc/systemd/system。
![](https://image.cha138.com/20210510/20b50d5eda0a4cdc9c4f063012f02445.jpg)
仍然以根用户的身份运行以下命令,以在 /etc/systemd/system/multi-user.target.wants 中自动创建链接:
systemctl enable arcgisportal.service
![](https://image.cha138.com/20210510/509351c2c3674bd6a1eb90295aa038f2.jpg)
欲验证 systemd 服务是否配置正确,请重新启动服务后检查其状态。
# systemctl stop arcgisportal.service
# systemctl start arcgisportal.service
# systemctl status arcgisportal.service
![](https://image.cha138.com/20210510/2c6648453f674706aa9a7926b71483b9.jpg)
静默方式配置WebAdapter
静默方式配置WebAdapter
./configurewebadaptor.sh -m portal -w https://portal.cloud.local/arcgis/webadaptor -g https://portal.cloud.local:7443 -u admin -p admin1111
![](https://image.cha138.com/20210510/b874da7c7ff14ae89a888423a727122e.jpg)
其他说明
运行诊断工具检查是否符合安装要求
在命令行中浏览至 <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)失败的解决方法