Install Oracle11g on OEL

This tutorial shows Installation of Oracle 11g on Oracle Enterprise Linux 5. Before we start Installation please read the prerequisite for installation of Oracle 11g here .

To start Installation, make sure you have Installed VMware 6.5 or higher version if you have not done that click here to see pictorial step by step Installation of Vmware Workstation.

Also, you need to have Oracle Enterprise linux  installed on the Vmware Workstation, if you have not, please click here to learn how to install Vmware tools and also how to install OEL on Vmware workstation.

1. To install Oracle 11g, startup your Vmware workstation then login as root user to run the following commands:

          /usr/sbin/groupadd oinstall
         /usr/sbin/groupadd dba
         /usr/sbin/groupadd oper
         vi /etc/sysctl.conf
          

Installation of 11g

2. To use the vi editor, type a o keyboard to insert into vi editor then scroll down to were you see ‘ # Controls the maximum shared segment size, in bytes’
Copy the following below and paste it there, then type esc key. Then type ZZ to save and exit.
Also note that for newbies you can quickly learn how to use vi editor here.

net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmmax = 2147483648
kernel.shmall = 2097152
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 6815744
fs.aio-max-nr = 1048576
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 1048576
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
Install Vmware

3. To make it active in the current session, run /sbin/sysctl -p command

          /sbin/sysctl -p
          

Installing Oracle 11g on OEL

3. Type the following below to open a vi editor.
After pasting, click esc key, then ZZ to save and quit.

      vi /etc/pam.d/login
      session required pam_limits.so /*this should be added inside the /etc/pam.d/login file as shown in the image below*/
          
Installing Oracle 11g on OEL