CentOs install oracle instant client

rpm -ivh oracle-instantclient11.2-basic-11.2.0.3.0-1.x86_64.rpm  
rpm -ivh oracle-instantclient11.2-devel-11.2.0.3.0-1.x86_64.rpm  


rpm -ivh oracle-instantclient12.1-basic-12.1.0.2.0-1.x86_64.rpm  
rpm -ivh oracle-instantclient12.1-devel-12.1.0.2.0-1.x86_64.rpm  


export ORACLE_HOME=/usr/lib/oracle/11.2/client64/  
export LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client64:$LD_LIBRARY_PATH 
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH

  

posted @ 2016-06-08 22:59  大约  阅读(1205)  评论(0编辑  收藏  举报