You are on page 1of 28

Oracle_11g_R2_installation on 26TH OCTOBER 2012 MOUNTING SOFTWARES FROM MOUNT SERVER 172.16.12.40 # mkdir -p /mnt/softwares #mount -t nfs -o rw 172.16.12.

40:/mnt/softwares /mnt/softwares # cd /mnt/softwares # ls # cd \ MOUNTING RPM PACKAGES #mkdir dvd #df -kl (to check the partitions)

#mount /dev/hdc dvd/ # cd dvd/Server #ls #cd / DISABLING THE FIREWALL SETTINGS #service iptables stop #vi /etc/selinux/config

NOTE: CHANGE 6TH LINE SELINUX= enforcing to SELINUX=disabled by pressing ''i'' (insertion mode) and after change press esc and type '':wq'' and press enter. #xhost + {to disable the access control so that clients can connect from any host} PREREQUISITES CHECK We have to create two groups i.e., oinstall and dba and make oinstall is the primary group and dba is the secondary group for the user Oracle as shown below

CHANGING KERNEL PARAMETERS FOR DB-INSTALLATION goto /etc/sysctl.conf and modify the parameters #vi /etc/sysctl.conf

change the above configuration file as below

press esc and type " :wq" and press enter #sysctl -p

Modify the file etc/pam.d/login by adding the line #vi /etc/pam.d/login

now add line session required pam_limits.so at the bottom of the configuration file

save it and exit Modify the /etc/security/limits.conf #vi /etc/security/limits.conf

add some lines at end of this config file as shown below

save it and exit now make the directory structure as shown below in which the Oracle Home will be takes place. and make changes in the ownership for the /u01 as shown below #mkdir -p /u01/app/oracle/product/11.2.0/db_1 #chown -R oracle:oinstall /u01

Changing the bash_profile with adding the lines of ORACLE_HOME,PATH..etc #vi .bash_profile

now add the following lines at the bottom of the config file

now we have to change from root user to the oracle user #su oracle

INSTALLING DATABASE ORACLE 11g

Go to the software location and execute the runinstaller file

if u are not intrested to give E-mail ..just uncheck the I wish to...box Then click Next which is not shown in the screen

Then select a Desktop class if you are using clientside system click NEXT

Give the inventory directory Location,oraInventory group Name by default the values are shown like above... click NEXT

Check the prerequisites are ok or not if anything is failed just see the message and follow the steps install Rpm's which are shown in above screen

Then it asks for password management .you need not to do anything here passwords are taken as default .. click OK click NEXT

Run the above scripts by connecting to Root user

You might also like