###Oracle client install for NodeJS, JAVA, PHP, etc.
Download and install Oracle Instant Client from here:
http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html
Instant Client Package - Basic or Basic Lite: All files required to run OCI, OCCI, and JDBC-OCI applications Instant Client Package - SDK: Additional header files and an example makefile for developing Oracle applications with Instant Client
- Once installed set the following environment variables
export OCI_HOME=<directory of Oracle instant client>
export OCI_LIB_DIR=$OCI_HOME
export OCI_INCLUDE_DIR=$OCI_HOME/sdk/include
export OCI_VERSION=<the instant client major version number> # Optional. Default is 11.
export NLS_LANG=AMERICAN_AMERICA.UTF8
- Create the following symbolic links
cd $OCI_LIB_DIR
ln -s libclntsh.so.11.1 libclntsh.so
ln -s libocci.so.11.1 libocci.so
- The libaio library is required on RedHat/CentOS:
sudo yum install libaio