linux下oracle instant client安装和运行

本文详细介绍如何从Oracle官网下载Instant Client并完成在Linux系统的安装配置过程。步骤包括创建目录、设置权限、解压文件、配置环境变量及修改ld.so.conf文件等。
Step one:

download the correspondent instantclient from oracle website: [url]http://www.oracle.com/technetwork/topics/linuxsoft-082809.html[/url] 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.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值