-
Enter the following command to display information about all mounted file systems:
# df -k
This command displays information about all the file systems mounted on the system, including:
-
The physical device name
-
The total amount, used amount, and available amount of disk space
-
The mount point directory for that file system
-
-
From the display, identify either one or two file systems that meet the disk space requirements mentioned earlier in this section.
-
Note the name of the mount point directory for each file system that you identified.
-
Enter commands similar to the following to create the recommended subdirectories in the mount point directory that you identified and set the appropriate owner, group, and permissions on them:
# mkdir -p /mount_point/app/oracle_sw_owner # chown -R oracle:oinstall /mount_point/app/oracle_sw_owner # chmod -R 775 /mount_point/app/oracle_sw_owner
For example, if the mount point you identify is
/u01andoracleis the user name of the Oracle software owner, then the recommended Oracle base directory path is as follows:
/u01/app/oracle
8 Configuring the oracle User's Environment
You run Oracle Universal Installer from the oracle account. However, before you start Oracle Universal Installer, you must configure the environment of the oracle user. To configure the environment, you must:
-
Set the default file mode creation mask (
umask) to022in the shell startup file. -
Set the
DISPLAYenvironment variable.
To set the oracle user's environment:
-
Start a new terminal session, for example, an X terminal (
xterm). -
Enter the following command to ensure that X Window applications can display on this system:
$ xhost fully_qualified_remote_host_name
-
Complete one of the following steps:
-
If the terminal session is not connected to the system where you want to install the software, then log in to that system as the
oracleuser. -
If the terminal session is connected to the system where you want to install the software, then switch user to
oracle:$ su - oracle
-
-
To determine the default shell for the
oracleuser, enter the following command:
$ echo $SHELL
-
Open the
oracleuser's shell startup file in any text editor:-
Bash shell (
bash) on Red Hat:$ vi .bash_profile
-
Bourne shell (
sh), Bash shell on SUSE (bash), or Korn shell (ksh):$ vi .profile
-
C shell (
cshortcsh):% vi .login
-
-
Enter or edit the following line in the shell startup file, specifying a value of
022for the default file mode creation mask:umask 022
-
If the
ORACLE_SID,ORACLE_HOME, orORACLE_BASEenvironment variable is set in the file, then remove the corresponding lines from the file. -
Save the file, and exit from the editor.
-
To run the shell startup script, enter the following command:
-
Bash shell on Red Hat:
$ . ./.bash_profile
-
Bourne shell, Bash shell on SUSE, or Korn shell:
$ . ./.profile
-
C shell:
% source ./.login
-
-
If you are not installing the software on the local system, then enter a command similar to the following to direct X applications to display on the local system:
-
Bourne, Bash, or Korn shell:
$ DISPLAY=local_host:0.0 ; export DISPLAY
-
C shell:
% setenv DISPLAY local_host:0.0
In this example,
local_hostis the host name or IP address of the system that you want to use to display Oracle Universal Installer -






