Installation guide

18
$ TMPDIR=/mount_point/tmp
$ export TMP TMPDIR
* C shell:
% setenv TMP /mount_point/tmp
% setenv TMPDIR /mount_point/tmp
9. Enter commands similar to the following to set the
ORACLE_BASE
and ORACLE_SID
environment variables:
Bourne, Bash, or Korn shell:
$ ORACLE_BASE=/u01/app/oracle
$ ORACLE_SID=sales
$ export ORACLE_BASE ORACLE_SID
C shell:
% setenv ORACLE_BASE /u01/app/oracle
% setenv ORACLE_SID sales
In this example,
/u01/app/oracle
is the Oracle base directory that you created or
identified earlier and
sales
is the database name (typically no more than five
characters).
10. Enter the following commands to ensure that the
ORACLE_HOME
and
TNS_ADMIN
environment variables are not set:
Bourne, Bash, or Korn shell:
$ unset ORACLE_HOME
$ unset TNS_ADMIN
C shell:
% unsetenv ORACLE_HOME
% unsetenv TNS_ADMIN
8 Mounting the Product Disc
On most Linux systems, the product disc mounts automatically when you insert it into
the drive. If the disc does not mount automatically, then follow these steps to mount it:
1. Enter a command similar to the following to eject the currently mounted disc, then
remove it from the drive:
Asianux, Oracle Linux, and Red Hat Enterprise Linux:
$ sudo eject /mnt/dvd
SUSE Linux Enterprise Server:
# eject /media/dvd
Note: If the
ORACLE_HOME
environment variable is set, then Oracle
Universal Installer uses the value that it specifies as the default path
for the Oracle home directory. However, if you set the
ORACLE_BASE
environment variable, then Oracle recommends that you unset the
ORACLE_HOME
environment variable and choose the default path
suggested by Oracle Universal Installer.