|
Re: how to set ORACLE_HOME ORACLE_SID PATH [message #54472 is a reply to message #54463] |
Tue, 19 November 2002 08:24 |
B
Messages: 327 Registered: August 1999
|
Senior Member |
|
|
??? new ???
depending on Ur shell ...linux should be bash...
i think that the correct syntax is
set VAR=VALUE
or
export VAR=VALUE
examples
export ORACLE_HOME=/u01/app/oracle/product/7343
export ORACLE_SID=PRODDB
export PATH=$PATH:/u01/app/oracle/product/7343/bin
|
|
|
Re: how to set ORACLE_HOME ORACLE_SID PATH [message #54476 is a reply to message #54463] |
Tue, 19 November 2002 11:50 |
Trifon Anguelov
Messages: 514 Registered: June 2002
|
Senior Member |
|
|
You have bash shell unless changed to something else:
edit your user .bashrc file to include
ORACLE_HOME=/.../../
ORACLE_SID=
PATH=$PATH:/.../../..
export ORACLE_HOME ORACLE_SID PATH
You also need to setup LD_LIBRARY_PATH (usually - ${ORACLE_HOME}/lib) , NLS_LANG and TNS_ADMIN (if using location for tnsnames.ora, listener.oar files other than ${ORACLE_HOME}/network/admin
Hope that helps,
clio_usa
OCP - DBA
Visit our Web site
|
|
|