Oracle Database 12c Release 2 Installation Guide

This document provides a step-by-step installation guide for Oracle Database 12c Release 2 (12.2.0.1) binaries and database creation using the Oracle Universal Installer (OUI).


1. Pre-Requisites

Before starting installation: - Ensure Linux server has required kernel parameters and packages installed. - Create directories for Oracle Base and Oracle Home.

[root@localhost ~]# mkdir -p /u02/app/oracle/product/12/db
[root@localhost ~]# chown -R oracle:oinstall /u02

2. Extract Oracle 12c Binaries

Place the downloaded Oracle software under /media/sf_Software/ and extract it:

[root@localhost ~]# cd /media/sf_Software/
[root@localhost sf_Software]# ls
Oracle_DB_12c_Release2.zip
[root@localhost sf_Software]# unzip Oracle_DB_12c_Release2.zip -d /u02/app/oracle/product/12/db

Output:

   creating: /u02/app/oracle/product/12/db/database/
   inflating: /u02/app/oracle/product/12/db/database/runInstaller

3. Start Oracle Universal Installer (OUI)

Switch to the Oracle user and launch the installer:

[oracle@localhost /]$ cd /u02/app/oracle/product/12/db/database/
[oracle@localhost database]$ ./runInstaller

Output:

Checking Temp space: must be greater than 500 MB.   Actual 7299 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 8061 MB    Passed
Preparing to launch Oracle Universal Installer...

4. Installation GUI Steps

Step 1: Configure Security Updates

Uncheck I wish to receive security updates via My Oracle Support.
Step 1

If skipped, confirm:
Step 1 warning


Step 2: Installation Option

Select Create and configure a database.
Step 2


Step 3: System Class

Choose Server Class.
Step 3


Step 4: Database Installation Option

Choose Single instance database installation.
Step 4


Step 5: Install Type

Select Advanced Install.
Step 5


Step 6: Database Edition

Choose Enterprise Edition (7.5GB).
Step 6


Step 7: Installation Location

Specify Oracle base and software location:\

Step 7


Step 8: Configuration Type

Select General Purpose / Transaction Processing.
Step 8


Step 9: Database Identifiers

Enter the following: - Global Database Name: prod - Oracle SID: prod

Step 9


Step 10: Database Storage Options

Choose File System and specify location /u02/app/oracle/oradata.
Step 10


Step 11: Management Options

Skip EM Cloud Control registration.
Step 11


Step 12: Recovery Options

Enable recovery and set FRA location /u02/app/oracle/recovery_area.
Step 12


Step 13: Schema Passwords

Set password for SYS, SYSTEM, etc.
If weak password, warning appears:
Step 13


Step 14: Install Product

Installer begins installation of Oracle binaries and DB.
Step 14


5. Summary

At the end of the wizard, the installer will: - Install Oracle 12c binaries under /u02/app/oracle/product/12/db - Create a database instance named prod - Configure the Oracle Listener and data directories.

You can monitor installation logs at:

/u01/app/oraInventory/logs/installActions*.log

6. Verification

Check installed version:

[oracle@localhost ~]$ sqlplus / as sysdba

SQL> SELECT * FROM v$version;

Expected Output:

Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production

Installation Completed Successfully