Install Oracle 10g on RedHat Linux
Step by step Install oracle on linux RedHat :
———————————————————
Create the oracle user and main directory for oracle binary as folowing:
groupadd oinstall
groupadd dba
useradd -m -g oinstall -G dba oracle
mkdir -p /home/oracle/app/oracle
chown -R oracle:dba /home/oracle/app/oracle
chmod -R 775 /home/oracle/app/oracle
Modify the folowing OS kernel parameter :
——————————————————
cat >> /etc/sysctl.conf <<EOF
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
EOF
/sbin/sysctl -p
cat >> /etc/security/limits.conf <<EOF
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
EOF
cat >> /etc/pam.d/login <<EOF
session required /lib/security/pam_limits.so
EOF
cat >> /etc/profile <<EOF
if [ \$USER = "oracle" ]; then
if [ \$SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
umask 022
fi
EOF
cat >> /etc/csh.login <<EOF
if ( \$USER == “oracle” ) then
limit maxproc 16384
limit descriptors 65536
umask 022
endif
EOF
Exec the runInstaller.sh to install the oracle software .
Recent Comments