install Oracle instant client for linux HOWTO

install Oracle instant client for linux HOWTO

 

 

Guide for:

 

1.install oracle instant client

2.install cx_oracle for python

 

 

 

wget http://prdownloads.sourceforge.net/cx-oracle/cx_Oracle-5.0.4.tar.gz?download

download instantclient-basic-linux-x86-64-10.2.0.3-20070103.zip  from oracle

download instantclient-sdk-linux-x86-64-10.2.0.3-20070103.zip from oracle

 

unzip instantclient-basic-linux-x86-64-10.2.0.3-20070103.zip 

unzip instantclient-sdk-linux-x86-64-10.2.0.3-20070103.zip

 

mv instantclient_10_2 /usr/local/oracle

 

 

ORACLE_HOME=/usr/local/oracle
LD_LIBRARY_PATH=$ORACLE_HOME:/usr/local/lib:${LD_LIBRARY_PATH}
SQLPATH=$ORACLE_HOME
PATH=$PATH:$ORACLE_HOME
 
export LD_LIBRARY_PATH SQLPATH ORACLE_HOME PATH
 

 

cd /usr/local/oracle

ln -s libclntsh.so.10.1 libclntsh.so 

 

cd cx_Oracle-5.0.4

python setup.py build

python setup.py install

 

 

 

你可能感兴趣的:(oracle,linux,.net,python)