Experience: is what you get soon after you need it.

Experience: is what you get soon after you need it.

****************I am authoring a Book on Oracle Database Cloud Services.......More details to follow.***************

Title : Oracle Database Cloud Revealed
Publisher : Apress
Release Date : June-2018


Rasul Allah (sal Allahu alaihi wa sallam) said: "Restore the trusts of those who trust you, and deal not falsely with him who deals falsely with you." [Abu Dawud, Tirmidhi]

Search This Blog

Thursday, July 8, 2010

install 11g 11.2.0 client Ubuntu

It is not straight forward anything with Linux/Unix, so I will share my experience with installing 11g client on Ubuntu.

ser1@user1-desktop:~$ uname -a
Linux user1-desktop 2.6.31-22-generic #60-Ubuntu SMP Thu May 27 00:22:23 UTC 2010 i686 GNU/Linux

downloaded 11gR2 client for Linux-x86
user1@user1-desktop:~/Downloads/linux1$ ls -lrt
drwxr-xr-x 6 user1 user1 4096 2009-08-18 15:51 client
-rw-r--r-- 1 user1 user1 642016988 2010-07-07 15:23 linux_11gR2_client.zip

Unzip it and goto client dir

Before you start the install prep the PC with necessary Kernel parameters
copy the below contents into the sysctl.conf file as root.

# vi /etc/sysctl.conf

kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000

set the kernel parameters or reboot
# /sbin/sysctl -p

set security limits
# vi /etc/security/limits.conf
append the following values to the end of the file
* soft nproc 2047
* hard nproc 16384
* soft nofile 1024
* hard nofile 65536

create symbolic links
# ln -s /usr/bin/awk /bin/awk
# ln -s /usr/bin/rpm /bin/rpm
# ln -s /lib/libgcc_s.so.1 /lib/libgcc_s.so
# ln -s /usr/bin/basename /bin/basename


start runInstaller
opted administrator install
install went on for a while then boom "started throwing linking errors"

If a dialog pops up indicating:

Error in invoking target install of makefile

edit user1@user1-desktop:~/app/user1/product/11.2.0/client_1/rdbms/lib/env_rdbms.mk and change:




and change:




then click Retry or just say ignore

and the install went fine like a charm and asked me to run the root.sh scripts which I did run
and added the environmental variables like ORACLE_HOME in .bashrc file

and invoked sqlplus

user1@user1-desktop:~$ sqlplus

SQL*Plus: Release Production on Thu Jul 8 10:25:38 2010

Copyright (c) 1982, 2009, Oracle. All rights reserved.

Enter user-name:

looked great...So good luck guys

No comments: