Monday, April 30, 2012

oracle 11r1 & r2 centos install notes

i don't like reading long docs. just distill it down you say? okay.
echo redhat-4 >> /etc/redhat-release

in /etc/security/limits.conf

 # settings for oracle
 *               soft    nproc   2047
 *               hard    nproc   16384
 *               soft    nofile  1024
 *               hard    nofile  65536

in /etc/sysctl.conf

 kernel.shmmni = 4096

/sbin/sysctl -p

groupadd oinstall ; groupadd dba ; groupadd oper ; groupadd oracle 
useradd -g oinstall -G oracle -d /opt/oracle oracle
passwd oracle

install as user oracle...

11r1 & r2 install add'l packages

setarch
make
glibc
libaio
compat-libstdc++
gcc
libXp
openmotif
compat-db

11r2 yum install add'l packages:

elfutils-libelf-devel
gcc-c++
libaio-devel
libstdc++-devel
sysstat
unixODBC-2.2.11
unixODBC-devel-2.2.11
pdksh

No comments: