Installing Oracle 10G Client On Centos 32 Bits
Installing Oracle 10G Client On Centos 32 Bits
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
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
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
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
2 Oracle installation
Copy 10201_client_linux_x86_64.cpio.gz to /ho me/oracle
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