linux环境下(SUSE 11)安装ArcSDE 10.0 的注意事项(Oracle 11g
写在前面的话 在学习安装ArcSDE之前,我想大多数人和我一样对ArcSDE的了解是建立在文字概念上的, “ ArcSDE,即数据通路,是ArcGIS的空间数据引擎,它是在关系数据库管理系统(RDBMS)中存储和管理多用户空间数据库的通路。” 其概念本身就深抽象。但是安装
写在前面的话
在学习安装ArcSDE之前,我想大多数人和我一样对ArcSDE的了解是建立在文字概念上的,“ ArcSDE,即数据通路,是ArcGIS的空间数据引擎,它是在关系数据库管理系统(RDBMS)中存储和管理多用户空间数据库的通路。”其概念本身就深抽象。但是安装之前必须要对ArcSDE了解清楚,否则对下面的安装步骤就不可能全部了解,如若只是根据教程邯郸学步,照猫画虎,那遇到具体问题时恐怕是无从下手的。我在安装过程中遇到了一些困难,而且这些困难必须得自己解决,时间上也超过了规定的截止时间,这就如同电影里一个小兵,在严寒的漫漫黑夜里,被敌人发现并攻击,自己却已然脱离部队,枪在手上瑟瑟发抖,心里的感觉的确很无助,但是这种磨练是必须也是快速成长的过程。
回过头来看,Linux系统下ArcSDE的安装并不难,与其他软件不同的是要求创建SDE表空间,出现的问题主要集中于依赖集、权限、Sql语句。我在学习的过程中主要参考了以下博客及文档,但正常情况下 你参照这几篇博客的步骤是安装不成功的,以下是博客及文档的地址:
http://www.docin.com/p-503082176.html(ArcSDE for Oracle linux安装)
http://www.ok3g.cn/blog/Html/113.html(ARCSDE For Oracle在Linux下的安装方法)
http://blog.csdn.net/linghe301/article/details/7282538 (linux 操作系统安装ArcSDE 10)
http://wenku.baidu.com/view/fd8aa466f5335a8102d220a0.html(A
http://www.cnblogs.com/esrichina/archive/2012/12/24/2830559.html(linux上安装arcgis10_03安装ArcSDE 10)
以上博客及文档的步骤叙述得很详细,那为什么我却说参照其步骤是安装不成功呢,这正是我所以写这篇博客的目的,就是希望,后来者在摸索安装的过程中,能借鉴我的经验教训,快速完成任务,至少不再走我走过的冤枉路。这些博客在关键部分没有说明,好比厨师教我们炒菜,但是他放盐放调料的镜头全掐掉,越是认真学越学不会,我查阅了一定量资料(大概耗费两三天时间)才弄懂了他们隐而不说的地方,分享给大家,以下一一介绍:
1.安装环境
安装之前一定要查看ESRI官网的ArcSDE 10.0的需求说明,这个是最重要的
http://resources.arcgis.com/content/arcsde/10.0/oracle-system-requirements/
我选择试验的安装系统环境是SUSE,在VMware虚拟机中进行,安装SUSE时建议留存的空间>18.7G,以免空间不够前期工作全部废掉。数据库是oracle
11g ,ArcSDE版本为10.0,具体版本信息如下:
SUSE Linux Enterprise Server 11 SP 1
Oracle Database 11g Release 2 (11.2.0.1)
ArcSDE
10_UNIX_121100
2安装过程
安装的前提条件是你的Oracle 11g已经安装成功,因为安装数据库的文档资料很多,这里就不再赘述。
创建系统级别的用户:arcsde 。 且与oracle同属oinstall组
创建SDE的用户、表空间及权限。(这一步不是在终端操作的,而需要一个.sql文件)
注意我标红色的地方,这两个地方是你必须要改动的地方:
第14行 “sys/admin@orcl” 分别是数据库的缺省用户名和密码,@后是实例名称
第 20行 “datafile 。。。size 400M” 中间需要根据你数据库安装的路径来写
这个文件可以下载的到“http://pan.baidu.com/share/link?shareid=168208&uk=151831364”
无法下载就自己写一个 *.sql 格式 或者联系我。
记住该sql文件位置,执行该SQL语句,涂改处是我的数据库密码,具体方法如下
执行该文件 即在SQL> 后输入“@。。。。。*.sql”
得到如下信息
安装ArcSDE,我一般习惯用DAEMON虚拟光驱直接将文件拷贝至虚拟机。以下是整个ArcSDE安装文件的截图,oracle11g_64在linux文件夹下
在root用户下,赋予安装文件读写权限,注意下图两个SDE10的不同
安装之前一定要输入“export LANG=en_US”命令 否则安装时有乱码,以下红框标注的地方是你需要输入的一步一步照着走即可。
其中:mediamnt是安装文件所在目录
install directory是你准备安装ArcSDE的目录
建立新文件.bash_profile,添加arcsde用户的环境变量,注意我标红的地方一定要改成你自己的。
修改完毕环境变量,使之生效。命令语句为“点 空格 点/.bash_profile”
修改配置文件参数,在ArcSDE用户下修改$SDEHOME/etc/services.sde文件添加实例名和端口号
在Root用户下/etc/services文件一样添加
此时查看下ArcSDE的安装目录
目录应该为arcsde用户所属oinstall组,切换到root用户执行以下,注意我标记的地方与上图的不同。
这个时候先不要急着创建Schma,建议首先使用“ldd sdesetup”命令检查下依赖项的情况
检查结果发现缺少libXm.so.3依赖包,这个依赖包是附属于openmotif22-libs-2.2.4-137.73.1.x86_64.rpm的 下载地址“http://rpm.pbone.net/index.php3/stat/4/idpl/17239383/dir/opensuse_11.x/com/openmotif22-libs-2.2.4-137.73.1.x86_64.rpm.html”,这里我要吐下苦水,openmotif22有很多小版本,为了找到系统对应的小版本我确实花了不少时间。下载下来,安装后发现可用
这样就可以创建SDE的 Schma了
安装ArcSDE的许可
启动ArcSDE服务
ok,祝贺你安装成功,最后,感谢过程中赖小辉、李莉、任志峰同学的帮助。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

VS Code system requirements: Operating system: Windows 10 and above, macOS 10.12 and above, Linux distribution processor: minimum 1.6 GHz, recommended 2.0 GHz and above memory: minimum 512 MB, recommended 4 GB and above storage space: minimum 250 MB, recommended 1 GB and above other requirements: stable network connection, Xorg/Wayland (Linux)

The five basic components of the Linux system are: 1. Kernel, 2. System library, 3. System utilities, 4. Graphical user interface, 5. Applications. The kernel manages hardware resources, the system library provides precompiled functions, system utilities are used for system management, the GUI provides visual interaction, and applications use these components to implement functions.

Although Notepad cannot run Java code directly, it can be achieved by using other tools: using the command line compiler (javac) to generate a bytecode file (filename.class). Use the Java interpreter (java) to interpret bytecode, execute the code, and output the result.

vscode built-in terminal is a development tool that allows running commands and scripts within the editor to simplify the development process. How to use vscode terminal: Open the terminal with the shortcut key (Ctrl/Cmd). Enter a command or run the script. Use hotkeys (such as Ctrl L to clear the terminal). Change the working directory (such as the cd command). Advanced features include debug mode, automatic code snippet completion, and interactive command history.

To view the Git repository address, perform the following steps: 1. Open the command line and navigate to the repository directory; 2. Run the "git remote -v" command; 3. View the repository name in the output and its corresponding address.

Writing code in Visual Studio Code (VSCode) is simple and easy to use. Just install VSCode, create a project, select a language, create a file, write code, save and run it. The advantages of VSCode include cross-platform, free and open source, powerful features, rich extensions, and lightweight and fast.

VS Code is available on Mac. It has powerful extensions, Git integration, terminal and debugger, and also offers a wealth of setup options. However, for particularly large projects or highly professional development, VS Code may have performance or functional limitations.

The main uses of Linux include: 1. Server operating system, 2. Embedded system, 3. Desktop operating system, 4. Development and testing environment. Linux excels in these areas, providing stability, security and efficient development tools.
