0% found this document useful (0 votes)
167 views

Installing Oracle 10G Client On Centos 32 Bits

This document provides instructions for installing Oracle 10g Client on Centos 32 bit. It describes downloading the installation file, checking software requirements, configuring the kernel, shell limits, and user limits. It also covers creating the Oracle software directories, extracting and running the installer, and updating the bash profile with ORACLE_HOME and other environment variables.

Uploaded by

prasad9920
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
167 views

Installing Oracle 10G Client On Centos 32 Bits

This document provides instructions for installing Oracle 10g Client on Centos 32 bit. It describes downloading the installation file, checking software requirements, configuring the kernel, shell limits, and user limits. It also covers creating the Oracle software directories, extracting and running the installer, and updating the bash profile with ORACLE_HOME and other environment variables.

Uploaded by

prasad9920
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Installing Oracle 10g Client on Centos 32 bits

Download the following software in /opt.

10201_client_linux32.zip

Software Requirements
# rpm -q glibc glibc-common gcc gcc-c++ libstdc++ libstdc++-devel libaio binutils make compat-db gnome-libs pdksh sysstat

Create user oracle and group oinstall


# groupadd oinstall # groupadd dba # useradd -g oinstall -G dba oracle # passwd oracle Changing password for user oracle. New UNIX password: Retype new UNIX password:

You can set "oracle" as the password too Creating the Installation Path and Setting the Permissions
mkdir -p /u01/app/oracle chown -R oracle:oinstall /u01/app/oracle chmod -R 775 /u01/app/oracle

Configuring Kernel Parameters: We can set the kernel parameters with the following command:
cat >> /etc/sysctl.conf << EOF kernel.shmmax = 2147483648 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 EOF

Activate the modification with the following command:


/sbin/sysctl -p

Configuring Shell Limits


cat >> oracle oracle oracle oracle EOF /etc/security/limits.conf << EOF soft nproc 2047 hard nproc 16384 soft nofile 1024 hard nofile 65536

Add or edit the following line in the /etc/pam.d/login file, if it does not already exist:
session required /lib/security/pam_limits.so

For the Bourne, Bash, or Korn shell, add the following lines to the /etc/profile:
cat >> /etc/profile << EOF if [ $USER = "oracle" ]; then if [ $SHELL = "/bin/ksh" ]; then ulimit -p 16384 ulimit -n 65536 else ulimit -u 16384 -n 65536 fi fi EOF

For the C shell (csh or tcsh), add the following lines to the /etc/csh.login:
cat >> /etc/csh.login << EOF if [ $USER = "oracle" ]; then if [ $SHELL = "/bin/ksh" ]; then ulimit -p 16384 ulimit -n 65536 else ulimit -u 16384 -n 65536 fi fi EOF

For the C shell (csh or tcsh), add the following lines to the /etc/csh.login.
if ( $USER == "oracle" ) then limit maxproc 16384

limit descriptors 65536 endif

Creating Oracle Software Directories:

# mkdir -p /u01/app/oracle # chown -R oracle:oinstall /u01/app/oracle # chmod -R 775 /u01/app/oracle

Add the below lines into the .bash_profile file. DO NOT include the ORACLE_HOME variable. We will add it once the software is installed ( /home/oracle/.bash_profile ).
export ORACLE_BASE=/u01/app export ORACEL_SID=db10

At this point you are ready to start Installing Oracle 10g.

2 Oracle installation
Copy 10201_client_linux_x86_64.cpio.gz to /ho me/oracle

Log in as oracle and extract the installer


# unzip 10201_client_linux32.zip # chmod -R 775 10201_client_linux32 # export DISPLAY=:0.0 # xhost +

Then, run it :
# ./runInstaller

Updating .bash_profile:
Now .bash_profile needs to be updated with the value of ORACLE_HOME, path and LD_LIBRARY_PATH.
export ORACLE_HOME=$ORACLE_BASE/oracle/product/10.2.0/db_1 export PATH=$PATH:$ORACLE_HOME/bin export LD_LIBRARY_PATH=$ORACLE_HOME/lib

You might also like