Linux操作系统安装ArcSDE10(2)

测试sde用户是否可以连通

[Oracle@localhost ~]$ sqlplus sde/sde@orcl

SQL*Plus: Release 11.2.0.1.0 Production on Wed Feb 22 11:46:18 2012

Copyright (c) 1982, 2009, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL>

安装相关的ArcSDE软件

首先将ArcSDE光盘插入光驱,使用mount命令,如果条件允许也可以SSH工具直接传入

[root@localhost ~]# mount /dev/cdrom  /opt/sde
login as: root
root@192.168.221.133's password:
Last login: Wed Feb 22 10:26:33 2012 from 192.168.221.1
[root@localhost ~]# mount /dev/cdrom /opt/sde
mount: block device /dev/cdrom is write-protected, mounting read-only
mount: /dev/cdrom already mounted or /opt/sde busy
mount: according to mtab, /dev/hdc is already mounted on /opt/sde
[root@localhost ~]# cd /opt/sde
[root@localhost sde]# ls
documentation_server  htm  install_db2.htm      install_oracle.htm      linux          solaris
hpia                  ibm  install_informix.htm  install_postgresql.htm  quickstart.htm

然后我们执行安装命令,安装过程中会提示用户软件安装介质在什么位置,这些软件需要安装到什么位置

[root@localhost oracle11g_64]# ./install -load
 你可以读懂本行文字吗?

Is the previous statement legible in your native language? [yes]

Continue installation with the selected language interaction? [yes]
如果你已阅读并同意所附许可协议中的条款,请输入'yes'继续安装过程, 否则按<回车>键或输入'no'退出安装过程. [no] yes


 敲回车选择默认项, '?'帮助, '^'返回到
 上一个问题, 或'q'退出.

输入CD-ROM mount点: [/mediamnt] /opt/sde/linux/oracle11g_64/

输入安装目录的路径名: [/opt/sde/linux/oracle11g_64] /home/arcsde/

ArcSDE version 10.0 for Oracle11g - May 20, 2010 
--------------------------------------------------

ArcSDE Product
 将要安装的软件模块号: [all]


 软件模块选择完毕
--------------------------

你选择了安装下列软件模块

ArcSDE Product
        ArcSDE Server                                       

这正确吗? [yes]

安装时列出文件名吗? [no]

正在安装软件, 请等待...

软件安装完毕

退出...
[root@localhost oracle11g_64]#

根据用户软件安装的位置以及Oracle软件安装的信息,添加arcsde用户的环境变量

[arcsde@localhost ~]$ vi .bash_profile
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs

#export PATH=$PATH:$HOME/bin
export ORACLE_BASE=/opt/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
export ORACLE_SID=ORCL
export TNS_ADMIN=$ORACLE_HOME/network/admin
export SDEHOME=/home/arcsde/sdeexe100
export LD_LIBRARY_PATH=$SDEHOME/lib:/usr/lib:/lib:$ORACLE_HOME/lib
export PATH=$PATH:$HOME:$ORACLE_HOME/bin:$SDEHOME/bin

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/18275.html