Redhat 6.1安装ArcGIS Server10.1

操作环境: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时经常不太注意事前查看系统需求,提前安装相关的依赖包,现在好多了,我们直接执行这个文件,就知道我们现在的操作系统是否缺包或者是否缺少相关的信息

[root@redhat6 ~]# cd /home/soft/ArcGISServer/
[root@redhat6 ArcGISServer]# ll
total 40
-rwxrwxr-x. 1 ags oinstall  5048 Feb  2 19:29 CheckPackagePrerequisites.sh
drwxrwxr-x. 3 ags oinstall  4096 May 21 18:30 Documentation
-rwxrwxr-x. 1 ags oinstall  1154 Apr 26 12:42 Install.htm
-rwxrwxr-x. 1 ags oinstall 16863 Mar 23 13:30 Setup
drwxrwxr-x. 3 ags oinstall  4096 May 21 18:30 setup_resources
我们安装ArcGIS Server需要新添加一个ArcGIS Server的操作系统用户,比如我们添加ags用户

那么我们切换到ags用户执行该文件

[ags@redhat6 ArcGISServer]# ./CheckPackagePrerequisites.sh
This script will check the packages installed on your machine against a list of                          known packages required by ArcGIS 10.1 for Server.
Would you like to continue? ([y]/n)
y
OS found: RedHatEnterpriseServer
Version found: 6.1

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 1024 and the number of processes
limit is 23967.
To set these limits, you'll need to edit the /etc/security/limits.conf
file as super user and add the following lines:

ags soft nofile 65535
ags hard nofile 65535
ags soft nproc 25059
ags 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 root user. To verify, run:
ulimit -Ha

For additional details, see the ArcGIS 10.1 for Server installation guide.

系统会提示添加相关的信息到/etc/security/limits.conf里面。再次执行

[ags@redhat6 ArcGISServer]$ ./CheckPackagePrerequisites.sh
This script will check the packages installed on your machine against a list of known packages required by ArcGIS 10.1 for Server.
Would you like to continue? ([y]/n)
y
OS found: RedHatEnterpriseServer
Version found: 6.1

Now checking this machine for the following packages:
glibc libxml2 freetype fontconfig mesa-libGL mesa-libGLU libXtst libXext libX11 libXi libXdmcp libXau

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

[root@redhat6 ~]# su - ags
[ags@redhat6 ~]$ ls
arcgis                   Desktop    Downloads  Pictures  Templates
authorizationserver.ecp  Documents  Music      Public    Videos
[ags@redhat6 ~]$ cd /home/soft/ArcGISServer/
[ags@redhat6 ArcGISServer]$ ls
CheckPackagePrerequisites.sh  Documentation  Install.htm  Setup  setup_resources
[ags@redhat6 ArcGISServer]$ ./Setup
OS found: RedHatEnterpriseServer
Version found: 6.1

Now checking this machine for the following packages:
glibc libxml2 freetype fontconfig mesa-libGL mesa-libGLU libXtst libXext libX11 libXi libXdmcp libXau

Check passed. All required packages are present on this machine.

Starting installation of ArcGIS 10.1 for Server...
[ArcGIS 10.1 for Server Setup Warning]
This setup has detected that the DISPLAY variable has not been set, but neither the silent or console UI mode was selected.
Note: For information on console or silent setup UI modes, please run this script with the --help option.

This setup will now start in the console UI mode in 10 seconds. You may use Ctrl-C to exit the setup instead.
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...

===============================================================================
ArcGIS for Server                                (created with InstallAnywhere)
-------------------------------------------------------------------------------

Preparing CONSOLE Mode Installation...




===============================================================================
Introduction
------------

InstallAnywhere will guide you through the installation of ArcGIS 10.1 for
Server.

It is strongly recommended that you quit all programs before continuing with
this installation.

Respond to each prompt to proceed to the next step in the installation.  If you
want to change something on a previous step, type 'back'.

You may cancel this installation at any time by typing 'quit'.

PRESS <ENTER> TO CONTINUE:

直接Enter,我们可以查看一些相关的警告,我们接受就可以了

此处省略一万字.............

4. You may not display or post any combination of more than one hundred�(100)
Esri Business Analyst Online or Community Analyst Reports and maps on Your
external websites.
5. You may not unbundle or use independently of a subscription any software
components used to access Products, including, but not limited to, Business
Analyst Online API, Community Analyst API, or Location Analytics API.
6. You may create, publicly display, and distribute maps in hard copy and

