Symantec logo

Installing Oracle9i Release 2 binary locally from the command line

Use the following steps to install the Oracle Release 2 software to the location created for it. Refer to the procedure in the previous chapter Creating a disk group and file system for the Oracle software.

  1. On one node, enter the following commands using the appropriate example below to copy the Veritas CM library based on the version of Oracle9i:

    # cd /opt/VRTSvcs/rac/lib

    If the version of Oracle9i is 32-bit, enter:

    # cp libskgxn2_32.so /opt/ORCLcluster/lib/libskgxn2.so

    If the version of Oracle9i is 64-bit, enter:

    # cp libskgxn2_64.so /opt/ORCLcluster/lib/libskgxn2.so

  2. On the first node, insert Disk1 of the Oracle9i discs in the CD-ROM drive.
  3. Log in as oracle on each node.
  4. On the first node, edit the file .rhosts to provide the other node access to the local system during the installation. Place a "+" character in the first line of the file. Note that you can remove this permission after installation is complete.
  5. Repeat step 4 on the other node.
  6. On each node, create a directory for the installation of the Oracle9i binaries:

    $ mkdir -P /app/oracle/orahome

    $ export ORACLE_HOME=/app/oracle/orahome

  7. On the first node, set the DISPLAY variable.

    If you use the Bourne Shell (sh or ksh):

    $ DISPLAY=host:0.0;export DISPLAY

    If you use the C Shell (csh):

    $ setenv DISPLAY host:0.0

  8. On the first node, run the Oracle9i utility runInstaller.

    $ /cdrom/Disk1/runInstaller

  9. When you have completed installing Oracle9i Release 2 software, you can install the Oracle9i Release 2 patches if necessary; see Adding Oracle9i Patches - using the command line If you are not installing patches, proceed to Linking / copying SF Oracle RAC libraries to Oracle from the command line.