Oracle 12c installation on Oracle Linux release-5 (64-bit)

Here we are installing Oracle 12c Release-1 (12.1)(64-bit) on Oracle Linux release-5 (64-bit)

Minimum swap size 2GB.
IP Tables off.
SELinux set to be permissive.

// Ensure swap size by issuing following command, if swap size do not meet minimum requirement then increase it.
[root@oracle5 ~]# free -m
total used free shared buffers cached
Mem: 664 461 202 0 100 202
-/+ buffers/cache: 157 506
Swap: 2079 0 2079

 

// uname -a:
[root@oracle5 ~]# uname -a
Linux oracle5 2.6.18-194.el5xen #1 SMP Mon Mar 29 22:22:00 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

 

// Redhat release:
[root@oracle5 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.5 (Tikanga)

 

// Update host file “/etc/hosts” with fully qualified name like below:
Syntax:
<IP-address> <fully-qualified-machine-name> <machine-name>
Ex:
115.xxx.xxx.xxx oracle5.localdomain oracle5

Note:
In my case “oracle5.localdomain” is fully qualified name with machine name.

 

// Append following lines to the “/etc/sysctl.conf” file:
fs.file-max = 6815744
kernel.sem = 250 32000 100 128
kernel.shmmni = 4096
kernel.shmall = 1073741824
kernel.shmmax = 4398046511104
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
fs.aio-max-nr = 1048576
net.ipv4.ip_local_port_range = 9000 65500

 

// To make above changes persistent, issue the following command:
[root@oracle5 ~]# /sbin/sysctl -p

 

// Append following lines to the “/etc/security/limits.conf” file:
oracle soft nofile 1024
oracle hard nofile 65536
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft stack 10240
oracle hard stack 32768

 

// Install following packages by yum installer:
yum install binutils compat-libstdc++-33 compat-libstdc++-33.i386 gcc gcc-c++ glibc glibc.i686 glibc-devel glibc-devel.i386 ksh libaio libaio.i386 libaio-devel libaio-devel.i386 libgcc libgcc.i686 libstdc++ libstdc++.i386 libstdc++-devel libstdc++-devel.i386 libXext libXext.i386 libXtst libXtst.i386 libX11 libX11.i386 libXau libXau.i386 libXi libXi.i386 make sysstat unixODBC unixODBC-devel -y

 

// Create groups and add users like below:
groupadd -g 54321 oinstall
groupadd -g 54322 dba
groupadd -g 54323 oper

useradd -u 54321 -g oinstall -G dba,oper oracle

 

// Set the password for Oracle user:
[root@oracle5 ~]# passwd oracle

 

// Modify SELINUX flat in “/etc/selinux/config” file as below:
SELINUX=permissive

 

// Restart server and issue following command to make above changes persistent:
[root@oracle5 ~]# setenforce Permissive

 

// Disable IP tables:
[root@oracle5 ~]# service iptables stop
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: filter [ OK ]
Unloading iptables modules: [ OK ]

 

// To make above changes persistent, issue the following command:
[root@oracle5 ~]# chkconfig iptables off

 

// Create directory like below for oracle software installation:
[root@oracle5 ~]# mkdir -p /u01/app/oracle/product/12.1.0/db_1
[root@oracle5 ~]# chown -R oracle:oinstall /u01
[root@oracle5 ~]# chmod -R 775 /u01

 

// Configure VNC-Server to get GUI prompt. 

// Click here to download Oracle 12c R1 Software.

// Unzip it.

 

// On GUI, open the terminal prompt as a root user & issue the following command:

xhost +
su – oracle

// Run universal installer and follow the steps below:
./runIstaller

 

Oracle 12c installation on Oracle Linux release 6

Oracle 12c installation on Oracle Linux release 5

 

Oracle 12c installation on Oracle Linux release 6 - Configure Security Updates

Oracle 12c installation on Oracle Linux release 5 – Configure Security Updates

 

Oracle 12c installation on Oracle Linux release 6 - Email Address Not Specified

Oracle 12c installation on Oracle Linux release 5 – Email Address Not Specified

 

Oracle 12c installation on Oracle Linux release 6 - Download Software Updates

Oracle 12c installation on Oracle Linux release 5 – Download Software Updates

 

Oracle 12c installation on Oracle Linux release 6 - Select Installation Option

Oracle 12c installation on Oracle Linux release 5 – Select Installation Option

 

Oracle 12c installation on Oracle Linux release 6 - Select Installation Option

Oracle 12c installation on Oracle Linux release 5 – Select Installation Option

 

Oracle 12c installation on Oracle Linux release 6 - System Class

Oracle 12c installation on Oracle Linux release 5 – System Class

 

Oracle 12c installation on Oracle Linux release 6 - Grid Installation Option

Oracle 12c installation on Oracle Linux release 5 – Grid Installation Option

 

Oracle 12c installation on Oracle Linux release 6 - Select Install Type

Oracle 12c installation on Oracle Linux release 5 – Select Install Type

 

Oracle 12c installation on Oracle Linux release 6 - Typical Install Configuration

Oracle 12c installation on Oracle Linux release 5 – Typical Install Configuration

 

Oracle 12c installation on Oracle Linux release 6

Oracle 12c installation on Oracle Linux release 5

Note: Provide password according to oracle standard.

 

Oracle 12c installation on Oracle Linux release 6 - Create Inventory

Oracle 12c installation on Oracle Linux release 5 – Create Inventory

 

Oracle 12c installation on Oracle Linux release 6 - Create Inventory - Performed Prerequisite Check

Oracle 12c installation on Oracle Linux release 5 – Create Inventory – Performed Prerequisite Check

Note: Change kernel parameter according to requirement & provide sufficient memory to continue installation.

 

Oracle 12c installation on Oracle Linux release 6 - summary

Oracle 12c installation on Oracle Linux release 5 – summary

 

Oracle 12c installation on Oracle Linux release 6 - Install Product

Oracle 12c installation on Oracle Linux release 5 – Install Product

 

Oracle 12c installation on Oracle Linux release 6 - Install Product

Oracle 12c installation on Oracle Linux release 5 – Install Product

 

Oracle 12c installation on Oracle Linux release 6 - Execute Configuration Scripts

Oracle 12c installation on Oracle Linux release 5 – Execute Configuration Scripts

// Logged in as a root and run above provided scripts & click Ok button.

 

Oracle 12c installation on Oracle Linux release 6 - Database Configuration Assistant

Oracle 12c installation on Oracle Linux release 5 – Database Configuration Assistant

 

Oracle 12c installation on Oracle Linux release 6 - Finish

Oracle 12c installation on Oracle Linux release 5 – Finish

 

// Installation of Oracle 12c on oracle linux 5 has been successful.

// If you wish to start your databases on every reboot then make following changes in “/etc/oratab” file for all databases.

orcl:/u01/app/oracle/product/12.1.0/dbhome_1:Y

 

// By above steps you can install Oracle 12.1c on OEL-5.

***********************************************************************

Note: Please don’t hesitate to revert in case of any query OR feedback.

Thanking you.

Have a easy life ahead.

Leave a Reply

%d bloggers like this: