How-to Install Oracle 11g R2 Database on Ubuntu 14.04 Trusty LTS 64bit 11/33

March 6th, 2016 by thelinuxevangelist

10/33 Previous Step – Oracle 11g DB Installation on Ubuntu 14.04 64bit
Beginning

Kernel Parameters Configuration SetUp
Edit /etc/sysctl.conf file.

nano /etc/sysctl.conf

Add or amend the following lines:

#### Oracle 11g Kernel Parameters ####
fs.suid_dumpable = 1
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 818227
kernel.shmmax = 4189323264
kernel.shmmni = 4096
kernel.panic_on_oops = 1
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default=262144
net.core.rmem_max=4194304
net.core.wmem_default=262144
net.core.wmem_max=1048576

The Values of ‘shmall’ and ‘shmmax’ Need to be Customized following your System Memory Size.
Here above is a Valid Setup for a 8Gb RAM Size!
If you need to Change first Check your Phisical Memory Size with:

cat /proc/meminfo | grep MemTotal

Then ‘shmall’ should be Set as:

[RamKb] / 10

And instead ‘shmmax’ as:

[RamKb] * 1024 / 2

For further Instructions See Oracle Documentation
Then hit Ctrl+x to Save and Exit from nano Editor ;)




12/33 Next Step – Oracle 11g DB Installation on Ubuntu 14.04 64bit

Tags: , , , , , , , , , , , , , , , , , , , , , ,