Oracle instant client setup on RHEL

 

Download rpms for Oracle 11g R2 instant client from Oracle.
You need at least:
 
 
  • instantclient-basic-linux
Install the rpms.
Add the "/usr/lib/oracle/11.2/client/lib" to "/etc/ld.so.conf" as root and run /sbin/ldconfig. With this step you don't have to set the LD_LIBRARY_PATH environment variable.
If you use tnsnames.ora, copy it to /etc, which is the default global place the oracle runtime searches.

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