Thursday 30 May 2013

Oracle 10g installation on rhel5

PRE INSTALLATION STEPS
  

Connecting through Xmanager ;

DISPLAY=IP Adress(Your desktop):0.0; export DISPLAY


Checking below RPMs:

rpm -q compat-db.x86_64 compat-libstdc++-33.i386 compat-libstdc++-33.x86_64 cpp.x86_64 elfutils-libelf.i386 elfutils-libelf.x86_64 gcc-c++.x86_64 gcc.x86_64  glibc-devel.i386 glibc-devel.x86_64  glibc-headers.x86_64 glibc.i686 glibc.x86_64 ksh.x86_64 libaio-devel.i386 libaio-devel.x86_64 libaio.i386 libaio.i386 libaio.x86_64 libaio.x86_64 libstdc++.i386 libstdc++.x86_64 make.x86_64 setarch.x86_64 sysstat.x86_64  

libXp-1.0.0-8.i386.rpm


Creating OS User :

root:home/oracle]groupadd  dba
root:home/oracle]useradd -g dba oracle


1) create group and user in root

2)set the following kernel parameters in /etc/sysctl.conf

kernel.shmall = 4294967296
kernel.shmall = 2097152
kernel.shmmax = 2147483648
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.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
net.core.wmem_max = 262144
3)execute sysctl -p to check kernel parameter

4)add following line in /etc/pam.d/login
session    required     /lib/security/pam_limits.so



5) add the following lines in /lib/security/pam_limits.so
oracle           soft    nproc            2047
oracle           hard    nproc            16384
oracle           soft    nofile           1024
oracle           hard    nofile           65536

INSTALLATION STEP


Create directories where the Oracle Software and database will be installed.
mkdir -p /ortldbbin/oracle/product/10.2.0/db_1
chown -R oracle:oinstall /ortldbbin/
chmod -R 775 /u01


6)RUN IN USER

./media/cdrecorder/home/oracle/Desktop/database/runInstaller

POST INSTALLATION STEPS

7)RUN ./home/oracle/orainventory /orainstRoot.sh
8)RUN ./home/oracle/oracle/product/10.2.0/db_1/root.sh

9)setting oracle environment save the following
GO TO THE FOLLOWING DIRECTORY
/home/oracle/
RUN
vi .bash_profile

ADD SCRIPT
export ORACLE_BASE=/home/oracle
export ORACLE_HOME=/home/oracle/product/10.2.0/db_1
export PATH=$ORACLE_HOME/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export ORACLE_SID=ORCL


Any clarification :


Thanks & Regards,

Suresh R
oracle dba.


No comments:

Post a Comment