Flowers To India

Flowers To India
Send cakes,flowers to India

Saturday, January 19, 2008

instalation oracle 9i on RHEL3.0

required Redhat packages compat-db,copat-gcc,compat-gcc-c++,compat-libstdc++,openmotif,setarch
those packges are available in redhat os cds
install that packages
[ root@host packlocation] # rpm -ivh compat-db* --aid --force
means rpm -ivh --aid --force
install all packages by using above command

check package is installed or not
[ root@host packlocation] # rpm -qa comepat-db*
means rpm -qa (packname>


after run this commands

[root@host root]#mv -i /usr/bin/gcc /usr/bin/gcc323
[root@host root]#mv -i /usr/bin/g++ /usr/bin/gcc
[root@host root]#ln -s /usr/bin/g++296 /usr/bin/g++

required patch 3006854
down load that pach from metalink and unzip that and applay that patch
note-: after apply the patch restart the system

add group

[root@host root]#groupadd dba
add the user with home directory /oracle and group dba

[root@host root]#useradd -d /oracle/satish -g dba satish
hear /oracle is local mount point you can give any mount point name

how to check your mount points


[root@host root]#df -h
set password for user

[root@host root]#passwd satish
give new password and retype new password
then password will be set
set ora inst location

[root@host root]#vi /etc/oraInst.loc
inventory_loc=/oracle/satish/oraInventory

save and exit

check graphicaly mod is exist or not
[root@host root]#xclock

go to created user

[root@host root]#su - satish

set the bashrc in satish user

[satish@host satish]$vi .bashrc
#come to last line and writ it
export ORACLE_SID=satish
export ORACLE_BASE=/oracle/satish
export ORACLE_HOME=/oracle/satish/9i
export LD_ASSUME_KERNEL=2.4.19
export PATH=$PATH:/$ORACLE_HOME/bin:.
#save and exit

run the bashrc

[satish@host satish]$ . .bashrc

run the instalation

go to the 9i software path and run

[satish@host Disk1]./runInstaller


after select what ever packeges you need and install

you can download the software from this site

http://www.oracle.com/technology/software/products/oracle9i/index.html

best of luck
--satish

No comments: