zoukankan      html  css  js  c++  java
  • Redhat 6.1安装ArcGIS Server10.1

    http://blog.csdn.net/linghe301/article/details/7762985 操作环境:Redhat 6.1 Linux 安装ArcGIS Server10.1之前,还是看看相关的系统需求:http://resources.arcgis.com/en/help/system-requirements/10.1/index.html#/arcgis_server_10_1_server_requirements/015100000072000000/ 将相关的安装文件和lic文件拷贝到Linux操作系统,我们可以看到ArcGIS Server 10.1新添加了一个CheckPackagePrerequisites.sh文件,以前我们在Linux环境下安装ArcGIS Server时经常不太注意事前查看系统需求,提前安装相关的依赖包,现在好多了,我们直接执行这个文件,就知道我们现在的操作系统是否缺包或者是否缺少相关的信息
    [python][/python] view plaincopyprint?
    1. [root@redhat6 ~]# cd /home/soft/ArcGISServer/
    2. [root@redhat6 ArcGISServer]# ll
    3. total 40
    4. -rwxrwxr-x. 1 ags oinstall  5048 Feb  2 19:29 CheckPackagePrerequisites.sh
    5. drwxrwxr-x. 3 ags oinstall  4096 May 21 18:30 Documentation
    6. -rwxrwxr-x. 1 ags oinstall  1154 Apr 26 12:42 Install.htm
    7. -rwxrwxr-x. 1 ags oinstall 16863 Mar 23 13:30 Setup
    8. drwxrwxr-x. 3 ags oinstall  4096 May 21 18:30 setup_resources
    我们安装ArcGIS Server需要新添加一个ArcGIS Server的操作系统用户,比如我们添加ags用户   那么我们切换到ags用户执行该文件
    [python][/python] view plaincopyprint?
    1. [ags@redhat6 ArcGISServer]# ./CheckPackagePrerequisites.sh
    2. This script will check the packages installed on your machine against a list of                          known packages required by ArcGIS 10.1 for Server.
    3. Would you like to continue? ([y]/n)
    4. y
    5. OS found: RedHatEnterpriseServer
    6. Version found: 6.1
    7. For ArcGIS for Server to run properly, the file handle limits for the install
    8. user are required to be set to 65535 and the number of processes limits set to
    9. 25059. The current file handle limit is 1024 and the number of processes
    10. limit is 23967.
    11. To set these limits, you'll need to edit the /etc/security/limits.conf
    12. file as super user and add the following lines:
    13. ags soft nofile 65535
    14. ags hard nofile 65535
    15. ags soft nproc 25059
    16. ags hard nproc 25059
    17. In order for the new values to take effect, you'll need to log out and then log
    18. back in as the root user. To verify, run:
    19. ulimit -Ha
    20. For additional details, see the ArcGIS 10.1 for Server installation guide.
        系统会提示添加相关的信息到/etc/security/limits.conf里面。再次执行
    [python][/python] view plaincopyprint?
    1. [ags@redhat6 ArcGISServer]$ ./CheckPackagePrerequisites.sh
    2. This script will check the packages installed on your machine against a list of known packages required by ArcGIS 10.1 for Server.
    3. Would you like to continue? ([y]/n)
    4. y
    5. OS found: RedHatEnterpriseServer
    6. Version found: 6.1
    7. Now checking this machine for the following packages:
    8. glibc libxml2 freetype fontconfig mesa-libGL mesa-libGLU libXtst libXext libX11 libXi libXdmcp libXau
    9. Check passed. All required packages are present on this machine.
    我们可以看到,相关的依赖包都已经安装完毕。     下面的安装其实就比较简单了,但是我感觉ArcGIS Server10.1还是有惊喜出现,大家都知道以前的ArcGIS Server版本有GUI图形化界面安装,也有静默安装(命令行),那么在ArcGISServer10.1它会自动选择哪种安装方式,比如我只是用了Putty连接远程的Linux系统,大家知道Putty是调不出GUI界面的,但是ArcgIS Server10.1自动就切换到静默安装了,我们就看看这种安装方式,直接执行./Setup
    [python][/python] view plaincopyprint?
    1. [root@redhat6 ~]# su - ags
    2. [ags@redhat6 ~]$ ls
    3. arcgis                   Desktop    Downloads  Pictures  Templates
    4. authorizationserver.ecp  Documents  Music      Public    Videos
    5. [ags@redhat6 ~]$ cd /home/soft/ArcGISServer/
    6. [ags@redhat6 ArcGISServer]$ ls
    7. CheckPackagePrerequisites.sh  Documentation  Install.htm  Setup  setup_resources
    8. [ags@redhat6 ArcGISServer]$ ./Setup
    9. OS found: RedHatEnterpriseServer
    10. Version found: 6.1
    11. Now checking this machine for the following packages:
    12. glibc libxml2 freetype fontconfig mesa-libGL mesa-libGLU libXtst libXext libX11 libXi libXdmcp libXau
    13. Check passed. All required packages are present on this machine.
    14. Starting installation of ArcGIS 10.1 for Server...
    15. [ArcGIS 10.1 for Server Setup Warning]
    16. This setup has detected that the DISPLAY variable has not been set, but neither the silent or console UI mode was selected.
    17. Note: For information on console or silent setup UI modes, please run this script with the --help option.
    18. This setup will now start in the console UI mode in 10 seconds. You may use Ctrl-C to exit the setup instead.
    19. Preparing to install...
    20. Extracting the JRE from the installer archive...
    21. Unpacking the JRE...
    22. Extracting the installation resources from the installer archive...
    23. Configuring the installer for this system's environment...
    24. Launching installer...
    25. ===============================================================================
    26. ArcGIS for Server                                (created with InstallAnywhere)
    27. -------------------------------------------------------------------------------
    28. Preparing CONSOLE Mode Installation...
    29. ===============================================================================
    30. Introduction
    31. ------------
    32. InstallAnywhere will guide you through the installation of ArcGIS 10.1 for
    33. Server.
    34. It is strongly recommended that you quit all programs before continuing with
    35. this installation.
    36. Respond to each prompt to proceed to the next step in the installation.  If you
    37. want to change something on a previous step, type 'back'.
    38. You may cancel this installation at any time by typing 'quit'.
    39. PRESS <ENTER> TO CONTINUE:
      直接Enter,我们可以查看一些相关的警告,我们接受就可以了
    [python][/python] view plaincopyprint?
    1. 此处省略一万字.............
    2. 4. You may not display or post any combination of more than one hundred�(100)
    3. Esri Business Analyst Online or Community Analyst Reports and maps on Your
    4. external websites.
    5. 5. You may not unbundle or use independently of a subscription any software
    6. components used to access Products, including, but not limited to, Business
    7. Analyst Online API, Community Analyst API, or Location Analytics API.
    8. 6. You may create, publicly display, and distribute maps in hard copy and
    9. PRESS <ENTER> TO CONTINUE:
    10. static electronic format for news-reporting purposes.
    11. DO YOU ACCEPT THE TERMS OF THIS LICENSE AGREEMENT? (Y/N): y
        接下来,系统会提示你,ArcgIS Server安装在什么路径下,系统会默认一个路径,不过用户也可以修改
    [python][/python] view plaincopyprint?
    1. ===============================================================================
    2. Choose Install Folder
    3. ---------------------
    4. Where would you like to install?
    5.   Default Install Folder: /home/ags/arcgis/server
    6. ENTER AN ABSOLUTE PATH, OR PRESS <ENTER> TO ACCEPT THE DEFAULT
    7.       :
    8. ===============================================================================
    9. Pre-Installation Summary
    10. ------------------------
    11. Please Review the Following Before Continuing:
    12. Install Folder:
    13.     /home/ags/arcgis/server
    14. Disk Space Note
    15.     Approximately 1.5 GB of the required disk space is only used during the installation of this product. This temporary disk use will be removed at the end of the installation.
    16. Disk Space Information (for Installation Target):
    17.     Required:  3,160,600,305 bytes
    18.     Available: 36,026,269,696 bytes
    19. PRESS <ENTER> TO CONTINUE:
    选择完毕之后,等待就可以了
    [python][/python] view plaincopyprint?
    1. ===============================================================================
    2. Installing...
    3. -------------
    4.  [==================|==================|==================|==================]
    5.  [------------------|------------------|------------------|------------------]
        过后就是进行lic的授权
    [python][/python] view plaincopyprint?
    1. ===============================================================================
    2. Authorization File
    3. ------------------
    4. Please enter the full path to your authorization file provided by Esri.
    5. Example:
    6. /path/to/server.ecp
    7. Path: (DEFAULT: /path/to/file.ecp): /home/ags/authorizationserver.ecp
        授权完毕就OK了
    [python][/python] view plaincopyprint?
    1. ===============================================================================
    2. Installation Complete
    3. ---------------------
    4. Congratulations. ArcGIS 10.1 for Server has been successfully installed to:
    5. /home/ags/arcgis/server
    6. You will be able to access ArcGIS Server Manager by navigating to
    7. http://redhat6.localdomain:6080/arcgis/manager.
      打开相关的网站进行配置即可 1:  
    [python][/python] view plaincopyprint?
    1. ArcGIS Server 安装向导
    2. 此计算机当前未加入任何 ArcGIS Server 站点。您可以创建新站点或直接加入一个现有站点。
    3. 创建新站点
    4. 加入现有站点
    2:    
    [python][/python] view plaincopyprint?
    1. 主站点管理员账户
    2. 创建将作为此 ArcGIS Server 站点主管理员的帐户。此帐户将存储到站点中,且不是操作系统帐户。登录“管理器”时可使用此帐户。
    3. 用户名:
    4. 密码:
    5. 确认密码:
    3:    
    [python][/python] view plaincopyprint?
    1. 指定根服务器目录和配置存储
    2. 创建 ArcGIS Server 站点时,会安装多个目录以存储输出图像、地理处理作业结果、缓存图像等。您可自行选择一个位置,但必须确保站点中的每台计算机都可对其进行访问。
    3. 根服务器目录:
    4. 配置存储中包含有关 GIS 服务器的计算机、服务和目录的信息。可以选择配置存储的位置,但此位置必须能够通过站点中的每台计算机访问。
    5. 配置存储:
    4:    
    [python][/python] view plaincopyprint?
    1. 配置摘要
    2. 准备完成 ArcGIS Server 安装。
    3. 用户名:    arcgis
    4. 根服务器目录: /home/ags/arcgis/server/usr/directories
    5. 配置存储:   /home/ags/arcgis/server/usr/config-store
    6. 单击“完成”创建 ArcGIS Server 站点。
      其他 启动、停止、卸载软件的配置文件
    [python][/python] view plaincopyprint?
    1. [ags@redhat6 ~]$ cd /home/ags/arcgis/server/
    2. [ags@redhat6 server]$ ls
    3. arcpy            Documentation  help            PackageTemplates  stopserver.sh  tools
    4. ArcToolbox       fonts          lib             PDFL              Styles         uninstall_ArcGISServer
    5. bin              framework      License         pedata            Support        usr
    6. ColorProfiles    Geocode        locale          plotters          Templates      XmlSchema
    7. com              geronimo       Locators        Routing           TilingSchemes
    8. DatabaseSupport  GridTemplates  NetworkAnalyst  startserver.sh    TimeZones
    9. [ags@redhat6 server]$ ./stopserver.sh
    10. Attempting to stop ArcGIS Server...
    11. [  OK  ]
    12. [ags@redhat6 server]$ ./startserver.sh
    13. Attempting to start ArcGIS Server...
    14. [  OK  ]
    注册Lic工具
    [python][/python] view plaincopyprint?
    1. [ags@redhat6 server]$ cd tools/
    2. [ags@redhat6 tools]$ ll
    3. total 28
    4. drwx------. 2 ags ags 4096 Apr 25 20:33 admin
    5. -rwx------. 1 ags ags 4519 Apr 20 17:03 authorizeSoftware
    6. drwx------. 2 ags ags 4096 Apr 26 12:18 passwordreset
    7. -rwx------. 1 ags ags  636 Apr 20 17:05 python
    8. -rwx------. 1 ags ags  919 Apr 20 17:05 serverinfo
    9. -rwx------. 1 ags ags 3277 Apr 26 12:18 ssltool.sh
    10. [ags@redhat6 tools]$ ./serverinfo
    11.     Server: 10.1.0.3035
    12.        JRE: 1.6.0_30
    13.     Tomcat: 6.0.35.0
    14.   Geronimo: 2.2.2
    15.       Wine: v1.4-rc1-final
  • 相关阅读:
    02数值类型
    01开班第一节
    oracle 课堂笔记
    错题整理
    多线程下的单例模式
    线程的同步和异步
    九大内置对象!!!
    jsp前三章测试
    Jav开发中的23种设计模式详解(转载)
    java IO 学习笔记
  • 原文地址:https://www.cnblogs.com/adodo1/p/4328203.html
Copyright © 2011-2022 走看看