首页 > Linux操作系统 > Linux操作系统 > unix系统环境变量的设置
Table 1-2 describes UNIX environment variables used with Oracle Database.
Table 1-2 Environment Variables Used with Oracle Database
| Variable | Detail | Definition |
|---|---|---|
|
ADA_PATH (AIX only) |
Function |
|
|
Syntax |
directory_path |
|
|
Example |
/usr/lpp/powerada |
|
|
Function |
Used with Java applications. The required setting for this variable depends on the Java application. Refer to the product documentation for your Java application for more information. |
|
|
Syntax |
Colon-separated list of directories or files: directory1:directory2:file1:file2 |
|
|
Example |
There is no default setting. CLASSPATH must include the following directories: $ORACLE_HOME/JRE/lib:$ORACLE_HOME/jlib |
|
|
Function |
Used by X-based tools. Specifies the display device used for input and output. Refer to the X Window System documentation for information. |
|
|
Syntax |
hostname:server[.screen] where hostname is the system name (either IP address or alias), server is the sequential code number for the server, and screen is the sequential code number for the screen. If you use a single monitor, then use the value 0 for both server and screen (0.0). Note: If you use a single monitor, then screen is optional. |
|
|
Example |
135.287.222.12:0.0 bambi:0 |
|
|
Function |
Specifies the list of directories that the shared library loader searches to locate shared object libraries at run time. See the dyld man page for information about this environment variable. |
|
|
Syntax |
Colon-separated list of directories: directory1:directory2:directory3 |
|
|
Example |
/usr/lib:$ORACLE_HOME/lib |
|
|
Function |
The home directory of the user. |
|
|
Syntax |
directory_path |
|
|
Example |
/home/oracle |
|
|
Function |
Specifies the language and character set used by the operating system for messages and other output. Refer to the operating system documentation for more information. Note: This environment variable is not used on Mac OS X. |
|
|
Function |
Specifies the default linker options. Refer to the ld man page for more information about this environment variable. |
|
|
Function |
Specifies the name of the default printer. |
|
|
Syntax |
string |
|
|
Example |
docprinter |
|
|
Function |
Specifies the list of directories that the shared library loader searches to locate shared object libraries at run time. Refer to the ld man page for information about this environment variable. On HP-UX, specifies the path for 64-bit shared libraries. |
|
|
Syntax |
Colon-separated list of directories: directory1:directory2:directory3 |
|
|
Example |
/usr/dt/lib:$ORACLE_HOME/lib |
|
|
LD_LIBRARY_PATH_64 (SPARC systems only) |
Function |
Specifies the list of directories that the shared library loader searches to locate specific 64-bit shared object libraries at run time. Refer to the ld man page for information about this environment variable. |
|
Syntax |
Colon separated list of directories: directory1:directory2:directory3 |
|
|
Example |
/usr/dt/lib:$ORACLE_HOME/lib64 |
|
|
Function |
Specifies the list of directories that the shared library loader searches to locate shared object libraries at run time. Refer to the ld man page for information about this environment variable. |
|
|
Syntax |
Colon-separated list of directories: directory1:directory2:directory3 |
|
|
Example |
/usr/dt/lib:$ORACLE_HOME/lib |
|
|
Function |
Used by the shell to locate executable programs; must include the $ORACLE_HOME/bin directory. |
|
|
Syntax |
Colon-separated list of directories: directory1:directory2:directory3 |
|
|
Example |
/bin:/usr/bin:/usr/local/bin:/usr/bin/X11:$ORACLE_HOME/bin: $HOME/bin:. Note: The period adds the current working directory to the search path. |
|
|
Function |
Specifies the name of the default printer. |
|
|
Syntax |
string |
|
|
Example |
docprinter |
|
|
Function |
Specifies the list of directories that the shared library loader searches to locate shared object libraries at run time. Refer to the ld man page for information about this environment variable. |
|
|
Syntax |
Colon-separated list of directories: directory1: directory2: directory3 |
|
|
Example |
/usr/dt/lib:$ORACLE_HOME/lib32 |
|
|
Function |
Specifies the default directories for temporary files; if set, tools that create temporary files create them in one of these directories. |
|
|
Syntax |
directory_path |
|
|
Example |
/u02/oracle/tmp |
|
|
Function |
Specifies a file containing X Window System resource definitions. Refer to the X Window System documentation for more information. |
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/11780477/viewspace-708764/ ,如需转载,请注明出处,否则将追究法律责任。