Beruflich Dokumente
Kultur Dokumente
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
Page 1
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
Page 2
CHANGING KERNEL PARAMETERS FOR DB-INSTALLATION goto /etc/sysctl.conf and modify the parameters #vi /etc/sysctl.conf
Page 3
Page 4
Page 5
press esc and type " :wq" and press enter #sysctl -p
Page 6
Page 7
Page 8
now add line session required pam_limits.so at the bottom of the configuration file
Page 9
#vi /etc/security/limits.conf
Page 10
Page 11
Page 12
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
Page 13
Changing the bash_profile with adding the lines of ORACLE_HOME,PATH..etc #vi .bash_profile
Page 14
Page 15
now add the following lines at the bottom of the config file
Page 16
now we have to change from root user to the oracle user #su oracle
Page 17
Page 18
Page 19
Page 20
Page 21
next next and finish now we have to set the java path $export JAVA_HOME=/home/oracle/jrockit-jdk1.6.0_22-R28.1.1-4.0.1/ $ export PATH=$PATH:/home/oracle/jrockit-jdk1.6.0_22-R28.1.1-4.0.1/bin
Page 22
Page 23
Page 24
Page 25
We will get the screen like above 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
Page 26
Page 27
Page 28
Page 29
if you are using client side system select desktop class and click next
Page 30
Page 31
Page 32
click next
Page 33
Page 34
RESOLVING THE ERRORS OCCURED WHILE INSTALLATION swap size error this error occurs due to the less space of the swap file than the expected value to resolve this error we have to increase the size of the swap file The following dd command example creates a swap file with the name myswapfile under /root directory with required size #free -k {to see the current swap size}
Page 35
Page 36
Page 37
Page 38
cahnge last line into /root/myswapfile swap swap defaults 0 0 ; save it and exit then in installation screen click check again
Page 39
Page 40
# sysctl -p /etc/sysctl.conf
Page 41
resolving the rpm packages go to the following location to get rpm packages
Page 42
Page 43
Page 44
Page 45
Page 46
Page 47
Page 48
Page 49
Page 50
Page 51
Page 52
Page 53
Page 54
Page 55
sql>startup
Page 56
Page 57
Page 58
Page 59
Page 60