This procedure installs Oracle RDBMS 12.1.0.2 onto an OEL6u5 stand-alone system, and patched to 12.1.0.2.4.
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-preinstallRun the following commands as root:
# Enable wheel group access to sudovisudo# change passwordpasswd oracle# put oracle into wheel group for sudo accessusermod -G oinstall,dba,wheel -g oinstall oracleRun the following commands as root:
# Create oracle base and software directorymkdir -p /opt/app/oracle/software# Make oracle user the owner of /opt/app and all existing sub-directorieschown -R oracle:oinstall /opt/appThe following files are transferred to /opt/app/oracle/software:
linuxamd64_12102_database_1of2.ziplinuxamd64_12102_database_2of2.zipp20831110_121020_Linux-x86-64.zipp6880880_121010_Linux-x86-64.zipAs the oracle user, run the following commands:
cd /opt/app/oracle/softwareunzip -qo linuxamd64_12102_database_1of2.zipunzip -qo linuxamd64_12102_database_2of2.zipThe procedure is in 7 Installing Oracle Database.
As the oracle user, run the following commands:
cd /opt/app/oracle/software/database./runInstallerOnly the software is installed.
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/softwareunzip -qo p6880880_121010_Linux-x86-64.zip -d /opt/app/oracle/product/12.1.0/dbhome_1Apply the patch as follows:
cd /opt/app/oracle/softwareunzip -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