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).
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
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
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...
Uncheck I wish to receive security updates via My Oracle Support.

If skipped, confirm:

Select Create and configure a database.

Choose Server Class.

Choose Single instance database installation.

Select Advanced Install.

Choose Enterprise Edition (7.5GB).

Specify Oracle base and software location:\
/u02/app/oracle - Software Location:
/u02/app/oracle/product/12/db
Select General Purpose / Transaction Processing.

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

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

Skip EM Cloud Control registration.

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

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

Installer begins installation of Oracle binaries and DB.

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
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