Installing Oracle by using the menu-based script

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

Before you begin

Verify or change to the following group oinstall in 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 user, change directory by using the following command:

    systems:

    $ cd <DIST_DIR>/proviso/SOLARIS/DataBase/SOL<version_num>/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
    
    Note: The directory that is created and to which the Tivoli Netcool Performance Manager distribution is downloaded is referred as <DIST_DIR>.
  2. Enter the following command to start the installer:
    $ ./perform_oracle_inst

    For example, the installation menu is displayed.

    Note: In the following display prompt, the operating system (OS) labels might differ according to your system setup.
    --------------------------------------------------
    perform_oracle_inst
    Installation of oracle binaries
    <Current Date>
    --------------------------------------------------
    OS ........... : [ Linux 4.7.18-194.el5 #1 SMP Tue Mar 17 21:52:39 EDT 2019 ]
    Host ......... : [ <hostname>.myhost.example.com ]
    Logname ...... : [ oracle ]
    Install Oracle release .... : [ 18.0.0 ]
    Installation type.......... : [ Server ]
    
    Enter the appropriate letter to modify the entries below:
    a) ORACLE_BASE .. : [ /opt/oracle ]
    b) ORACLE_HOME .. : [ /opt/oracle/product/18.0.0 ]
    c) DBA group ..................... : [ dba ]
    d) OUI Inventory group ........... : [ oinstall ]
    e) Oracle Software owner ......... : [ oracle ]
    f) Directory where CDs were copied:
    [ /opt/oracle/product/18.0.0 ]
    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 18.0.0.
    • The Installation type field is Server.
    • ORACLE_BASE is correct.
    • ORACLE_HOME is correct.

    This field cycles between three settings: Server, Client32, and Client64. 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.
    For example:
    Choice: f
    Enter new value for CD directory: /opt/oracle/product/18.0.0
  6. If ORACLE_BASE is not correct, 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 18c. The default is /opt/oracle.
  8. If ORACLE_HOME is not correct, 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 18c. The default is /opt/oracle/product/18.0.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 18c.

  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.
    For example,
    In End of Installation Page
    The installation of Oracle18c Database was successful.
    Check /opt/oracle/oraInventory/logs/silentInstall2019-01-07_05-52-25PM.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. Any [FATAL] messages must be resolved before proceeding.
  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.