Or ac l eDat abas e11gRel eas e2( 11. 2)I ns t al l at i onOn Or acl eLi nux7( OL7) Or ac l eLi nux7i sapr oduc t i onr el eas e,butt heOr ac l eDat abas ei sonl ysuppor t edoni t f r om Or ac l eDat abas e11g( 11. 2. 0. 4)onwar d.Thi si ns t al l at i ons houl dnotbeus edf ora r eal s y s t em whenus i ngdat abas ev er s i onspr i ort o11. 2. 0. 4. Thi sar t i c l edes cr i best hei ns t al l at i onofOr ac l eDat abas e11gRel eas e2( 11. 2. 0. 4)64bi tonOr ac l eLi nux7( OL7)64bi t .Thear t i c l ei sbas edonas er v eri ns t al l at i onwi t ha mi n i mum o f2 Gs wa pa nds e c ur eL i n uxs e tt op er mi s s i v e .Ane x amp l eoft hi st y peof Li nuxi ns t al l at i onc anbes eenh e r e. •
Downl oadSof t war e
•
Un pa ckFi l es
•
Hos t sFi l e
•
Or ac l eI ns t al l at i onPr er equi s i t es
o
Aut o ma ma t i cSe t up
o
ManualSet up
o
Addi t i onal Set up
•
I ns t al l at i on
•
Pos tI ns t al l at i on
Downl oadSof t war e Do wnl oadt heOr ac l es of t war eu si ngoneoft het wol i nkbel o w.I fy ouha v eac c es st oMy Or acl eSuppor t( MOS) ,t heni ti sbet t ert odownl oadt he11. 2. 0. 4v er s i on,s i nc et hi si s t hefi r s tr el eas eof11. 2t hati ssuppor t edonOr ac l eLi nux7. •
Or a c l eDa t a ba s e1 1gRe l e as e2( 1 1. 2 . 0 . 4 )So f t wa r e( MOS)
•
Or a c l eDa t a ba s e1 1gRe l e as e2( 1 1. 2 . 0 . 1 )So f t wa r e( OTN)
Unpac kFi l es Unz i pt hefi l es . unzip linux.x64_11gR2_database_1of2.zip unzip linux.x64_11gR2_database_2of2.zip
Yous houl dnowhav eas i ngl edi r ec t or yc al l ed" dat abas e"c ont ai ni ngi ns t al l at i onfi l es .
Hos t sFi l e The" / et c / hos t s "fi l emus tc ont ai naf ul l yqual i fi ednamef ort hes er v er . <"a#$ine-na"e>
Forexampl e. 12%.&.&.1
lo#al$ost lo#al$ost.lo#aldo"ain lo#al$ost4 lo#al$ost4.lo#aldo"ain4
1'2.16(.&.21) ol%.lo#aldo"ain ol%
Sett hec or r ec thos t namei nt he" / et c / hos t name"fi l e. ol%.lo#aldo"ain
Or ac l eI ns t al l at i onPr er equi s i t es Per f or me i t hert heAut omat i cSet uport heManual Se t upt oc ompl e t et hebas i c pr er equi s i t es .TheAddi t i onal Set upi sr equi r edf oral l i ns t al l at i ons .
Aut omat i cSe t up I fy oupl ant ous et he" or ac l er dbms s er v er 11gR2pr ei ns t al l "pac kaget oper f or m al l y ourp r er equi s i t es et up,f ol l owt hei ns t r uc t i onsatht t p: / / publ i c y um. or ac l e. c om t os et up t heyum r epos i t or yf orOL,t henper f or mt hef ol l o wi ngcommand. * yu" install ora#le-rdb"s-ser+er-11gR2-preinstall
Al l nec es sar ypr er equi s i t eswi l l beper f or medaut omat i c al l y . I ti spr obabl ywor t hdoi ngaf ul l updat easwel l ,butt hi si snots t r i c t l ys peak i ng n e c e s s a r y . * yu" update
ManualSet up I fy ouhav enotus edt he" or ac l er dbms s er v er 11gR2pr ei ns t al l "pac kaget oper f or m al l pr er equi s i t es ,y ouwi l l needt omanual l yper f or mt hef ol l owi ngs et upt as k s. Addoramendt hef ol l owi ngl i nesi nt he" / et c / s ys ct l . c onf "fi l e. fs.aio-"ax-nr , 1&4()%6 fs.!le-"ax , 6(1)%44 ernel.s$"all , 2&'%1)2 ernel.s$""ax , )6(%&'12 ernel.s$""ni , 4&'6 * se"ap$ores/ se""sl0 se""ns0 se"op"0 se""ni ernel.se" , 2)& 2&&& 1&& 12( net.ip+4.ip_lo#al_port_range , '&&& 6))&& net.#ore.r"e"_default,262144 net.#ore.r"e"_"ax,41'4&4 net.#ore."e"_default,262144 net.#ore."e"_"ax,1&4()(6
Runt hef o l l o wi n gc o mma ndt oc h an get h ec ur r en tk e r n el p ar a me t er s . sbinsys#tl -p
Addt hef ol l owi ngl i nest ot he" / et c / s ec ur i t y / l i mi t s . c onf "fi l e. ora#le
soft
ora#le
$ard
npro# 2&4% npro# 16(4
ora#le
soft
no!le 4&'6
ora#le
$ard
no!le 6))6
ora#le
soft
sta# 1&24&
Addt hef ol l owi ngl i net ot he" / et c / pam. d/ l ogi n"fi l e,i fi tdoesnotal r eadyex i s t . session
reuired
pa"_li"its.so
Thef ol l owi ngpac kagesar el i s t edasr equi r ed,i nc l udi ngt he32bi tv er s i onofs omeof t hepac k ages .Man yoft hepac k agess houl dbei ns t al l eda l r eady . yu" install binutils -y yu" install #o"pat-libstd#33- -y yu" install #o"pat-libstd#33-.i6(6 -y yu" install g## -y yu" install g##-#33 -y yu" install glib# -y yu" install glib#.i6(6 -y yu" install glib#-de+el -y yu" install glib#-de+el.i6(6 -y yu" install s$ -y yu" install libg## -y yu" install libg##.i6(6 -y yu" install libstd#33 -y yu" install libstd#33.i6(6 -y yu" install libstd#33-de+el -y yu" install libstd#33-de+el.i6(6 -y yu" install libaio -y yu" install libaio.i6(6 -y yu" install libaio-de+el -y yu" install libaio-de+el.i6(6 -y
yu" install libext -y yu" install libext.i6(6 -y yu" install libtst -y yu" install libtst.i6(6 -y yu" install lib11 -y yu" install lib11.i6(6 -y yu" install libau -y yu" install libau.i6(6 -y yu" install libx#b -y yu" install libx#b.i6(6 -y yu" install libi -y yu" install libi.i6(6 -y yu" install "ae -y yu" install sysstat -y yu" install unix578 -y yu" install unix578-de+el -y yu" install zlib-de+el -y yu" install elfutils-libelf-de+el -y
Cr e at et h en ewg r o up san du s er s . groupadd -g )421 oinstall groupadd -g )422 dba groupadd -g )42 oper *groupadd -g )424 ba#updba *groupadd -g )42) dgdba *groupadd -g )426 "dba *groupadd -g )42% as"dba *groupadd -g )42( as"oper *groupadd -g )42' as"ad"in
useradd -g oinstall -9 dba0oper ora#le
Wear eno tg oi ngt ous et hee x t r agr oups ,buti nc l udet hem i fy oudopl anonus i ng t hem.
Addi t i onalSet up Thef ol l o wi ngst epsmus tb eper f or med,whe t hery o ud i dt hema nual oraut omat i cs et up. Sett hepas swor df ort he" or ac l e"us er . passd ora#le
Sets ec ur eLi nuxt oper mi s si v ebyedi t i ngt he" / et c / s el i nux / c onfi g"fi l e,mak i ngs ur et he SEL I NUXfl a gi ss e ta sf o l l o ws . :;I=,per"issi+e
Onc et hec hangei sc ompl e t e,r es t ar tt hes er v e rorr unt hef ol l o wi ngc omma nd. * setenfor#e Per"issi+e
I fy ouhav et heLi nuxfir ewal l enabl ed,y ouwi l l needt odi s abl eorc onfi gur ei t ,as s hownh e r eorh e r e.Todi s abl ei t ,dot hef ol l owi ng. * syste"#tl stop !realld * syste"#tl disable !realld
Cr eat et hedi r ec t or i esi nwhi c ht heOr ac l es of t war ewi l l bei ns t al l ed. "dir -p u&1appora#leprodu#t11.2.&.4db_1 #$on -R ora#le/oinstall u&1 #$"od -R %%) u&1
Unl es sy ouar ewor k i ngf r om t hecons ol e,orus i ngSSHt unnel l i ng,l ogi nasr ootand i s s u et h ef o l l o wi n gc o mma nd.
x$ost 3<"a#$ine-na"e>
Addt hef ol l owi ngl i nesatt heendoft he" / home/ or ac l e/ . bas h_pr ofi l e"fi l e. * 5ra#le :ettings ?@P,t"pA export ?@P ?@PIR,B?@PA export ?@PIR
5RC8;_D5:?=C@;,ol%.lo#aldo"ainA export 5RC8;_D5:?=C@; 5RC8;_=E=C@;,7119A export 5RC8;_=E=C@; 5RC8;_7C:;,u&1appora#leA export 5RC8;_7C:; 5RC8;_D5@;,B5RC8;_7C:;produ#t11.2.&.4db_1A export 5RC8;_D5@; 5RC8;_:I,7119A export 5RC8;_:I 5RC8;_?;R@,xter"A export 5RC8;_?;R@ PC?D,usrsbin/BPC?DA export PC?D PC?D,B5RC8;_D5@;bin/BPC?DA export PC?D
_I7RCRF_PC?D,B5RC8;_D5@;lib/lib/usrlibA export _I7RCRF_PC?D 8C::PC?D,B5RC8;_D5@;GR;/B5RC8;_D5@;Hlib/ B5RC8;_D5@;rdb"sHlibA export 8C::PC?D
I ns t al l at i on Logi nt ot heor ac l eus er .I fy ouar eus i ngXemul at i ont hensett heDI SPLAY env i r onment al v ar i abl e. I:PCF,<"a#$ine-na"e>/&.&A export I:PCF
St ar tt heOr ac l eUni v er s al I ns t al l er( OUI )byi s sui ngt hef ol l owi ngc ommandi nt he dat abas edi r ec t or y . .runInstaller
Pr oc eedwi t ht hei ns t al l at i onofy ourc hoi c e.Youc ans eet y peofi ns t al l at i onIper f or med b yc l i c k i ngont hel i nk sbe l o wt os ees c r eens ho t sofeac hs t age.The" pdk s h"p ac k age wi l l bel i s t edasmi s s i ng,whi c hc anbei gnor edbec aus ewei ns t al l edt he" k s h"pac k age i ns t ead. I fy ouar edoi ngani ns t al l at i onf oranEnt er pr i s eManagerr epos i t or y ,r emembert odo anadv a nc edi ns t al l at i onandpi c kt heAL T32UTF8c har ac t ers et . 1.Co nfi g ur eSe c ur i t yUp da t e s 2.Sel ec tI ns t al l Opt i on 3.Sys t em Cl ass 4.No deSel ec t i on 5.Sel ec tI ns t al l T y pe 6.T y pi c al I ns t al l Confi gur at i on 7.Cr eat eI nv ent or y 8.Per f or m Pr er equi s i t eChec k s 9.Summar y 10. I ns t al l Pr oduc t 11. Da t a ba s eCo nfi g ur a t i onAs s i s t a nt 12. Dat abas eConfi gur at i onAs s i s t ant2 13. Ex e cut eConfi gur at i onSc r i p t s 14. Fi ni s h Dur i ngt hel i nkphas ey ouwi l l enc ount eraner r ori nv ok i ngt he" i ns _emagent . mk "fi l e.T o fi xt h i s ,e di tt h e" $ ORACL E_ HOME/ s y s ma n/ l i b / i n s _e ma ge nt . mk " ,d oi n gas e ar c ha nd r epl ac ef ort hel i nes hownbel ow.
R5@/ BJ@K_;@C9;=?_=@;8?L ?5 / BJ@K_;@C9;=?_=@;8?L -lnnz11
Cl i c kt he" Ret r y "but t on.
Pos tI ns t al l at i on Edi tt he" / et c / or at ab"fi l es et t i ngt her es t ar tfl agf oreac hi ns t anc et o' Y' . 7119/u&1appora#leprodu#t11.2.&.4db_1/F
Formor ei nf or mat i onsee: •
Or ac l eDat abas eI ns t al l at i onGui de11gRel eas e2( 11. 2)f orLi nux
•
Aut omat i ngDat abaseSt ar t upandShut downonLi nux
Ho pet hi shel ps .Regar dsTi m. . . Ba c kt ot h eT o p.