Sie sind auf Seite 1von 29

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 PREPARED BY RAVIKUMAR LANKE Page 1

#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

PREPARED BY RAVIKUMAR LANKE

Page 2

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

PREPARED BY RAVIKUMAR LANKE

Page 3

change the above configuration file as below

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

PREPARED BY RAVIKUMAR LANKE

Page 4

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

PREPARED BY RAVIKUMAR LANKE

Page 5

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

PREPARED BY RAVIKUMAR LANKE

Page 6

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

PREPARED BY RAVIKUMAR LANKE

Page 7

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 PREPARED BY RAVIKUMAR LANKE Page 8

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

PREPARED BY RAVIKUMAR LANKE

Page 9

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

PREPARED BY RAVIKUMAR LANKE

Page 10

INSTALLING DATABASE ORACLE 11g

Go to the software location and execute the runinstaller file

PREPARED BY RAVIKUMAR LANKE

Page 11

PREPARED BY RAVIKUMAR LANKE

Page 12

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

PREPARED BY RAVIKUMAR LANKE

Page 13

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

PREPARED BY RAVIKUMAR LANKE

Page 14

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

PREPARED BY RAVIKUMAR LANKE

Page 15

PREPARED BY RAVIKUMAR LANKE

Page 16

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

PREPARED BY RAVIKUMAR LANKE

Page 17

PREPARED BY RAVIKUMAR LANKE

Page 18

PREPARED BY RAVIKUMAR LANKE

Page 19

PREPARED BY RAVIKUMAR LANKE

Page 20

PREPARED BY RAVIKUMAR LANKE

Page 21

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

PREPARED BY RAVIKUMAR LANKE

Page 22

PREPARED BY RAVIKUMAR LANKE

Page 23

PREPARED BY RAVIKUMAR LANKE

Page 24

PREPARED BY RAVIKUMAR LANKE

Page 25

PREPARED BY RAVIKUMAR LANKE

Page 26

PREPARED BY RAVIKUMAR LANKE

Page 27

PREPARED BY RAVIKUMAR LANKE

Page 28

PREPARED BY RAVIKUMAR LANKE

Page 29

Das könnte Ihnen auch gefallen