Oracle Database 11gR2 11.2.0.4 Installation–Oracle Linux 7

 

1. Unzip Files

 

2. Edit /etc/hosts file as below

<IP-address>  <fully-qualified-machine-name>  <machine-name>

192.168.1.4 ol7.dev ol7

 

3. Prerequisites setup: Execute below command

# yum install oracle-rdbms-server-11gR2-preinstall

 

4. Edit /etc/selinux/config as below

SELINUX=permissive

 

5. Restart the server

 

6. Execute below command

# setenforce Permissive

 

7. Create directories by executing below commands

mkdir -p /u01/app/oracle/product/11.2.0.4/db_1

chown -R oracle:oinstall /u01

chmod -R 775 /u01

 

8. Append /home/oracle/.bash_profile with below

# Oracle Database Settings

TMP=/tmp; export TMP

TMPDIR=$TMP; export TMPDIR

ORACLE_HOSTNAME=ol7.dev; export ORACLE_HOSTNAME

ORACLE_UNQNAME=DB11G; export ORACLE_UNQNAME

ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE

ORACLE_HOME=$ORACLE_BASE/product/11.2.0.4/db_1; export ORACLE_HOME

ORACLE_SID=DB11G; export ORACLE_SID

ORACLE_TERM=xterm; export ORACLE_TERM

PATH=/usr/sbin:$PATH; export PATH

PATH=$ORACLE_HOME/bin:$PATH; export PATH

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH

CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH

if [ $USER = “oracle” ]; then

  if [ $SHELL = “/bin/ksh” ]; then

    ulimit -p 16384

    ulimit -n 65536

  else

    ulimit -u 16384 -n 65536

  fi

fi

 

9. Start installer

./runInstaller

 

10. Installer screen shots

 

wps_clip_image-31370[4] 

 

wps_clip_image-9950[4] 

 

wps_clip_image-26096[4] 

 

wps_clip_image-16741[4] 

 

wps_clip_image-32761[4] 

 

wps_clip_image-16534[4] 

 

 

 

wps_clip_image-31777[4] 

 

wps_clip_image-14858[4] 

 

 

wps_clip_image-13477[4] 

 

wps_clip_image-22016[4] 

 

wps_clip_image-29652[4] 

 

wps_clip_image-13405[4] 

 

wps_clip_image-1446[4] 

 

wps_clip_image-30283[4] 

 

11. You will encounter an error invoking the “ins_emagent.mk” file.

To fix this, edit the “$ORACLE_HOME/sysman/lib/ins_emagent.mk”

FROM:

(MK_EMAGENT_NMECTL)

TO  :

(MK_EMAGENT_NMECTL) -lnnz11

 

Click on retry

 

12. Post installation edit /etc/oratab as below

DB11G:/u01/app/oracle/product/11.2.0.4/db_1:Y