Upload
nandar-asda
View
251
Download
0
Embed Size (px)
Citation preview
8/10/2019 Oracle Database Installation
1/18
8/10/2019 Oracle Database Installation
2/18
Table of Content
1. INTRODUCTION ...................................................................................4
1.1. P URPOSE OF DOCUMENT .........................................................................41.2. I NTENDED AUDIENCE ..............................................................................41.3. S COPE OF THIS GUIDE ............................................................................4
2. DATABASE INSTALLATION .....................................................................5
2.1. P REPARATION ......................................................................................52.2. P ATCHING O RACLE D ATABASE INSTALLER .......................................................72.3. I NSTALLING O RACLE D ATABASE ..................................................................82.4. P ATCHING O RACLE D ATABASE ..................................................................14
- 2 -
8/10/2019 Oracle Database Installation
3/18
1.INTRODUCTION1.1. Purpose of Document
This docu !"# $%o&id!s #!ch"ic'( i")o% '#io" '*ou# i"s#'((i"+ O%'c(! d'#'*'s!.
1.2. Intended Audience
This '"u'( is i"#!"d!d )o%
IT , Su$$o%# d!$'%# !"# T!ch"ic'( s#'))s #h'# $!%)o% i"s#'(('#io" o" O%'c(! D'#'*'s!.
1. . Scope of t!is "uide
This docu !"# co"sis#s o) 2 $'%#s-
Th! )i%s# $'%# is #o (is# do/" '(( #h! $%!$'%'#io" #o i"s#'(( O%'c(! d'#'*'s!.Th! s!co"d $'%# is #o d!sc%i*! #h! s#!$s #o c%!'#! '"d $'#ch O%'c(! d'#'*'s!.
- 3 -
8/10/2019 Oracle Database Installation
4/18
2.D#t#$#se Inst#%%#tion2.1. Prep#r#tion
Us! So('%is &!%sio" 0 o% o%! 'd&'"c!d &!%sio" i" o%d!% #o i"s#'(( d'#'*'s! o%'c(!1 +.
Co$ $'#ch!s i"#o ,o$#,i"s#'((!%,o%'c(! o% '" di%!c#o% /hich ou s!(!c# )o% $('ci"+#h! o%'c(! 1 + i"s#'((!%s.
Co$ '(( %! ui%!d )i(!s )%o O%'c(!1 + D Ds #o i"s#'(( o%'c(! 1 + i"#o i"s#'((!% di%!c#o% .
M'5!s su%! #h! s!%&!% is usi"+ s#'#ic IP 'dd%!ss. Lo+i" 's %oo# '"d #h!" c%!'#! o%'c(!6s us!% * )o((o/i"+ *!(o/ co '"ds-
+%ou$'dd oi"s#'((
+%ou$'dd d*'
us!%'dd d ,!7$o%#,ho !,o%'c(! + oi"s#'(( G d*' s ,*i",*'sh o%'c(!
$'ss/d % )i(!s o%'c(!
E"#!% ' "!/ $'ss/o%d )o% #h! us!% or#c%e. I" #his c's!8 # $!- $'ss/o%d 's #h!o%'c(!6s $'ss/o%d.
Go #o #h! di%!c#o% /export/home/oracle '"d #h!" # $! co '"d-
&i .$%o)i(!
Add so ! co"#!"#. Th! co"#!"# uch o%! (i5! #h! *!(o/ $ic#u%!8 ho/!&!% %!)!% #o #h! P%oduc#io" S!#u$ '"d D!$(o !"# Docu !"#'#io" )o% d!#'i(.
To ch!c5 #h! %!su(# (o+i" 's o%'c(! us!% * # $i"+
su o%'c(!
- 4 -
8/10/2019 Oracle Database Installation
5/18
8/10/2019 Oracle Database Installation
6/18
;ou "!!d #o 'dd ' "!/ (i"! #o #h! !"d o) #his )i(! #h'# %!'ds-
o%'c(!----$%o9!c#
8/10/2019 Oracle Database Installation
7/18
u"=i$ $4 0 02:1 2 1:SOLARIS 4.=i$
)a*igate to directory + - /-0 by typing a command:
cd + - /-0
;ou h'&! #o !7$o%# #h! SHIPHOME &'%i'*(! /i#h O%'c(! i"s#'((!% (oc'#io"8 *
# $i"+ ' co '"d-
!7$o%# SHIPHOME
8/10/2019 Oracle Database Installation
8/18
This might happened because %P address is not correctly configured whilesetting up the en*ironment display parameter. See below figure in detail.
Th!%!)o%!8 !di# (oc'(hos# #o ou% i$ 'dd%!ss i" .$%o)i(! )i(! o% usi"+ #his co '"d)o% #! $o%'% so(u#io"-
*'sh
!7$o%# DISPLA;< your4pc4ip4a ress - .
Th! S!(!c# I"s#'(('#io" M!#hod sc%!!" is sho/!d u$8 i" #his sc%!!" ou c'"choos! !i#h!% *'sic i"s#'(('#io" o% 'd&'"c!d i"s#'(('#io". I" #his c's!8 I )i(( o%'c(!Ho ! Loc'#io" /i#h 'dd%!ss /opt/oracle/ 0g '"d d'#'*'s! $'ss/o%d is pass5or 8$(!'s! %!)!% #o P%oduc#io" S!#u$ '"d D!$(o !"# Docu !"#'#io" o) #h! $%o9!c# )o% #h! co%%!c# (oc'#io".
- 8 -
8/10/2019 Oracle Database Installation
9/18
I" S$!ci) I"&!"#o% Di%!c#o% '"d C%!d!"#i'( Sc%!!" (!'&! !&!% #hi"+ 's d!)'u(#Th!"8 C(ic5 ne't *u##o".
Co o"( 8 #h!%! /i(( *! '" !%%o% !ss'+! ')#!% c(ic5i"+ #h! ne't *u##o". Th! !%%o% !ss'+! /i(( *! '$$!'%!d i) s!# #h! "o!7!c:s#'c5 < 1 is "o# co")i+u%!d i",!#c,s s#! )i(!. S!! #h! *!(o/ )i+u%! )o% d!#'i(.
I) #h!%! is "o o%! !%%o%8 O%'c(! i"s#'((!% /i(( sho/ ' !ss'+! #h'# '(( %! ui%! !"#sh's *!!" ch!c5!d /i#h s#'#us- passe .
- 9 -
8/10/2019 Oracle Database Installation
10/18
B c(ic5i"+ ne't *u##o"8 #h! "!7# s#!$ is #o s!(!c# co")i+u%'#io" )o% #h! i"s#'(('#io".Th!%! /i(( *! #h%!! o$#io"s Create a atabase, Con igure !utomatic StorageManagement an nstall 6atabase So t5are only. Choos! #h! ('s# o$#io" '"d #h!"c(ic5 ne't *u##o"
B!(o/8 ou /i(( s!! ' $%oc!ssi"+ $h's! ')#!% c(ic5i"+ "!7# *u##o"8 "o#ic! '$%o+%!ss *'% i" %i+h# #o$ o) #h! sc%!!"
- 10 -
8/10/2019 Oracle Database Installation
11/18
fterward, there will be the summary screen of components that will beinstalled. %nstall button will be acti*ated and clic( it to install Oracledatabase.
$elow, there will be a figure when oracle has successfully installed setupfiles
- 11 -
8/10/2019 Oracle Database Installation
12/18
fter finishing the installation, a pop up screen will appear and tell thatsome scripts must be e1ecuted using root user.
"1ecute the re2uired script using root in another console. )a*igate to a
directory /opt/oracle/oraInventory and e1ecute the .sh file using command: bash
cd 3opt3oracle3ora%n*entory
.3orainstRoot.sh
cd 3opt3oracle34/g
.3root.sh
- 12 -
8/10/2019 Oracle Database Installation
13/18
E"#!% )u(( $'#h o) ORACLE:HOME < ,o$#,o%'c(!,1 +
Fi"'(( 8 #h! i"s#'(('#io" o) o%'c(! so)#/'%! h's *!!" 'cco $(ish!d '"d #h! !"d o) i"s#'(('#io" sc%!!" /i(( *! '$$!'%!d. C(ic5 e'it *u##o" )o% !"di"+ i#.
2.(. P#tc!in" Or#c%e D#t#$#seP'#chi"+ is us'(( ' $os# i"s#'(('#io" #o do8 *u# #his +uid! '(so us!)u( /h!" #h!%! is ' *i+u$+%'d! )o% !7 '$(! )%o 1 .2. .2 #o 1 .2. . . I" #his c's! #h! $'#ch $%oc!ss is )%o1 .2. .1 #o 1 .2. .2. Lo+i" 's o%'c(! us!% '"d #h!" "'&i+'#! #o $'#ch )i(! (oc'#io",o$#,i"s#'((!%,o%'c(!,$'#ch,$'#ch1 22,dis51.
*'sh
cd ,o$#,i"s#'((!%,o%'c(!,$'#ch,$'#ch1 2 2,dis51
.,%u"I"s#'((!%
- 13 -
8/10/2019 Oracle Database Installation
14/18
Th! /!(co ! sc%!!" /i(( '$$!'%8 si $( c%ic) "!7# *u##o".
No/8 #h! !"u )o% s$!ci) i"+ Ho ! D!#'i(s '$$!'%. Fi(( #h! P'#h /i#h O%'c(!
Ho ! Loc'#io" 9us# 's *!(o/ )i+u%!
- 14 -
8/10/2019 Oracle Database Installation
15/18
C(ic5 ne't *u##o" '"d #h! i"s#'((!% /i(( +i&! #h! su '% sc%!!".
C(ic5 Inst#%% *u##o" #o s#'%# i"s#'((i"+ #h! $'#ch s!#.
- 15 -
8/10/2019 Oracle Database Installation
16/18
Th! i"s#'((!% 's5 #o %u" ' sc%i$# )o% co $(!#i"+ #h! $'#ch i"s#'(('#io". O$!" "!/co"so(!8 (o+i" 's us!% %oo# '"d #h!" %u" #h! sc%i$#.
cd 3opt3oracle34/g
.3root.sh
- 16 -
8/10/2019 Oracle Database Installation
17/18
I"$u# #h! )u(( $'#h o) O%'c(! Ho ! '"d $%!ss !"#!%8 i) #h!%! '%! /'%"i"+s '*ou#o&!% /%i#i"+ )i(!s 9us# $%!ss ;
Go *'c5 #o #h! o%'c(! i"s#'((!% '"d #h!" c(ic5 O* *u##o"8 #h! !"d o) i"s#'(('#io"sc%!!" /i(( *! sho/". C(ic5 E'it *u##o" )o% co $(!#i"+ #h! $'#ch i"s#'(('#io" $h's!.
- 17 -
8/10/2019 Oracle Database Installation
18/18
- 18 -