How to install Oracle Client step by step

Hi friends, in this article we are going to learn how to install oracle client on Linux environment step by step.

Software used in this article

  • VMWare 11
  • Redhat Linux 6
  • Oracle 11G
  • Oracle 11G Client

Download Oracle 11g Client software Click here

Unzip the Client Software

Using the below command unzip the oracle client software which is we downloaded from oracle site.

#mkdir /u01
#unzip -d/u01

Note: Your database server machine and client machine must be ping with each other.

In the Hosts file you have to fully specify your hostname and your machine IP address.

#vi /etc/hosts       (hit enter then press i for insert mode then edit it)

For Example, my hostname is and IP address is so my entry like below.

<ip address >  <full name of machine >   <short name of your machine>   ocp

Setup Kernel Parameters

Edit “/etc/sysctl.conf” file and add below parameter in end of this file.

#vi /etc/sysctl.conf

fs.aio-max-nr = 1048576
 fs.file-max = 6815744
 kernel.shmall = 2097152
 kernel.shmmax = 536870912
 kernel.shmmni = 4096
 # semaphores: semmsl, semmns, semopm, semmni
 kernel.sem = 250 32000 100 128
 net.ipv4.ip_local_port_range = 9000 65500

After that run below command for applying changes of sysctl file.

#/sbin/sysctl -p

Now install the required packages for configuring Oracle Client for installing these rmps using YUM server. If you want to know how to configure yum server Click Here.

Now Add one user for using oracle client and grant some privileges to this user.

groupadd -g 54321 oinstall
useradd -g oinstall oracle
passwd oracle

chown -R oracle:oinstall /u01 
chmod -R 775 /u01

Now set selinux=permissive and make firewall disabled

#vi /etc/selinux/config

Now connect with oracle user then open .bash_profile and add following lines in end of file.

$vi .bash_profile

ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/client_1; export ORACLE_HOME

Now reboot your pc and login with Oracle user then follow below steps.

$cd /u01/client


Share this