Install Oracle 11g R1 on Centos PDF Print E-mail
Friday, 16 October 2009 08:30
yum groupinstall "Legacy Software Development"
yum groupinstall "Legacy Software Support"
yum install compat-db
yum groupinstall "System Tools"
yum install sysstat
yum install libaio-devel*
yum install unixODBC-2* unixODBC-devel-2*
yum install make
yum install gcc
yum install elfutils-libelf-devel
yum install libstdc++-devel
yum install ksh

/etc/hosts
# nggo oracle
192.168.0.60               diagonal.vertical.horizontal diagonal

/etc/sysctl.conf
# Kernel paramaters required by Oracle 11gR1
fs.file-max = 6553600
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 4194304
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 262144
sysctl -p

/etc/security/limits.conf
# nggo oracle
oracle           soft    nproc           2047
oracle           hard    nproc           16384
oracle           soft    nofile          1024
oracle           hard    nofile          65536

/etc/pam.d/login
# nggo oracle
session    required     /lib/security/pam_limits.so
session    required     pam_limits.so

/etc/profile
# nggo oracle
if [ $USER = "oracle" ]; then
   if [ $SHELL = "/bin/ksh" ]; then
      ulimit -p 16384
      ulimit -n 65536
   else
      ulimit -u 16384 -n 65536
   fi
fi 

groupadd oinstall
groupadd dba
groupadd oper
useradd oracle
usermod -g oinstall -G dba,oper,oracle oracle
passwd oracle

/home/oracle/.bash_profile
# nggo oracle
umask 022
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=$ORACLE_BASE/product/11.1.0/db_1
ORACLE_SID=orcl
PATH=$ORACLE_HOME/bin:$PATH
export PATH
export ORACLE_BASE ORACLE_HOME ORACLE_SID 

mkdir -p /u01/app
chown root:oinstall /u01/app

# install oracle
login x windows as oracle
extract master oracle
run ./runInstaller
 

Add your comment

Your name:
Your email:
Your website:
Comment:
  The word for verification. Lowercase letters only with no spaces.
Word verification:

Ads...

z

Ads...

z

Who's Online

We have 1 guest online

Statistics

Members : 14
Content : 74
Web Links : 7
Content View Hits : 53072