Selecting an Instance with Environment Variables : Solaris Example (19)

tsinglee發表於2007-12-16

The following Solaris example sets the environment variables that are required for
selecting an instance. When switching between instances with different Oracle homes,
the ORACLE_HOME environment variable must be changed.
% setenv ORACLE_SID SAL1
% setenv ORACLE_HOME /u01/app/oracle/product/10.1.0/db_1
% setenv LD_LIBRARY_PATH /usr/lib:/usr/dt/lib:/usr/openwin/lib:/usr/ccs/lib
Most UNIX installations come with two scripts, oraenv and coraenv, that can be
used to easily set these environment variables.

使用環境變數選擇例項之 : Solaris環境
Solaris環境下 , 切換例項時必須修改ORACLE_HOME
setenv : ORACLE_SID , ORACLE_HOME , LD_LIBRARY_PATH

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10599713/viewspace-994024/,如需轉載,請註明出處,否則將追究法律責任。

相關文章