Installing Oracle RDBMS (stand-alone system or database server)

Install Oracle 12c by using the scripts that are provided in the platform package. Must be installed on a stand-alone server, or on the database server in a distributed environment. The Oracle installation takes approximately 30 minutes depending on the specification of the server.

About this task

The Oracle RDBMS (stand-alone system or database server) must be installed on a stand-alone server, or on the DB server in a distributed environment.

Note: If Oracle was previously installed on the server, you must respond to the on-screen questions. Default values are displayed and it is recommended that you overwrite the files if they exist.
Note: Ignore the message ksh: : not found.
Note: If you have a problem with the installation, you can remove the <Oracle base> directory and restart the Oracle 12c installation by running the oracle12C_install command again.

Procedure

  1. Optional: Validate the installed package and set the ulimit value to 65536 by using the following command:
    ulimit -n 65536

    If you encounter an issue when you run run the root.sh script, this step is needed.

  2. Run the commands as user root on the server:
    #/var/install/sbin/oracle12C_install
    The installation conducts a number of checks:
    Check Oracle User exists...
    .... Done
    Check oinstall group exists...
    group oinstall does not exist, creating...
    OK.
    Check dba group exists...
    .... OK
    -----------------------------------------------------------------------
     Please select the Type of Install you wish to execute
     by entering the number associated with the Install Type : 
    
              Full install (Oracle 12.1.0.2.0 + 12.1.0.x.x patch set update) (1)
              Oracle 12.1.0.2.0 Client only (2)
              Oracle 12.1.0.2.0 Instant Client only (3)
              12.1.0.x Patch Set (4)
              12.1.0.x.x Patch Set Update (5)
              Oracle 12.1.0.x oneoff patches (6)
    
    -----------------------------------------------------------------------
     [ 1 / 2 / 3 / 4 / 5 / 6 ] : 
  3. For a full installation, select option 1.
  4. At the prompts, specify the location of the Oracle Software and where you want to install the software. Enter the paths to the Oracle software distribution as requested.
    Please enter the location of the Oracle 12.1.0.2.0 Software [cdrom/cdrom0/database]:
  5. Enter the destinations for the Oracle software.

    Typically, the defaults are acceptable.

    Please enter the install location of the Oracle Base [/appl/oracle]:
    
    Please enter the value of ORACLE_HOME [/appl/oracle/product/12.1.0.2.0/db_1]:
    
    The directory /appl/oracle/product/12.1.0.2.0/db_1 does not exist and will be created
    Please enter the value of ORACLE_HOME_NAME [OraDBHome12C]:
    When the Oracle Software installation is finished, the installation continues on to run the Oracle root.sh script.
  6. You do not require any patches with Oracle 12.1.0.2.0. At the prompt, enter none:
    Please enter the location of the Oracle 12.1.0.2.0 compressed OPatch patch zip
    ('none' for none) [/cdrom/cdrom0/patches/opatch]:
    none
    No OPatch patch available to be installed
    Please enter the location of the Oracle PSU 12.1.0.x.x uncompressed patches
    ('none' for none) [/cdrom/cdrom0/patches/psu]:
    none
    No PSU patches to be installed
  7. At the prompt for the location of the Oracle one-off patches, enter none. Currently, there are no one-off patches for Tivoli® Netcool® Performance Manager, Version 1.4.4 and Oracle 12c.
    Please enter the location of the Oracle 12.1.0.2.0 uncompressed one-off patches
    ('none' for none) [/cdrom/cdrom0/patches/oneoff]:
    none
    No one-off patches to be installed

What to do next

See the Oracle Installation log output in /var/install/logs/oracle12C_install_<PID>.log.