`
Intrepid2012
  • 浏览: 71185 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

linux下oracle instant client安装和运行

 
阅读更多
Step one:

download the correspondent instantclient from oracle website: http://www.oracle.com/technetwork/topics/linuxsoft-082809.html for my case:

Download instantclient-basic-linux32-10.2.0.3-20061115.zip

step two:
mkdir -p /home/oracle/10.2.3
chown -R oracle:oinstall /home/oracle/10.2.3
chmod -R 775 /home/oracle/10.2.3

su - oracle
cd /home/oracle/10.2.3
unzip instantclient-basic-linux32-10.2.0.3-20061115.zip

step three:

copy sqlnet.ora and tnsname.ora into the directory

step four:
set ORACLE_HOME, ORACLE_SID, TNS_ADMIN, LD_LIBARARY_PATH, PATH

step five:

su - root
vi /etc/ld.so.conf

/home/oracle/10.2.3/instantclient_10_2

step six:
download sqlplus package from website.

issue:

if show missing sp*.msd

then

check if the oracle_home set?

check: type sqlplus to see where the path is.
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics