ORACLE 10G MANUAL INSTALATION IN RHEL5
* Normal Installation with your rhel5 dvd Partition:
Partition SIZE
/ 10 GB
/boot 100 MB
swap 2GB
/oracle 20GB
/var 20GB
* Selecting packages:
Do not select any packages.
Complete the general installation
* Check whether the packages listed below is installed:
# yum list
elinks
openssh
openssh-server
openssh-clients
vim-enhanced
samba-common
samba-client
gimp
gimp-data-extras
enscript
libcap
ntp
coreutils
elfutils
elfutils-libelf
gimp-print-plugin
gnome-icon-theme
gstreamer
gstreamer-tools
libgnomeprint22
libgnomeprintui22
libgsf
libIDL
libraw1394
nautilus-cd-burner
openmotif
pyorbit
startup-notification
ttmkfdir
firefox
mutt
libXp
compat-libstdc++-33
* Install the missing packages:
# yum install packagename
* Kernel parameter settings:
(copy and paste the below comming lines in a terminal)
perl -pi -e ‘s/^kernel\.shmmax.*/kernel\.shmmax = 2147483648/’ /etc/sysctl.conf
cat >> /etc/sysctl.conf <<END
kernel.shmall = 268435456
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 262144
net.core.wmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_max = 262144
END
1. Reboot
2. Login as root
3. Cmd # sysctl –p
* User Creation Details:
groupadd dba
useradd -g dba oracle
echo oracle | passwd –stdin oracle
* Default DataBase Path Details:
echo ‘export ORACLE_BASE=/oracle’ >> /home/oracle/.bashrc
echo ‘export ORACLE_HOME=/oracle/ora10g’ >> /home/oracle/.bashrc
echo ‘export PATH=/usr/bin:/bin:/usr/local/bin:/usr/bin/X11:/usr/bin/X11R6:$ORACLE_HOME/bin’ >> /home/oracle/.bashrc
echo ‘export PATH’ >> /home/oracle/.bashrc
echo ‘LANG=en_US’ >> /home/oracle/.bashrc
echo ‘export LANG’ >> /home/oracle/.bashrc
echo ‘LD_LIBRARY_PATH=/usr/lib:/usr/X11R6/lib’ >> /home/oracle/.bashrc
echo ‘LD_LIBRARY_PATH=$ORACLE_HOME/jdk/jre/lib/i386:$ORACLE_HOME/jdk/jre/lib/i386/server:$ORACLE_HOME/rdbms/lib:$ORACLE_HOME/lib:$LD_LIBRARY_PATH’ >> /home/oracle/.bashrc
echo ‘export LD_LIBRARY_PATH’ >> /home/oracle/.bashrc
echo redhat-4 > /etc/redhat-release
* Directory Permission Details:
mkdir /oracle/ora10g
chown -R oracle.dba /oracle
chmod -R 775 /oracle
* Patch File Details
rpm -ivh –replacepkgs jdk-1_5_0_06-linux-i586.rpm
rpm -iv –force –nodeps gnome-libs-1.4.2-5.el5.kb.i386.rpm
* Installation Details
1. Reboot the system
2. Login as oracle user
3. ./runinstaller
*****************************END****************************