Skip to main content

How to Install Oracle Client for Ubuntu



Login to user laptop with “Administrator” username
Switch user as root and follow the steps given below to install Oracle client in Ubuntu

 # apt-get install gcc make binutils lesstif2 libc6 libc6-dev rpm libmotif3 libaio1 libstdc++5 gawk alien ksh gcc-3.3 g++-3.3 libstdc++5  
 # addgroup oinstall  
 # addgroup dba  
 # addgroup nobody  
 # useradd -g oinstall -G dba -p password -d /home/oracle -s /bin/bash oracle  
 # usermod -g nobody nobody  
 # mkdir /home/oracle  
 # chown -R oracle:dba /home/oracle  
 # ln -s /usr/bin/awk /bin/awk  
 # ln -s /usr/bin/rpm /bin/rpm  
 # ln -s /usr/bin/basename /bin/basename  
We need to mimic the /etc/rc.d directory structure of a Red Hat box. We do this with more symlinks:
 # mkdir /etc/rc.d
 # ln -s /etc/rc0.d /etc/rc.d/rc0.d  
 # ln -s /etc/rc2.d /etc/rc.d/rc2.d  
 # ln -s /etc/rc3.d /etc/rc.d/rc3.d  
 # ln -s /etc/rc4.d /etc/rc.d/rc4.d  
 # ln -s /etc/rc5.d /etc/rc.d/rc5.d 
 # ln -s /etc/rc6.d /etc/rc.d/rc6.d  
 # ln -s /etc/init.d /etc/rc.d/init.d  
 # echo "Red Hat Linux release 4" > /etc/redhat-release  
4. vi /etc/sysctl.conf add below lines.


fs.file-max = 65535
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 1048576
net.core.rmem_max = 1048576
net.core.wmem_default = 262144
net.core.wmem_max = 262144
5. vi /etc/security/limits.conf
oracle soft nproc 2047
oracle hard nproc 16383
oracle soft nofile 1023
oracle hard nofile 65535 
6. Make sure the limits.conf is being interpreted as the oracle user logs in by adding these lines to /etc/pam.d/login. You will want to make sure that is actually happening, since the defaults are way lower and you may get all sorts of problems.
session required /lib/security/pam_limits.so
session required pam_limits.so


Feedbacks: We appreciate your feedbacks and suggestions about our website bala@techgyaan.org
Check out . Follow @techgyaan




Comments

Popular posts from this blog

Download of the Day!

Amarok 2.0.2 has released Amarok is an open source alternative music player for iTunes. Amarok supports Linux, Unix, MacOSX and windows Operating system. It is smiliar to iTunes just drag & drop the songs to play list. Amarok also lets you listen to internet radio ( mp3 streaming ) including music from last.fm . Features Automatic cover Lyrics download Dynamic playlists Visualizations and Podcasting. These are only some of the great new features of Amarok 2. Give it a try! Download here An least but not last - Amarok will also synchronize your music to your iPod. For the more technical users a scripting interface allows you to extend the functionality of Amarok. Print Page Feedbacks: We appreciate feedbacks and suggestions about our website info@techgyaan.org

How to fix Solaris "/lib/svc/method/net-physical "network settings is misconfigured”

Yesterday I came across an issue with the server being unable to access it switched to the  maintenance mode with some a strange message; “ How to fix Solaris "/lib/svc/method/net-physical "network settings is misconfigured”. Dec  9 10:05:59 techgyaansvr svc.startd[7]: [ID 652011 daemon.warning] svc:/network/physical:default: Method "/lib/svc/method/net-physical" failed with exit status 96. Dec  9 10:05:59 techgyaansvr svc.startd[7]: [ID 748625 daemon.error] network/physical:default misconfigured: transitioned to maintenance (see 'svcs -xv' for details) Actual message is that the IP address already exists, but is not configured. We need to clear the network & flush the settings to make it accessible Resolution: Check the service which is disabled #svcs –xv [this command will show you the services which is disabled by system] Take the network interface offline #ifconfig eri0 down [this command will bring the interface down] #ifconfig eri0 unplumb [this co...

Increase your RAM? free of cost…Really Worth It!!!!

A Very useful tip . Please try this and use RAM efficiently. Now this is called a tip of the year! While working with the Task Manager I observed the following. You can also try it out. 1.Start any application, say Word. Open some large documents. 2.Now start the Task Manager processor tab and sort the list in descending order on Memory Usage. You will notice that Winword.exe will be somewhere at the top, using multiple MBs of memory. Note down the number. 3.Now switch to Word and simply minimise it. (Do not use the Minimize All option of the task bar). 4. Now go back to the Task Manager and see where Winword.exe is listed. Most probably you will not find it at the top. You will typically have to Scroll to the bottom of the list to find Word. Now check out the amount of RAM it is using. Compare it with the original. Surprised? The memory utilisation has reduced by a huge amount. 5.So where is the tip of the year? Simple? Minimise each application that you are currently not working on ...