PRESS <ENTER> TO CONTINUE:

static electronic format for news-reporting purposes.



DO YOU ACCEPT THE TERMS OF THIS LICENSE AGREEMENT? (Y/N): y

接下来,系统会提示你,ArcgIS Server安装在什么路径下,系统会默认一个路径,不过用户也可以修改

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

Where would you like to install?

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

ENTER AN ABSOLUTE PATH, OR PRESS <ENTER> TO ACCEPT THE DEFAULT
      :



===============================================================================
Pre-Installation Summary
------------------------

Please Review the Following Before Continuing:

Install Folder:
    /home/ags/arcgis/server

Disk Space Note
    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.

Disk Space Information (for Installation Target):
    Required:  3,160,600,305 bytes
    Available: 36,026,269,696 bytes

PRESS <ENTER> TO CONTINUE:
选择完毕之后,等待就可以了
===============================================================================
Installing...
-------------

 [==================|==================|==================|==================]
 [------------------|------------------|------------------|------------------]

过后就是进行lic的授权

===============================================================================
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): /home/ags/authorizationserver.ecp

授权完毕就OK了

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

Congratulations. ArcGIS 10.1 for Server has been successfully installed to:

/home/ags/arcgis/server

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

打开相关的网站进行配置即可

1:

ArcGIS Server 安装向导

此计算机当前未加入任何 ArcGIS Server 站点。您可以创建新站点或直接加入一个现有站点。

创建新站点
 
加入现有站点

2:

主站点管理员账户

创建将作为此 ArcGIS Server 站点主管理员的帐户。此帐户将存储到站点中,且不是操作系统帐户。登录“管理器”时可使用此帐户。
用户名:	

密码:	

确认密码:	

3:

指定根服务器目录和配置存储

创建 ArcGIS Server 站点时,会安装多个目录以存储输出图像、地理处理作业结果、缓存图像等。您可自行选择一个位置,但必须确保站点中的每台计算机都可对其进行访问。
根服务器目录:	

配置存储中包含有关 GIS 服务器的计算机、服务和目录的信息。可以选择配置存储的位置,但此位置必须能够通过站点中的每台计算机访问。
配置存储:	

4:

配置摘要

准备完成 ArcGIS Server 安装。
用户名:	arcgis
根服务器目录:	/home/ags/arcgis/server/usr/directories
配置存储:	/home/ags/arcgis/server/usr/config-store
单击“完成”创建 ArcGIS Server 站点。

其他

启动、停止、卸载软件的配置文件

[ags@redhat6 ~]$ cd /home/ags/arcgis/server/
[ags@redhat6 server]$ ls
arcpy            Documentation  help            PackageTemplates  stopserver.sh  tools
ArcToolbox       fonts          lib             PDFL              Styles         uninstall_ArcGISServer
bin              framework      License         pedata            Support        usr
ColorProfiles    Geocode        locale          plotters          Templates      XmlSchema
com              geronimo       Locators        Routing           TilingSchemes
DatabaseSupport  GridTemplates  NetworkAnalyst  startserver.sh    TimeZones
[ags@redhat6 server]$ ./stopserver.sh
Attempting to stop ArcGIS Server...
[  OK  ]
[ags@redhat6 server]$ ./startserver.sh
Attempting to start ArcGIS Server...
[  OK  ]
注册Lic工具
[ags@redhat6 server]$ cd tools/
[ags@redhat6 tools]$ ll
total 28
drwx------. 2 ags ags 4096 Apr 25 20:33 admin
-rwx------. 1 ags ags 4519 Apr 20 17:03 authorizeSoftware
drwx------. 2 ags ags 4096 Apr 26 12:18 passwordreset
-rwx------. 1 ags ags  636 Apr 20 17:05 python
-rwx------. 1 ags ags  919 Apr 20 17:05 serverinfo
-rwx------. 1 ags ags 3277 Apr 26 12:18 ssltool.sh
[ags@redhat6 tools]$ ./serverinfo
    Server: 10.1.0.3035
       JRE: 1.6.0_30
    Tomcat: 6.0.35.0
  Geronimo: 2.2.2
      Wine: v1.4-rc1-final

 -------------------------------------------------------------------------------------------------------
版权所有,文章允许转载,但必须以链接方式注明源地址,否则追究法律责任!
-------------------------------------------------------------------------------------------------------

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值