Installing Oracle by using the menu-based script

To install the Oracle database files by using a menu-based system.

Before you begin

Add the following group to the oraInst.loc file.
From /etc/oraInst.loc, add:
inst_group=oinstall
From /etc/oraInst.loc, add:
inst_group=oinstall
From /var/opt/oracle/oraInst.loc, add:
inst_group=oinstall

About this task

It is recommended that you use the menu-based script method.

Note: The Oracle installation script that is provided by IBM® is used to install Oracle server, Oracle client, and upgrade patches to an existing Oracle server or Client installation.

To install the Oracle server (64-bit) using the menu-based script:

Procedure

  1. As Oracle, change directory by using the following command:

    systems:

    # cd <DIST_DIR>/proviso/SOLARIS/DataBase/SOL10/oracle/instance/ora_installer

    systems:

     # cd <DIST_DIR>/proviso/AIX/DataBase/AIX<version_num>/oracle/instance
    /ora_installer

    systems:

    # cd <DIST_DIR>/proviso/RHEL/DataBase/RHEL<version_num>/oracle/instance/ora_installer

    where:

    <DIST_DIR> is the directory on the hard disk drive where you copied the contents of the Tivoli® Netcool® Performance Manager distribution in Download the Oracle distribution to disk.

  2. Enter the following command to start the installer:
    $ ./perform_oracle_inst

    The installation menu is displayed:

    --------------------------------------------------
    perform_oracle_inst
    Installation of oracle binaries
    <Current Date>
    --------------------------------------------------
    OS ........... : [ Linux 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 ]
    Host ......... : [ tnpmuslnx0110.myhost.example.com ]
    Logname ...... : [ oracle ]
    Install Oracle release .... : [ 12.1.0 ]
    Installation type.......... : [ Server ]
    Enter the appropriate letter to modify the entries below:
    a) ORACLE_BASE .. : [ /opt/oracle ]
    b) ORACLE_HOME .. : [ /opt/oracle/product/12.1.0 ]
    c) DBA group ..................... : [ dba ]
    d) OUI Inventory group ........... : [ oinstall ]
    e) Oracle Software owner ......... : [ oracle ]
    f) Directory where CDs were copied:
    [ <ORA_DIST_DIR> ]
    Menu :
    1. Next supported release
    2. Set install type to: Client
    3. Perform install
    0. Exit
    Choice :
  3. Verify the following settings:
    • The Oracle release number is 12.1.0.
    • The Installation type field is Server.

    This field cycles between three settings: Server, Client, and Patch. Type 2 at the Choice prompt and press Enter until Server is displayed.

  4. Type f at the Choice prompt and press Enter.
  5. At the Choice prompt, enter the full path to the directory that contains the installation files, <ORA_DIST_DIR>. For example:
    Choice: f
    Enter new value for CD directory: /var/tmp/oracle12102
  6. Type a at the Choice prompt and press Enter.
  7. At the Choice prompt, enter the full path to the oracle base directory created for Oracle 12.1.0.2. The default is /opt/oracle.
  8. Type b at the Choice prompt and press Enter.
  9. At the Choice prompt, enter the full path to the oracle home directory created for Oracle 12.1.0.2. The default is /opt/oracle/product/12.1.0.
  10. Edit other menu settings as required. For example, if you used non-default values for ORACLE_BASE or ORACLE_HOME, enter your settings until the menu shows that they correctly point to the directories created for Oracle 12.1.0.2.
  11. To begin the Oracle installation, type 3 at the Choice prompt and press Enter. The installation script checks the environment, then asks if you want to perform the installation.
  12. Type Y at the Choice prompt and press Enter. The installation script starts installing Oracle and displays a series of status messages.
    Note: You can safely ignore any font.properties not found messages in the output.

    When the installation reaches the In Summary Page stage, the installation slows down significantly while Oracle files are copied and linked.

  13. The following message is displayed when the installation completes:
    In End of Installation Page
    The installation of Oracle12c Database was successful.
    Check /opt/oracle/oraInventory/logs/silentInstall2011-09-28_04-23-53PM.log
    for more details.
    The Oracle installation has completed. Check the
    messages above to determine if the install completed
    successfully. If you do not see successful completion
    messages, consult the install log at:
    /opt/oracle/oraInventory/logs
    Press C to continue...
    Note: For any installation error, write down the log file location to aid in troubleshooting.
  14. Type C and press Enter to return to the installation menu.
  15. Type 0 and press Enter to exit the installation menu.

What to do next

Note: Review the Oracle installation logs at $ORACLE_BASE/oraInventory/logs for errors as some fatal errors might be reported in the log, but the native Oracle installer reports success in standard output.