linux上安装arcgis 10.1_01安装ArcGIS Server 10.1

配置环境:《linux上安装acrcgis 10_01创建linux虚拟机及yum源配置》中配置的纯净虚拟机

安装人员: xubobo

安装时间: 2012-12-25

安装介质:ArcGIS_Server_Ent_Linux_101_129046.iso 1.50G

安装账户: ags/ags, 隶属于esri组。

server manager账户:arcgis/arcgis,已设置开机自动启动。

ect/hosts配置:192.168.147.141 arcgisserver arcgisserver.esri.com

虚拟机版本:Red Hat Enterprise Linux 5_5 64-bit + ArcGISServer10.1.zip 1.95G

官方安装说明:http://resources.arcgis.com/zh-CN/help/install-guides/arcgis-server-unix/10.1/

http://resources.arcgis.com/zh-cn/help/install-guides/arcgis-server-unix/10.1/index.html

备注:zh-CN改成en即为对应的英文参考文档。

参考:http://blog.csdn.net/arcgisserver_book/article/details/7775071

第一步:验证系统要求

  1. 确保官网对ArcGIS 10.1 for Server的系统需求

注意:不再支持32位操作系统!只有操作系统为64位时,才能执行ArcGIS for Server安装程序。

第二步:创建用户

[root@localhost ~]# groupadd esri //创建esri组
[root@localhost ~]# useradd ags -g esri //创建ags用户,隶属于esri组
[root@localhost ~]# passwd ags // 设置密码,这里设置为ags

官方说明:出于安全方面的原因,根帐户不可用作 ArcGIS Server 帐户,也不可用于安装软件。

备注:默认会安装在/home/ags/arcgis/server下,所以不需要授权。如果安装在其他目录下,需保证ags用户对安装目录有相应的权限。

第三步:检查句柄限制依赖项

备注:我的同事pj在linux6.0安装时,CheckPackagePrerequisites.sh执行时进行不下去。pj后来发现CheckPackagePrerequisites检查脚本里面用lsb_release命令查询linux操作系统内核信息,系统如果没有安装redhat-lsb包的话,脚本便执行不下去。

解决方法:安装redhat-lsb包即可。

VMware中在VM->Settings…->CD/DVD(IDE)中connection使用Use ISO image file指向安装文件。

挂载iso镜像,定位到安装文件,然后执行 sh CheckPackagePrerequisites.sh,检查是否满足系统要求。

复制代码
[root@localhost ~]# mkdir /opt/cdrom
[root@localhost ~]# mount /dev/cdrom /mnt/cdrom
mount: block device /dev/cdrom is write-protected, mounting read-only
[root@localhost ~]# su - ags //注意,这里切换到su用户,主要保证后面对句柄的设置是对ags用户而不是root用户。
[ags@localhost ~]# cd /mnt/cdrom/ArcGISServer
[ags@localhost ArcGISServer]# sh 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: 5.5

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 33024.
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用户。
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 <

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值