Saturday, July 6, 2013

Oracle 12c Database Installation on Oracle Linux x86-64


 Install 64bit OS:

Download and Install Oracle Linux 64bit on Virtual Box.
Download OTN: Oracle Database 12c Release 1 (12.1.0.1) Software (64-bit).



Require RPMs

rpm -Uvh zlib-devel-1.2.3-25.el6.x86_64.rpm
rpm -Uvh binutils*
rpm -Uvh compat-libcap1-1.10-1.x86_64.rpm
rpm -Uvh compat-libstdc++-33-3.2.3-69.el6.x86_64.rpm
rpm -Uvh kernel-headers-2.6.32-71.el6.x86_64.rpm
rpm -Uvh glibc-headers-2.12-1.7.el6.x86_64.rpm
rpm -Uvh glibc-devel-2.12-1.7.el6.x86_64.rpm
rpm -Uvh unixODBC-2.2.14-11.el6.x86_64.rpm
rpm -Uvh unixODBC-devel-2.2.14-11.el6.x86_64.rpm
rpm -Uvh libaio-devel-0.3.107-10.el6.x86_64.rpm
rpm -Uvh libaio-0.3.107-10.el6.i686.rpm
rpm -Uvh libaio-devel-0.3.107-10.el6.i686.rpm
rpm -Uvh libaio-0.3.107-10.el6.x86_64.rpm
rpm -Uvh ksh-20100621-2.el6.x86_64.rpm
rpm -Uvh ppl-0.10.2-11.el6.x86_64.rpm
rpm -Uvh cloog-ppl-0.15.7-1.2.el6.x86_64.rpm
rpm -Uvh mpfr-2.4.1-6.el6.x86_64.rpm
rpm -Uvh cpp-4.4.4-13.el6.x86_64.rpm
rpm -Uvh gcc-4.4.4-13.el6.x86_64.rpm
rpm -Uvh gcc-c++-4.4.4-13.el6.x86_64.rpm


 
Kernel Parameters :

Add below parameters on /etc/sysctl.conf

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


Add below entries on /etc/security/limits.conf

oracle   soft   nofile    1024
oracle   hard   nofile    65536
oracle   soft   nproc    2047
oracle   hard   nproc    16384
oracle   soft   stack    10240
oracle   hard   stack    32768


Create group and user:

groupadd -g 54321 oinstall
groupadd -g 54322 dba
groupadd -g 54323 oper
useradd -g oinstall -G dba,oper oracle


Invoke runinstaller

./runInstaller

 





SQL> select BANNER from v$version;
BANNER
--------------------------------------------------------------------------------
Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production
PL/SQL Release 12.1.0.1.0 - Production
CORE    12.1.0.1.0      Production
TNS for Linux: Version 12.1.0.1.0 - Production
NLSRTL Version 12.1.0.1.0 - Production