10 running root.sh during installation, Section 3.10, "running root.sh during installation – Oracle B32100-01 User Manual
Page 58
Why Do I Need to be Able to Log In as Root at Certain Times During Installation?
3-6
Oracle Application Server Installation Guide
3.9 Why Do I Need to be Able to Log In as Root at Certain Times During
Installation?
At least once during installation, the installer prompts you to log in as the root user
and run a script. You need to be root because the script edits files in the
/var/opt/oracle
directory.
3.10 Running root.sh During Installation
The installer prompts you to run the root.sh script in a separate window. This script
creates files in the local bin directory (/usr/local/bin, by default).
If the script finds files of the same name, it prompts you if you want to override the
existing files. You should back up these files (you can do this from another window),
then overwrite them.
The following lines show the prompts from the root.sh script. The default values are
enclosed in square brackets.
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)[n]: y
Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)[n]: y
Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)[n]: y
Copying coraenv to /usr/local/bin ...
After you run root.sh, you may see warnings that begin with "chmod: WARNING:
Corresponding set-ID also disabled..." You may ignore these warnings.
3.11 Can I Modify Other Oracle Application Server Instances During
Installation?
During the installation of an Oracle Application Server instance, you should not
change the configuration or passwords of other installations in your environment. For
example, if there is an OracleAS Infrastructure installation in your environment, you
should not modify it during the installation of a middle tier.
Inventory directory
When you install the first Oracle product on a computer, you
specify this directory, which the installer uses to keep track of
which Oracle products are installed on the computer. In
subsequent installations, the installer uses the same inventory
directory.
/var/opt/oracle
directory
This directory contains information on locations of Oracle homes
on the computer.
If you installed Oracle9iAS Release 2 (9.0.2) on your computer,
this directory also contains files that provide information for
Oracle Enterprise Manager 10g.
/tmp
directory
The installer writes files needed only during installation to a
"temporary" directory. By default, the "temporary" directory is
/tmp
. To specify a different directory, set the TMP environment
Section 2.8.5, "TMP and TMPDIR"
for details.
Table 3–1
(Cont.) Directories Where the Installer Writes Files
Directory
Description