2 oracle_home and oracle_sid, 3 path, classpath, and ld_library_path, 4 display – Oracle B32100-01 User Manual
Page 43: Oracle_home and oracle_sid, Path, classpath, and ld_library_path, Display
Environment Variables
Requirements
2-19
■
If you set environment variables in the .profile file, they might not be read. To
ensure environment variables are set to the correct values, check their values in the
shell where you will be running the installer.
■
To check the value of environment variables, use the env command. This displays
all the currently defined environment variables and their values.
% env
■
If you use the su command to switch users (for example, switching from the root
user to the oracle user), check the environment variables when you are the new
user because the environment variables might not be passed to the new user. This
can happen even if you run su with the - parameter (su - user).
# /* root user */
# su - oracle
% env
2.8.2 ORACLE_HOME and ORACLE_SID
These environment variables must not be set.
2.8.3 PATH, CLASSPATH, and LD_LIBRARY_PATH
Edit your PATH, CLASSPATH, and LD_LIBRARY_PATH environment variables so
that they do not reference any Oracle home directories.
2.8.4 DISPLAY
Set the DISPLAY environment variable to point to the X server that will display the
installer. The format of the DISPLAY environment variable is:
hostname:display_number.screen_number
Example (C shell):
% setenv DISPLAY test.mydomain.com:0.0
Example (Bourne or Korn shell):
$ DISPLAY=test.mydomain.com:0.0; export DISPLAY
You can test the display by running the xclock program:
$ /bin/x11/xclock
Oracle Application Server requires a running X server during installation only. The
frame buffer X server installed with your operating system requires that you remain
logged in and have the frame buffer running during installation. If you do not wish to
do this, then you must use a virtual frame buffer, such as X Virtual Frame Buffer
(XVFB) or Virtual Network Computing (VNC).
Visit Oracle Technology Network (
http://www.oracle.com/technology
) for
information about obtaining and installing XVFB or other virtual frame buffer
solutions. Search OTN for "frame buffer".