首页 > 代码库 > Linux oracle client sqlplus exp imp install

Linux oracle client sqlplus exp imp install

下载zip

oracle-instantclient11.2-basic-11.2.0.1.0-1.x86_64.zip

oracle-instantclient11.2-jdbc-11.2.0.1.0-1.x86_64.zip

oracle-instantclient11.2-sdk-11.2.0.1.0-1.x86_64.zip

oracle-instantclient11.2-sqlplus-11.2.0.1.0-1.x86_64.zip

 

配置环境变量

export ORACLE_HOME=/home/schedulix/oracle

export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK

export ORACLE_IC_HOME=/home/schedulix/oracle/instantclient_11_2

export ORACLE_HOME=$ORACLE_IC_HOME

export TNS_ADMIN=$ORACLE_IC_HOME

export PATH=$PATH:$HOME/bin:$ORACLE_IC_HOME

export LD_LIBRARY_PATH=$ORACLE_IC_HOME:/usr/lib

export ORACLE_SID=orcl

 

instantclient_11_2目录下创建tnsnames.ora文件

复制oracle客户端的exp imp文件到instantclient_11_2下面

复制rdbms文件夹到instantclient_11_2下面 里面mesg里面expus.msb  impus.msb两个文件

配置成功!


Linux oracle client sqlplus exp imp install