Install Oracle RDBMS 12.1.0.2.4 Without Grid Infrastructure

Overview

This procedure installs Oracle RDBMS 12.1.0.2 onto an OEL6u5 stand-alone system, and patched to 12.1.0.2.4.

References

Procedure

Installing the Oracle Preinstallation RPM

Following the advice in Automatically Configuring Oracle Linux with Oracle Preinstallation RPM, there is no need to set up access to YUM repository as this was done through OEL6u5 installation.

Run the following command as root:

yum install oracle-rdbms-server-12cR1-preinstall

Set Up ORACLE User

Run the following commands as root:

# Enable wheel group access to sudo
visudo
# change password
passwd oracle
# put oracle into wheel group for sudo access
usermod -G oinstall,dba,wheel -g oinstall oracle

Set Up Software Directories

Run the following commands as root:

# Create oracle base and software directory
mkdir -p /opt/app/oracle/software
# Make oracle user the owner of /opt/app and all existing sub-directories
chown -R oracle:oinstall /opt/app

Transfer Files

The following files are transferred to /opt/app/oracle/software:

linuxamd64_12102_database_1of2.zip
linuxamd64_12102_database_2of2.zip
p20831110_121020_Linux-x86-64.zip
p6880880_121010_Linux-x86-64.zip

Unzip the Files

As the oracle user, run the following commands:

cd /opt/app/oracle/software
unzip -qo linuxamd64_12102_database_1of2.zip
unzip -qo linuxamd64_12102_database_2of2.zip

Install Oracle Software

The procedure is in 7 Installing Oracle Database.

As the oracle user, run the following commands:

cd /opt/app/oracle/software/database
./runInstaller

Only the software is installed.

Patch to 12.1.0.2.4

Followed the advice in 8 Oracle Database Postinstallation Tasks, and patched the Oracle Home to 12.1.0.2.4 (which is the latest PSU at the time of writing).

Updated OPatch as follows:

cd /opt/app/oracle/software
unzip -qo p6880880_121010_Linux-x86-64.zip -d /opt/app/oracle/product/12.1.0/dbhome_1

Apply the patch as follows:

cd /opt/app/oracle/software
unzip -qo p20831110_121020_Linux-x86-64.zip -d .
export PATH=/opt/app/oracle/product/12.1.0/dbhome_1/OPatch:${PATH}
cd 20831110/
opatch apply