Sunday, April 19, 2015

https://localhost:5500/em

Learn ow to install the latest release for oracle database i.e 12C. watch the step by step installation in the above video.

Click the below link for all the commands and steps

https://www.youtube.com/watch?v=8gQvNFqUQTU&index=3&list=PLm4UP1UrqHdnYDBHz0JSNrm6FdHZv-Lqi
http://www.technologylair.org/2014/06...

Step 1 - Edit Host Files - /etc/hosts

127.0.0.1 localhost.localdomain localhost
192.168.0.210 oracle_12C.localdomain oracle_12C


Step 2 - Edit Kernel Parameters /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

sysctl -p - apply changes 


Step 3 - Edit Limits file - /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


Step 4 - Install dependencies 


*yum install binutils -y
*yum install compat-libcap1 -y
*yum install compat-libstdc++-33 -y
yum install compat-libstdc++-33.i686 -y
*yum install gcc -y
yum install gcc-c++ -y
*yum install glibc -y
*yum install glibc.i686 -y
*yum install glibc-devel -y
yum install glibc-devel.i686 -y
yum install ksh -y
yum install libgcc -y
yum install libgcc.i686 -y
yum install libstdc++ -y
yum install libstdc++.i686 -y
yum install libstdc++-devel -y
yum install libstdc++-devel.i686 -y
yum install libaio -y
yum install libaio.i686 -y
yum install libaio-devel -y
yum install libaio-devel.i686 -y
yum install libXext -y
yum install libXext.i686 -y
*yum install libXtst -y
yum install libXtst.i686 -y
*yum install libX11 -y
*yum install libX11.i686 -y
*yum install libXau -y
*yum install libXau.i686 -y
*yum install libxcb -y
*yum install libxcb.i686 -y
*yum install libXi -y
*yum install libXi.i686 -y
*yum install make -y
*yum install sysstat -y
yum install unixODBC -y
yum install unixODBC-devel -y


Step 5 - Add Groups and Users 

groupadd -g 54321 oinstall
groupadd -g 54322 dba
groupadd -g 54323 oper

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

Step 6 - /etc/security/limits.d/90-nproc.conf

# Change this
* soft nproc 1024

# To this
* - nproc 16384

Step 7 - Set SELINUX

SELINUX=permissive

run the command after edit set enforce Permissive


Step 8 - Stop Firewall 

# service iptables stop
# chkconfig iptables off


Step 9 - Create directories for oracle Installation 

mkdir -p /oracle/product/12.1.0/db_1
chown -R oracle:oinstall /oracle
chmod -R 775 /oracle


Step 10 - xhost +

Step 11 - Edit bash profile for oracle user /home/oracle/.bash_profile

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.