CONFIGURE AND INSTALLATION OF ORACLE 12C IN OEL 7.0

 Configure and Installation of Oracle 12c in OEL 7.0

===================================================

Installation of OEL 7.0

--------------------

Network :- Choose Nat

#dhclient -v (for binding the ip)

#vi /etc/hosts (modify and add the last line as the machine ip)


127.0.0.1       localhost localhost.localdomain localhost4 localhost4.localdomain4

192.168.0.215   ol7.localdomain  ol7

#ping 192.168.0.215

#ping ol7

#ping ol7.localdomain

#ping google.com

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

#yum update -y

#vi /etc/sysctl.conf


fs.file-max = 6815744

kernel.sem = 250 32000 100 128

kernel.shmmni = 4096

kernel.shmall = 1073741824

kernel.shmmax = 4398046511104

kernel.panic_on_oops = 1

net.core.rmem_default = 262144

net.core.rmem_max = 4194304

net.core.wmem_default = 262144

net.core.wmem_max = 1048576

net.ipv4.conf.all.rp_filter = 2

net.ipv4.conf.default.rp_filter = 2

fs.aio-max-nr = 1048576

net.ipv4.ip_local_port_range = 9000 65500

:wq

#/sbin/sysctl -p

#/sbin/sysctl -a

Create the new groups and users.


#groupadd -g 54321 oinstall

#groupadd -g 54322 dba

#groupadd -g 54323 oper

#groupadd -g 54324 backupdba

#groupadd -g 54325 dgdba

#groupadd -g 54326 kmdba

#groupadd -g 54327 asmdba

#groupadd -g 54328 asmoper

#groupadd -g 54329 asmadmin


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

#vi /etc/selinux/config


(change to permissive)

SELINUX=permissive

:wq

#setenforce permissive


#system stop firewalld

#system disable firewalld


#mkdir -p /u01/app/oracle/product/12.1.0.2/db_1

#chown -R oracle:oinstall /u01

#chmod -R 775 /u01


#xhost +


Configure the bash profile


#vi .bash_profile

(go to the last and add those lines)


export TMP=/tmp

export TMPDIR=$TMP

export ORACLE_HOSTNAME=ol7.localdomain

export ORACLE_BASE=/u01/app/oracle

export ORACLE_HOME=$ORACLE_BASE/production/12.1.0.2/db_1

export PATH=/usr/sbin:$PATH

export PATH=$ORACLE_HOME/bin:$PATH

export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib

export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib

:wq

#xhost +

#su - oracle

$DISPLAY=192.168.0.215:0.0;export DISPLAY

$export DISPLAY=:0.0

$xclock

$cd /install/database

$./runInstaller 


Congrats...................


No comments:

Post a Comment