zoukankan      html  css  js  c++  java
  • linux REDHAT6.4下安装ArcGIS Server 10.1

    安装环境

    因为Linux的发行版本比较多,我们在使用的时候请严格按照官网给的给出的版本,在官网上给出的是经过严格测试的,如果采用其他的,即便安装上了,在后续的运作中出现问题,这个可就麻烦了,官网对ArcGIS 10.1 for Server系统需求的链接如下:http://resources.arcgis.com/zh-cn/help/system-requirements/10.1/index.html#/na/015100000072000000/

    1、官网给出了下面四个64位的Linux操作系统:

             

    操作系统

    最低 OS 版本

    最高 OS 版本

    局限性

    Red Hat Enterprise Linux Server 6(64 位)

       

    Linux 要求

    Red Hat Enterprise Linux Server 5(64 位)

    更新 7 + libX11 修补程序*

     

    Linux 要求

    SUSE Linux Enterprise Server 11(64 位)

    SP1

       

    ArcGIS for Server 操作系统要求和限制

    所有平台

    ·      ArcGIS Server 需要 64 位的操作系统。

    ·      Python 2.7(64 位)随 ArcGIS for Server 一同安装。

    Microsoft Windows

    ·      Windows 8(64 位)、Windows 7(64 位)、Vista(64 位)和 XP(64 位):这些操作系统仅支持基本的测试和应用开发。建议您不要在生产环境中部署。

    Linux

    ·      只有以下平台支持 ArcGIS for Server:Linux x86_64,采用符合 x86_64 架构(64 位)的CPU 以及受支持的 Linux 版本。

    ·      要求操作系统(二进制文件)未经修改。如果将产品安装到开发者发布的操作系统中,Esri 将不提供任何支持。

    ·      安装用户的文件句柄限制需要设置为 65535。

    ·      进程限制需要从 1024 增加到 25059。

    Red Hat Enterprise Linux 6(仅适用于 64 位)

    ·         只要来自 RHEL AS/ES 的 Linux 修补程序受 web server 支持并且它们来自 Red Hat 且没有对最新的 kernel/glibc 版本做任何修改,Esri 就会提供支持。

    ·         以下包组必不可少:

    §  来自 Desktop 组

    o    X Window System 包组

    Red Hat Enterprise Linux 5(仅适用于 64 位)

    ·         只要来自 RHEL AS/ES 的 Linux 修补程序受 web server 支持并且它们来自 Red Hat 且没有对最新的 kernel/glibc 版本做任何修改,Esri 就会提供支持。

    ·         需要以下包组:

    §  来自 Base System 组

    o    X Window System 包组

    *有关 RHEL 5 Update 7 + libX11 修补程序的信息,请访问 Red Hat 支持网站

    SUSE Linux 11(仅适用于 64 位)

    ·         只要用于 SUSE Linux Enterprise Server 的 Linux 修补程序来自 SUSE Linux 且没有对最新的 kernel/glibc 版本做任何修改,Esri 就会提供支持。

    ·         需要以下软件包:

    §  来自 System/X11/Utilities 包组

    o    X Window System

    硬件要求

    对于开发环境,ArcGIS Server 需要的最小 RAM 为 4 GB。该要求基于具有以下环境的典型开发服务器:

    ·         两个缓存地图服务

    ·         一个动态地图服务

    ·         一个定位器服务

    ·         一个地理处理服务

    ·         几何服务

    ·         PrintingTools 服务

    ·         SQL Server Express

    ·         具有 Web Adaptor 的 IIS

    对于生产环境,并未列出最低硬件要求,因为用户和企业对 ArcGIS Server 的需求变化很大。在确定硬件需求时必须考虑到这些要求,以满足用户对性能的预期和伸缩性。在设计可满足企业需要的服务器架构时,请参阅基础设施性能注意事项系统设计策略 wiki 来获得帮助。

    受支持的虚拟化环境

    ArcGIS for Server 的所有组件(包括 ArcSDE)只要运行在支持的平台上,就完全支持虚拟环境。请参阅上文提到的支持的服务器平台。以 ArcGIS for Server 运行第三方应用程序时(如关系型数据库),则该应用程序必须也受虚拟环境的支持。请检查第三方供应商的虚拟化支持情况。

    如果在虚拟环境中发现特定于 Esri 软件的问题,Esri 支持服务将尝试在独立机器上重现此问题。如果无法在独立机器上通过任何上述支持的服务器平台来重现问题,除非该问题存在于以下 VM 环境,否则Esri 将不会为特定于虚拟环境的问题提供解决方案或进一步支持:

    ·         VMWare vSphere 4

    ·         VMWare vSphere 5

     

    2、X Windows环境必须安装,用于显示界面。(一般情况下 X Windows环境是默认安装的)

    3、系统至少预留3.1G的磁盘空间。ArcGIS Server10.1大约需要1.5G空间,在安装的时候安装资源被解压到临时目录中,在安装结束后,临时目录里的文件被删除,如果临时目录空间不够,那么文件被解压到HOME目录中,如果HOME目录空间不够,那么安装就会报错)

    4、需要新建一个用户(不能使用root用户安装)

    5、系统中应该安装了OpenGL1.5或者以上的版本。

    系统检查

    安装时会自动检查系统是否满足条件

    [gis@localhost ~]$ cd /opt/server/ArcGISServer

     [gis@localhost ArcGISServer]$ ./Setup

    ========================================================================

                     ArcGIS 10.1 for Server Diagnostic Tool

                        Hostname: localhost.localdomain

    ========================================================================

     

     DIAG001: Check for 64-bit architecture                        [PASSED]

     DIAG002: Check OS version                                     [PASSED]

     DIAG003: Check hostname for invalid characters                [PASSED]

     DIAG004: Check installed packages                             [PASSED]

     DIAG005: Check system limits                                  [FAILED]

     DIAG006: Check OS patches                                     [N/A]

     DIAG008: Check HTTP port                                      [PASSED]

     DIAG009: Check HTTPS port                                     [PASSED]

     DIAG010: Check Xvfb ports                                     [PASSED]

     

    ------------------------------------------------------------------------

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

     

    FAILURES:

    ------------------------------------------------------------------------

    *** DIAG005: For ArcGIS for Server to run properly, the file handle

    limits for the install user are required to be set to 65535 and the

    number of processes limits set to 25059. The current file handle limit

    is 4096 and the number of processes limit is 9322.

     

    To set these limits, you'll need to edit the /etc/security/limits.conf

    file as super user and add the following lines:

     

             gis soft nofile 65535

             gis hard nofile 65535

             gis soft nproc 25059

             gis hard nproc 25059

     

    In order for the new values to take effect, you'll need to log out and

    then log back in as the gis user. To verify, run:

     

             ulimit -Hn -Hu

             ulimit -Sn -Su

     

    For additional details, see the ArcGIS 10.1 for Server installation

    guide.

     

    切换到root用户登录

    Vi /etc/security/limits.conf

    gis soft nofile 65535

             gis hard nofile 65535

             gis soft nproc 25059

             gis hard nproc 25059

    把这四行加入到下面,:wq保存后重启系统,gis用户登录,

    测试一下:

    [gis@localhost ~]$ ulimit -Hn -Hu

    open files                      (-n) 65535

    max user processes              (-u) 25059

    [gis@localhost ~]$ ulimit -Sn -Su

    open files                      (-n) 65535

    max user processes              (-u) 25059

    [gis@localhost ~]$

     

    再次安装,一切正常。

     

    [gis@localhost ArcGISServer]$ ./Setup

    ========================================================================

                     ArcGIS 10.1 for Server Diagnostic Tool

                        Hostname: localhost.localdomain

    ========================================================================

     

     DIAG001: Check for 64-bit architecture                        [PASSED]

     DIAG002: Check OS version                                     [PASSED]

     DIAG003: Check hostname for invalid characters                [PASSED]

     DIAG004: Check installed packages                             [PASSED]

     DIAG005: Check system limits                                  [PASSED]

     DIAG006: Check OS patches                                     [N/A]

     DIAG008: Check HTTP port                                      [PASSED]

     DIAG009: Check HTTPS port                                     [PASSED]

     DIAG010: Check Xvfb ports                                     [PASSED]

     

    ------------------------------------------------------------------------

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

     

     

     

     

    Starting installation of ArcGIS 10.1 SP1 for Server...

     

    Note: For information on console or silent setup UI modes, please run this script with the --help option.

     

    Preparing to install...

    Extracting the JRE from the installer archive...

    Unpacking the JRE...

    Extracting the installation resources from the installer archive...

    Configuring the installer for this system's environment...

     

    Launching installer...

    看图跟着流程走就好了,图形化安装。也可以静默安装,不在探讨范围。

     

    2014年04月01日 - 海龙 - 海龙的博客
    2014年04月01日 - 海龙 - 海龙的博客

     

    2014年04月01日 - 海龙 - 海龙的博客

     

    2014年04月01日 - 海龙 - 海龙的博客

     

    2014年04月01日 - 海龙 - 海龙的博客
     
    授权文件选择和sde一致的即可。内容参考其他博文。

     

    2014年04月01日 - 海龙 - 海龙的博客

     

    2014年04月01日 - 海龙 - 海龙的博客

     

    2014年04月01日 - 海龙 - 海龙的博客
    选择create new site.

     

    2014年04月01日 - 海龙 - 海龙的博客
    一定记得你输入的用户名密码。

     

    2014年04月01日 - 海龙 - 海龙的博客
    位置默认即可。
    2014年04月01日 - 海龙 - 海龙的博客
    finish
     
    2014年04月01日 - 海龙 - 海龙的博客
    耐心等待数分钟。
     
    2014年04月01日 - 海龙 - 海龙的博客
    用刚刚的用户名密码登录
     
    2014年04月01日 - 海龙 - 海龙的博客
    ok,随心所欲吧。
     
    2014年04月01日 - 海龙 - 海龙的博客
  • 相关阅读:
    Mac-Mysql忘记root密码
    spring 定时任务配置
    MD5 加密
    java io流 图片和字符串之间的转换
    httpclient 无信任证书使用https
    java对象转换成json
    Maven仓库 国内镜像
    大数据与批量调度的紧密关系
    开源Datax、Sqoop、Kettle等ETL工具作业自动化实现-分享
    ETL作业调度工具TASKCTL的两个重大突破
  • 原文地址:https://www.cnblogs.com/jhlong/p/5442450.html
Copyright © 2011-2022 走看看