Today I needed to install the Oracle Client 10g on a Red Hat Enterprise Linux 5 32bit: all around the net you can find many useful tutorial on how to install the Oracle DB Server but I cannot find how to install only the client. As you may guess the client installation is easier than the Oracle DB Server one.
On the linux machine, as root, you have to run the following commands:
//create user and groups
# groupadd oinstall
# groupadd dba
# useradd -g oinstall -G dba oracle
# passwd oracle
//prepare the filesystem
# mkdir /opt/oracle
# chown -R oracle:oinstall /opt/oracle
//install some needed packages
# yum install libXp gcc make setarch libaio glibc-devel
//change /etc/redhat-release as RHEL5 is not a supported platform
# cp /etc/redhat-release /etc/redhat-release.5
# echo redhat-4 > /etc/redhat-release
OK… as root we have now finished!
Now log in with the oracle user and download the Oracle Client 10g from Oracle website: once there get the file called 10201_client_linux32.zip. Unzip and run the client:
# unzip 10201_client_linux32.zip
# cd client
# ./runInstaller
I pointed the oraInventory directory to /opt/oracle in the first screen; in the second one I choose to install the Oracle 10g Client in /opt/oracle/product/10.2.0/client_1/. Just before the installation finishes it prompts to you to execute two more commands as root: in my own installation I run
//execute the following commands as root
# /opt/oracle/orainstRoot.sh
# /opt/oracle/product/10.2.0/client_1/root.sh
but, as you may guess, your path may be different from mine.
Now the final step: we have to restore the /etc/redhat-release file we changed before:
# mv /etc/redhat-release.5 /etc/redhat-release
I hope this tutorial can help you… if you find errors please report them to me and I will correct as soon as possible.
Can i access 10g Developer Suite APPS Server in firefox Mozilla running on winxp once installed 10g Client on Linux
Hello apiero !!!
Thank’s for this tutorial. I try this and it’s work. I just can say perfect.
Thanks for posting this, first off…
As for the RHEL 5 not being supported, another way to get around it is to do the following:
Modify client/install/oraparam.ini file and add “redhat-5″ to “Certified Versions” section.
Example:
[Certified Versions]
Linux=redhat-3,SuSE-9,redhat-4,UnitedLinux-1.0,asianux-1,asianux-2,redhat-5
Thanks again!
Awesome….worked for me (in between i got error, but in a different window i logged in as root and ran the 2 scripts and everything was great) I am not dumb anymore.
Very simple & clear cut instructions.. worked like a charm
Thanks a lot. Actually i tried it for 64 bit. It works.
Also include how to set xhost for oracle user. It would be helpful for newbies.
Very handy guide, thanks.
nice job. this work 100%. thank you
All went fine except for installing IBM XL C/C++ Advanced Edition V7.0, when installing this do not make the mistake (like me) to install only 3 packages from this but 4! Thnx for the manual, first sensible thing i found in 2 days.
very nice post. Thanks for posting
i did the installation as directed above and it went fine except last step, it didnt prompt me to execute orainstRoot.sh or any such script. i did a search from root with find / -name orainstRoot.sh but couldnt find anything.
Any help.?
Here it is see for yourself if you need it;
#!/bin/sh
if [ -d "/etc" ]; then
chmod 755 /etc;
fi
if [ -f "/home/oracle/oraInventory/oraInst.loc" ]; then
cp /home/oracle/oraInventory/oraInst.loc /etc/oraInst.loc;
else
INVPTR=/etc/oraInst.loc
INVLOC=/home/oracle/oraInventory
GRP=oinstall
PTRDIR=”`dirname $INVPTR`”;
# Create the software inventory location pointer file
if [ ! -d "$PTRDIR" ]; then
mkdir -p $PTRDIR;
fi
echo “Creating the Oracle inventory pointer file ($INVPTR)”;
echo inventory_loc=$INVLOC > $INVPTR
echo inst_group=$GRP >> $INVPTR
chmod 644 $INVPTR
# Create the inventory directory if it doesn’t exist
if [ ! -d "$INVLOC" ];then
echo “Creating the Oracle inventory directory ($INVLOC)”;
mkdir -p $INVLOC;
fi
fi
echo “Changing permissions of /home/oracle/oraInventory to 770.”;
chmod -R 770 /home/oracle/oraInventory;
if [ $? != 0 ]; then
echo “OUI-35086:WARNING: chmod of /home/oracle/oraInventory to 770 failed!”;
fi
echo “Changing groupname of /home/oracle/oraInventory to oinstall.”;
chgrp oinstall /home/oracle/oraInventory;
if [ $? != 0 ]; then
echo “OUI-10057:WARNING: chgrp of /home/oracle/oraInventory to oinstall failed!”;
fi
echo “The execution of the script is complete”
Change your living room in to a cinema by having a projecter, silver screen along with a complete audio system which has surround sound
I cherished as much as you will obtain carried out right here. The cartoon is attractive, your authored subject matter stylish. nonetheless, you command get got an shakiness over that you would like be turning in the following. sick definitely come further in the past again as exactly the same nearly very continuously inside of case you shield this hike.