Oracle 12c Install on OEL or RHEL


Installing Oracle Database 12c on a Red Hat or Oracle Linux system is a straightforward process that requires careful preparation and attention to detail. In this blog post, we will guide you through the steps to successfully install Oracle Database 12c on your Linux system.

Oracle Installation Prerequisites

Perform either the Automatic Setup or the Manual Setup to complete the basic prerequisites. The Additional Setup is required for all installations.

Automatic Setup

If you plan to use the “oracle-database-server-12cR2-preinstall” package to perform all your prerequisite setup, issue the following command.

It is probably worth doing a full update as well, but this is not strictly speaking necessary.

Additional Setup

The following steps must be performed, whether you did the manual or automatic setup.

Set the password for the “oracle” user.

Set secure Linux to permissive by editing the “/etc/selinux/config” file, making sure the SELINUX flag is set as follows.

Once the change is complete, restart the server or run the following command.

If you have the Linux firewall enabled, you will need to disable or configure it.

Create the directories in which the Oracle software will be installed.

Install 12.2 Database Binaries in silent mode.

Install Oracle 12.2 database software in silent mode (

Please note pre-requisites already been taken care like kernel parameters, add groups, profile and etc

1. Overview

2. Unzip software

3. Backup response file

4. Modify the response file

5. Install oracle software in Silent mode


Installing Oracle Database 12c on Red Hat or Oracle Linux is a crucial step in setting up a reliable and powerful database system. By following the steps outlined in this blog post, you can ensure a successful installation and get your database up and running in no time. Remember to carefully review the prerequisites, perform the necessary post-installation steps, and refer to the official Oracle documentation for any specific requirements or troubleshooting.

Leave a Reply

Your email address will not be published. Required fields are marked *