Add the following lines to the /etc/sysctl.conf file:
| kernel.shmmax = 2147483648 kernel.shmmni = 128 kernel.shmall = 2097152 kernel.sem = 250 32000 100 128 fs.file-max = 65536 net.ipv4.ip_local_port_range = 1024 65000 | 
Additionally the following lines can be added to the /etc/security/limits.conf file:
| oracle soft nofile 65536 oracle hard nofile 65536 oracle soft nproc 16384 oracle hard nproc 16384 | 
Adding lines into these files requires a reboot before the new settings take effect.