Arcgis10.6.1的Serve安装(Centos7版)

1.修改主机名称

查看主机名称

hostname

修改主机名称

hostnamectl set-hostname arcgisserver2

编辑hosts文件

vim /etc/hosts

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
172.26.156.151 arcgisserver2

2.建立ArcGIS Server安装账户

新建arcgis用户:

groupadd esrichina
useradd -g esrichina arcgis
passwd arcgis

3.添加文件句柄和进程数限制

vim /etc/security/limits.conf

末尾追加:

<ArcGIS Server installation user> soft nofile 65535
<ArcGIS Server installation user> hard nofile 65535
<ArcGIS Server installation user> soft nproc 25059
<ArcGIS Server installation user> hard nproc 25059

验证限制是否已正确修改:

ulimit -Hn -Hu
ulimit -Sn -Su

4.防护墙设置

5.DNS 主机名条目

cat /etc/resolv.conf


# Generated by NetworkManager
nameserver 192.168.200.20
nameserver 192.168.200.21

6.赋予安装账户对Server安装文件的所有权

解压.tar.gz格式的安装包:

tar -zxvf ArcGIS_Server_Linux_1061_164044.tar.gz -C /opt

赋予安装账户对安装包的所有权:

chown -R arcgis:esrichina ArcGISServer/

7.初步检测当前环境

切换至ArGIS for Server 安装账户,并执行serverdiag命令

su arcgis
cd /opt/ArcGISServer/serverdiag/
./serverdiag


Folder location for zh_CN.UTF-8 not found.  Defaulting to en_US.utf8
========================================================================
                  ArcGIS Server 10.6.1 Diagnostic Tool

                        Hostname: arcgisserver2
========================================================================

 DIAG000: Check for installation as root                       [PASSED]
 DIAG001: Check for 64-bit architecture                        [PASSED]
 DIAG002: Check OS version                                     [PASSED]
 DIAG003: Check hostname for invalid characters                [PASSED]
 DIAG024: Check /etc/hosts for hostname entry                  [WARNING]
 DIAG004: Check installed packages                             [PASSED]
 DIAG005: Check system limits                                  [PASSED]
 DIAG008: Check HTTP port                                      [PASSED]
 DIAG009: Check HTTPS port                                     [PASSED]
 DIAG010: Check Xvfb ports                                     [PASSED]
 DIAG020: Check hostname IP address mismatches                 [PASSED]
 DIAG026: Check processes for ArcGIS core services             [N/A]

------------------------------------------------------------------------
There were 0 failure(s) and 1 warning(s) found:


WARNINGS:
------------------------------------------------------------------------
*** DIAG024: The hostname entry in the /etc/hosts file must be in the
following format:

        <IP> <FQDN> <Machine_name>

For example:

        111.222.333.444 hostname.esri.com hostname

Federating an ArcGIS Server site with Portal for ArcGIS will fail if
this entry is formatted differently.  Update the hostname entry before
creating your ArcGIS Server site.

8.许可文件准备

将离线生成的ecp文件拷贝至当前机器上,并确保安装账户对其具有可读权限:

ls -al linuxarcgisserver.ecp

-rw-r--r--. 1 arcgis esri 1075 6月  14 2018 linuxarcgisserver.ecp

9.安装 ArcGIS for Server

运行.Setup安装ArcGIS for Server:

cd /opt/ArcGISServer/
./Setup -m console

设置安装路径:

===============================================================================
Choose Install Folder
---------------------

Where would you like to install?

  Default Install Folder: /home/arcgis/arcgis/server

ENTER AN ABSOLUTE PATH, OR PRESS <ENTER> TO ACCEPT THE DEFAULT
      : /home/arcgis/server

*输入许可文件的完整路径,如/opt/tools/linuxarcgisserver.ecp

===================
Authorization File
------------------

Please enter the full path to your authorization file provided by Esri.

Example:
/path/to/server.ecp


Path: (Default: /path/to/file.ecp): /opt/tools/linuxarcgisserver.ecp

安装完毕,按照提示或将机器名替换为IP以访问ArcGIS Server Manager

===============================================================================
Installation Complete
---------------------

Congratulations. ArcGIS Server 10.6.1 has been successfully installed to:

/home/arcgis/server

You will be able to access ArcGIS Server Manager by navigating to
http://arcgisserver2:6080/arcgis/manager.

10.创建ArcGIS Server站点

在这里插入图片描述

  • 1
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值