首页 > Linux操作系统 > Linux操作系统 > Selecting an Instance with Environment Variables : Solaris Example (19)
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
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10599713/viewspace-994024/ ,如需转载,请注明出处,否则将追究法律责任。