Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to properly set Environment Variables for Oracle DB on 64bit Linux

Roderick Chen-OracleJan 13 2013 — edited Mar 12 2013
I usually set environment variables as follow, is there any issue? Are all the included paths essential?

export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
export ORACLE_SID=orcl
export CLASSPATH=$ORACLE_HOME/jdk/lib:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;
export PATH=$ORACLE_HOME/bin:$PATH;
export LD_LIBRARY_PATH=/lib:/usr/lib:$ORACLE_HOME/lib;

I have a doubt, LD_LIBRARY_PATH should be 'LD_LIBRARY_PATH=/lib:/usr/lib:$ORACLE_HOME/lib;' or 'LD_LIBRARY_PATH=/lib64:/usr/lib64:$ORACLE_HOME/lib;' on 64bit Linux?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 9 2013
Added on Jan 13 2013
8 comments
1,756 views