安装环境介绍
服务器端:win7 64位,oracle11gr2(11.2.0.1),ArcSDE 10.1 for Oracle
客户机端:win7 64位,32位instantclient-basic-nt-11.2.0.2.0,ArcGIS Desktop 10.1
服务器端oracle的安装
选择桌面类。
一直默认即可。
监听程序的配置
主机一定要写成IP地址。把服务器的IP设为固定。
客户机端软件的安装
ArcGIS Desktop10.1的安装
Oracle instantClient安装
由于Desktop10.1是32位的,所以下载32位的客户端,下载地址如下:
http://download.oracle.com/otn/nt/instantclient/112020/instantclient-basic-nt-11.2.0.2.0.zip
Oracle Instant Client下载页
http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html
1. 下载完成后解压至任意目录,将解压完成后的instantclient_11_2文件夹的路径添加到环境变量Path的最前面。本次解压后的目录为D:\instantclient_11_2,故将此路径添加到path变量里。
2. 在instantclient_11_2文件里新建network\admin两级文件夹,从而在D:\instantclient_11_2\network\admin里新建tnsnames.ora文件。在此文件里添加如下内容:
ORCL102 =【解释:ORCL102为网络服务名,供本机使用来访问远程服务器】
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS= (PROTOCOL = TCP)(HOST = 192.168.1.102【服务器的IP地址】)(PORT =1521))
)
(CONNECT_DATA =
(SERVICE_NAME = orcl【服务器上oracle的sid或者全局服务名】)
)
)
在GP工具里创建ArcSDE Geodatabase
打开ArcMap,然后打开ArcToolbox,用create enterprise geodatabase。
The ST_Geometry shape library path may be invalid, or the EXTPROC is notconfigured correctly in the Oracle instance. [ (Unable to determine currentversion of ST_SHAPELIB. The latest ST_GEOMETRY and dependent libraries need tobe copied to the correct software location. Refer to the ArcGIS help topics for more details.
)]
在ArcCatalog里连接ArcSDE Geodatabase