Skip To Content

安装 GeoEvent Server

以下步骤将指导您完成 ArcGIS GeoEvent Server 的安装过程。

安装的先决条件包括下列各项:

  1. 如果您使用安装介质,则内容已位于 <media_drive>:/GeoEvent/ 下,因此您可以跳过此步骤并转到下方的步骤 2。

    如果您已下载 GeoEvent Server 包的 *.tar.gz 文件,请对文件进行解包:

    For example: $ tar -zxvf ArcGIS_GeoEvent_*.tar.gz
  2. (可选)如果要使用 GeoEvent Simulator,由于其只能运行在 Windows 上,因此您需要将 GeoEventSimulator.exe 文件复制到 Windows 计算机上。文件位于以下位置之一:
    • 如果使用安装介质:<media_drive>:/GeoEvent/Support/
    • 如果已下载英语包文件:./ArcGISGeoEvent/Support/
    • 如果已下载非英语包文件:./ArcGISGeoEvent_<LANGUAGE>/Support/
  3. 请运行 Setup.sh 来安装 GeoEvent Server
    $ ./ArcGISGeoEvent/Setup.sh
    For non-English setups: $ ./ArcGISGeoEvent_<LANGUAGE>/Setup.sh
  4. 通过运行“GeoEvent Server 软件授权工具”对 ArcGIS Server 授予许可:
    $ <arcgis-server-install-location>/tools/authorizeSoftware
    For example: $ ~/arcgis/server/tools/authorizeSoftware
  5. 按照以下相应的说明将 GeoEvent Server 配置为与操作系统一起启动:
    注:

    引用 sudo 时,您能够以根用户的身份进行登录来运行此命令:

    $ sudo su root OR 
    $ su root OR
    $ su
    • RHEL 7.x 及更高版本:
    1. 安装 Linux 后台程序:
      $ sudo cp <arcgis-server-install-location>/GeoEvent/gateway/etc/service/geoeventGateway.service /etc/systemd/system For example: $ sudo cp ~/arcgis/server/GeoEvent/gateway/etc/service/geoeventGateway.service /etc/systemd/system
      $ sudo cp <arcgis-server-install-location>/GeoEvent/etc/service/geoevent.service /etc/systemd/system 
      For example: $ sudo cp ~/arcgis/server/GeoEvent/etc/service/geoevent.service /etc/systemd/system
    2. 重新启动计算机时将自动启动 GeoEvent Server 和网关后台程序:
      $ sudo systemctl enable geoeventGateway.service
      $ sudo systemctl enable geoevent.service
    3. 启动 GeoEvent Server 和网关后台程序:
      $ sudo systemctl start geoeventGateway.service
      $ sudo systemctl start geoevent.service
    4. (可选)停止 GeoEvent Server 和网关后台程序:
      $ sudo systemctl stop geoeventGateway.service
      $ sudo systemctl stop geoevent.service
    5. (可选)检查 GeoEvent Server 和网关后台程序状态:
      $ systemctl status geoeventGateway.service
      $ systemctl status geoevent.service
    • RHEL 6.x:
    1. 安装 Linux 后台程序:
      $ cd <arcgis-server-install-location>/GeoEvent/bin For example: $ cd ~/arcgis/server/GeoEvent/bin
      $ sudo ln -s <arcgis-server-install-location>/GeoEvent/gateway/bin/ArcGISGeoEventGateway-service /etc/init.d/
      For example: $ sudo ln -s ~/arcgis/server/GeoEvent/gateway/bin/ArcGISGeoEventGateway-service /etc/init.d/
      $ sudo ln -s <arcgis-server-install-location>/GeoEvent/bin/ArcGISGeoEvent-service /etc/init.d/
      For example: $ sudo ln -s ~/arcgis/server/GeoEvent/bin/ArcGISGeoEvent-service /etc/init.d/
      $ sudo chkconfig --add ArcGISGeoEventGateway-service
      $ sudo chkconfig --add ArcGISGeoEvent-service
    2. 重新启动计算机时将自动启动 GeoEvent Server 和网关后台程序:
      $ sudo chkconfig ArcGISGeoEventGateway-service on
      $ sudo chkconfig ArcGISGeoEvent-service on
    3. 启动 GeoEvent Server 和网关后台程序:
      $ service ArcGISGeoEventGateway-service start
      $ service ArcGISGeoEvent-service start
    4. (可选)停止 GeoEvent Server 和网关后台程序:
      $ service ArcGISGeoEventGateway-service stop
      $ service ArcGISGeoEvent-service stop
    5. (可选)检查 GeoEvent Server 和网关后台程序状态:
      $ service ArcGISGeoEventGateway-service status
      $ service ArcGISGeoEvent-service status
    • SUSE
    1. 安装 Linux 后台程序:
      $ cd <arcgis-server-install-location>/GeoEvent/bin For example: $ cd ~/arcgis/server/GeoEvent/bin
      Switch to root user:
      $ su
      $ ln -s <arcgis-server-install-location>/GeoEvent/gateway/bin/ArcGISGeoEventGateway-service /etc/init.d/
      For example: $ ln -s ~/arcgis/server/GeoEvent/gateway/bin/ArcGISGeoEventGateway-service /etc/init.d/
      $ ln -s <arcgis-server-install-location>/GeoEvent/bin/ArcGISGeoEvent-service /etc/init.d/
      For example: $ ln -s ~/arcgis/server/GeoEvent/bin/ArcGISGeoEvent-service /etc/init.d/
      $ insserv ArcGISGeoEventGateway-service
      $ chkconfig ArcGISGeoEventGateway-service
      $ insserv ArcGISGeoEvent-service
      $ chkconfig ArcGISGeoEvent-service
    2. 重新启动计算机时将自动启动 GeoEvent Server 和网关后台程序:
      Still as root user:
      $ chkconfig ArcGISGeoEventGateway-service on
      End the root user session
      Still as root user:
      $ chkconfig ArcGISGeoEvent-service on
      End the root user session
    3. 启动 GeoEvent Server 和网关后台程序:
      $ /etc/init.d/ArcGISGeoEventGateway-service start
      $ /etc/init.d/ArcGISGeoEvent-service start
    4. (可选)停止 GeoEvent Server 和网关后台程序:
      $ /etc/init.d/ArcGISGeoEventGateway-service stop
      $ /etc/init.d/ArcGISGeoEvent-service stop
    5. (可选)检查 GeoEvent Server 和网关后台程序状态:
      $ /etc/init.d/ArcGISGeoEventGateway-service status
      $ /etc/init.d/ArcGISGeoEvent-service status
    • Ubuntu Server 16.04.x LTS 及更高版本:
    1. 安装 Linux 后台程序:
      $ sudo cp <arcgis-server-install-location>/GeoEvent/gateway/etc/service/geoeventGateway.service /etc/systemd/system For example: $ sudo cp ~/arcgis/server/GeoEvent/gateway/etc/service/geoeventGateway.service /etc/systemd/system
      $ sudo cp <arcgis-server-install-location>/GeoEvent/etc/service/geoevent.service /etc/systemd/system 
      For example: $ sudo cp ~/arcgis/server/GeoEvent/etc/service/geoevent.service /etc/systemd/system
    2. 重新启动计算机时将自动启动 GeoEvent Server 和网关后台程序:
      $ sudo systemctl enable geoeventGateway.service
      $ sudo systemctl enable geoevent.service
    3. 启动 GeoEvent Server 和网关后台程序:
      $ sudo systemctl start geoeventGateway.service
      $ sudo systemctl start geoevent.service
    4. (可选)停止 GeoEvent Server 和网关后台程序:
      $ sudo systemctl stop geoeventGateway.service
      $ sudo systemctl stop geoevent.service
    5. (可选)检查 GeoEvent Server 和网关后台程序状态:
      $ systemctl status geoeventGateway.service
      $ systemctl status geoevent.service
    • Ubuntu Server 12.04.x LTS:
    1. 安装 Linux 后台程序:
      $ cd <arcgis-server-install-location>/GeoEvent/bin For example: $ cd /arcgis/server/GeoEvent/bin
      $ sudo ln -s <arcgis-server-install-location>/GeoEvent/gateway/etc/service/ArcGISGeoEventGateway-service /etc/init.d/
      For example: $ sudo ln -s /arcgis/server/GeoEvent/gateway/etc/service/ArcGISGeoEventGateway-service /etc/init.d/
      $ sudo ln -s <arcgis-server-install-location>/GeoEvent/bin/ArcGISGeoEvent-service /etc/init.d/
      For example: $ sudo ln -s /arcgis/server/GeoEvent/bin/ArcGISGeoEvent-service /etc/init.d/
    2. 重新启动计算机时将自动启动 GeoEvent Server 和网关后台程序:
      $ sudo update-rc.d ArcGISGeoEventGateway-service defaults
      $ sudo update-rc.d ArcGISGeoEvent-service defaults
    3. 启动 GeoEvent Server 和网关后台程序:
      $ service ArcGISGeoEventGateway-service start
      $ service ArcGISGeoEvent-service start
    4. (可选)停止 GeoEvent Server 和网关后台程序:
      $ service ArcGISGeoEventGateway-service stop
      $ service ArcGISGeoEvent-service stop
    5. (可选)检查 GeoEvent Server 和网关后台程序状态:
      $ service ArcGISGeoEventGateway-service status
      $ service ArcGISGeoEvent-service status

转至可选:将自签名 GeoEvent Server 证书标记为受 Internet Explorer 信任的证书