Oracle 11g Installations Steps:
Oracle 11g software installation on RHEL 5
Set Kernel Parameters
#
vi /etc/sysctl.conf
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048586
#
sysctl -p
Set User Limits
#
/etc/security/limits.conf
oracle soft nproc
2047
oracle
hard nproc 16384
oracle
soft nofile 1024
oracle
hard nofile 65536
#
vi /etc/pam.d/login
session
required pam_limits.so
# /etc/selinux/config
SELINUX=disabled
Install OS Packages
#
rpm -Uvh binutils-2.*
#
rpm -Uvh compat-libstdc++-33*
#
rpm -Uvh compat-libstdc++-33*.i386.rpm
#
rpm -Uvh elfutils-libelf*
#
rpm -Uvh gcc-4.*
#
rpm -Uvh gcc-c++-4.*
#
rpm -Uvh glibc-2.*
#
rpm -Uvh glibc-common-2.*
#
rpm -Uvh glibc-devel-2.*
#
rpm -Uvh glibc-headers-2.*
#
rpm -Uvh ksh*
#
rpm -Uvh libaio-0.*
#
rpm -Uvh libaio-devel-0.*
#
rpm -Uvh libgomp-4.*
#
rpm -Uvh libgcc-4.*
#
rpm -Uvh libstdc++-4.*
#
rpm -Uvh libstdc++-devel-4.*
#
rpm -Uvh make-3.*
#
rpm -Uvh sysstat-7.*
#
rpm -Uvh unixODBC-2.*
#
rpm -Uvh unixODBC-devel-2.*
#
groupadd oinstall
#
mkdir -p /u01/app/oracle/product/11.2.0/db_1
#
chown -R oracle:oinstall /u01
#
chmod -R 775 /u01
#
su - oracle
$
vi .bash_profile
export ORACLE_UNQNAME=DB11G
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1
export ORACLE_SID=DB11G;
export PATH=/usr/sbin:$PATH:$HOME/bin
export PATH=$ORACLE_HOME/bin:$PATH
export
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
export CLASSPATH= $ORACLE_HOME/JRE:
$ORACLE_HOME/jlib
:ORACLE_HOME/rdbms/jlib
$
exit
#
mkdir /software/11gDatabase
Insert Oracle 11g Software Disk1
#
mount /dev/cdrom /mnt
#
cp -r *
/software/11gDatabase
#
cd /
#
eject
Insert Oracle 11g Software Disk2
#
mount /dev/cdrom /mnt
#
cp -r *
/software/11gDatabase
#
cd /
#
eject
#
unzip linux.x64_11gR2_database_1of2.zip
#
unzip linux.x64_11gR2_database_2of2.zip
#
chown -R oracle:oinstall /software
#
chmod -R 755 /software
#
init 6
Login as Oracle user
$
cp /software/11gDatabase/Disk1
$
./runInstaller
1.
Configure Security Updates à Click “Next”
3.
System Class – Choose “Server Class”
then click “Next”
5.
Select Install Type – Choose “Typical
install” then click “Next”
6.
Typical install configuration – Click “Next”
11.
Database configuration Assistant – click “Ok”
No comments:
Post a Comment