Oracle 10g R2 (10.2.0.1) On SUSE Linux Enterprise Server 10: (How To Install)

You might also like

You are on page 1of 14

Oracle 10g R2 (10.2.0.

1)
on
SUSE Linux Enterprise Server 10
( How to Install )
Arun Sin!
"ovell Inc.
Introduction
Oracle 10 R2 is t!e latest release #ro$ Oracle an% it&s release% on all supporte%
SUSE Linux plat#or$s. Oracle 10R2 on SUSE Linux Enterprise Server 10
(SLES10) is certi#ie%' please c!ec( Oracle )etalin(
(!ttp*++www.oracle.co$+tec!nolo,+support+$etalin(+in%ex.!t$l) #or o##icial Oracle
Support+-erti#ication. .!is %ocu$ent is not a replace$ent o# Oracle Installation
$anual /ut !elp ,ou to install Oracle 10 R2 on SLES10.
In t!is paper' x01213 version o# /ot! Oracle an% SUSE Linux Server is use%.
Si$ilar steps applies to ot!er plat#or$s (x01' ia13' etc.). I# ,ou encounter an,
pro/le$' please post ,our 4uestion to suse5oracle6suse.co$.
"ote* In#or$ation provi%e% !ere will wor( #or SUSE Linux Enterprise 7es(top 10
an% SUSE LI"U8 9ro#essional 10.1 (not supporte% in pro%uction environ$ent).
Required Software and Reference Documents
"ovell
SUSE Linux Enterprise Server 10
(!ttp*++www.novell.co$+pro%ucts+server+eval.!t$l)
SUSE Linux Enterprise Server 10 7ocu$entation
(!ttp*++www.novell.co$+%ocu$entation+sles10+)
Oracle
Oracle 7ata/ase 10 Release 2 (10.2.0.1) Enterprise+Stan%ar% E%ition
(!ttp*++www.oracle.co$+tec!nolo,+so#tware+pro%ucts+%ata/ase+oracle10+in%ex.!t$l)
Oracle 7ata/ase 10 Release 2 7ocu$entation
!ttp*++www.oracle.co$+tec!nolo,+%ocu$entation+%ata/ase10r2.!t$l
Hardware Requirements
.!e s,ste$ $ust $eet t!e #ollowin $ini$u$ !ar%ware re4uire$ents*
Requirement Minimum Value
RA) 1023 ):
Swap space Approx. twice t!e si;e o# RA)
7is( space in +t$p 300 ):
7is( space #or so#tware #iles <.= >:
7is( space #or %ata/ase #iles 1.2 >:
Installation Steps
1. Install SUSE Linux peratin! S"stem
?ollow t!e Installation instructions provi%e% in t!e SLES10 install $anual.
SLES10 wit! %e#ault pac(aes alon wit! Oracle Server :ase' an% @-+-AA
-o$piler an% .oolsB is su##icient #or Oracle 10 R2 (10.2.0.1) install. Oracle
Server :ase provi%es orarun pac(ae. Here is screen5s!ot #ro$ SLES10
(x01213) server.
-!ec( w!et!er -+-AA co$piler is installe% usin@cc 55versionB. I# cc is not
installe%' t!en use CaS. setup tool to install @-+-AA -o$piler an% .oolsB.
#. Install SLES1$ Ser%ice &ac' ()uture* +,en Ser%ice &ac' is released-
At t!is point no Service 9ac( #or SLES10 is release%. Use S9i%ent or
&cat +etc+SuSE5release& to veri#,.
.. /etc/,osts 0 -o$$ent out 12D.0.0.2 an% put ,our server&s I9 a%%ress.
# 127.0.0.2 sles10.novell.com sles10
192.168.0.2 sles10.novell.com sles10
1. racle Install prerequisites
SUSE provi%es orarun pac(aes to auto$ate $ost o# t!e Oracle pre5install
tas(. Re#er to Oracle installation %ocu$ent #or co$plete list o# prere4uisites.
orarun *
1. I# ,ou !ave selecte% @Oracle Server :aseB option at install ti$e' orarun
pac(ae is alrea%, installe% on ,our server.
?or SUSE Linux Enterprise 7es(top 10 an% SUSE Linux 9ro#essional
10.1 pro%ucts' ,ou can %ownloa% orarun pac(ae
(!ttp*++#tp.novell.co$+partners+oracle+sles510+) an% install $anuall,.
Erp$ 5iv! orarun51.F521.2.x01213.rp$
2. .!e account #or oracle user is %isa/le%. 9lease ena/le it /,*
1. -!anin t!e s!ell #or t!e GoracleG user #ro$ G+/in+#alseG to G+/in+/as!G'
eit!er /, e%itin t!e G+etc+passw%G #ile.
2. Set a new passwor% #or user @oracleB i.e. @+usr+/in+passw% oracleB.
Cou can use SUSE setup tool CaS. to acco$plis! a/ove tas(.
+s/in+,ast2 5H @securit, an% UsersB 5H BE%it an% create roupsB
(Select users ta/ an% set @S,ste$ UsersB #ilter to see oracle user.)
?ollowin are t!e screen s!ots o# @oracleB user properties*
<. -!ane 7e#ault Oracle environ$ent set /, orarun (I# re4uire%)
1. -!ane Oracle !o$e %irector, /, e%itin ORA-LE2HO)E varia/le in
@+etc+pro#ile.%+oracle.s!B #ile. R23LE4HME5
6R23LE472SE/product/1$.#/d841
2. 7e#ault ORA-LE2SI7 set /, orarun install is @orclB. -!ane it to ,our
pre#erre% na$e in @+etc+pro#ile.%+oracle.s!B #ile.
"ote* Oracle Installer will as( t!is %ata/ase na$e an% it s!oul% $atc!
to ORA-LE2SI7 to avoi% an, pro/le$.
3. Run @+usr+s/in+rcoracle start @ to set (ernel para$eters. Inore
ORA-LE2HO)E not set $essae as t!is will et #ixe% once Oracle 10
is installe%.
=. Exit #ro$ current session an% loin as new @oracleB user. ?ollowin is a
snap5s!ot veri#,in current user*
9. racle 1$! R# Installation
>et Oracle 10 R2 (10.2.0.1) So#tware #ro$ oracle we/ site %epen%in on
,our plat#or$ (10201_database_linux_x86_64.cpio.gz) an% extract #iles*
Eun;ip 102012%ata/ase2linux2x01213.cpio.;
Ecpio 5i%$v I 102012%ata/ase2linux2x01213.cpio
1. )a(e sure ,ou are loe% in as @oracleB user.
2. Run Oracle Universal installer * .+runInstaller
Cou will et error . 7o an, o# t!e #ollowin to #ix t!is*
1. )o%i#, @%ata/ase+install+orapara$.iniB #ile to a%% support #or SUSE
Linux 10. A#ter $o%i#,in orapara$.ini #ile @J-erti#ie% KersionsLB line
will loo( li(e*
2. Install wit! option 5inoreS,s9rere4s
i.e. .+runInstaller 5inoreS,s9rere4s
<. Cou can $o%i#, +etc+SuSE5release #ile.
SUSE Linux Enterprise Server 10 (x86_64)
VES!"# $ 10
to
SUSE Linux Enterprise Server 9 (x86_64)
VES!"# $ 9
"ote* 7on&t #oret to create /ac(5up an% restore once Oracle
installation is %one to avoi% ot!er pro/le$s.
I# ,ou are installin #ro$ -7 $ounte% as +$e%ia+c%ro$ t!en @c% +t$p MM
+$e%ia+c%ro$+runInstallerB will /e !elp#ul.
Installation will wal( ,ou t!rou! wit! sel# explanator, instructions. Here
are screen5s!ots #ro$ si$ple Oracle 10 Installation*
:. Un0Installin! incomplete Installation * 3lean0up
Oracle Installer will ive ,ou an option to re$ove installe% pro%uct /ut
so$eti$es ,our installation is not co$plete an% ,ou woul% li(e to restart t!e
clean installation. Here are so$e 4uic( an% %irt, steps to clean5up ,our s,ste$*
1. Re$ove +usr+local+/in+Ncoraenv' %/!o$e' oraenvO
2. Re$ove +etc+orata/' +etc+oraInst.loc' an% +etc+oracle %irector,
<. Re$ove all #iles create% /, Oracle installer in +opt+oracle (Install 7irector,)
i.e. 7irector, +opt+oracle+Npro%uct' a%$in' ora%ata' oraInventor,O
;. racle Data8ase Start at 8oot time
Set para$eter S.AR.2ORA-LE27:PG,esG in @+etc+s,scon#i+oracleB #ile.
Cou can e%it #ile @+etc+s,scon#i+oracleB $anuall, or use CaS. setup tool
to c!ane oracle speci#ic para$eters.
@+s/in+,ast25HS,ste$5H+etc+s,scon#i E%itor 5H9ro%uctivit,5H7ata/asesB
1. E%it +etc+orata/ entr, correspon%in to ,our %ata/ase to @CB.
2. E%it %/start' %/s!ut an% %/!o$e scripts to re#lect correct location #or
ORA.A: entr,. i.e ORA.A:P+etc+orata/
<. racle Enterprise Mana!er
1. Start Enterprise )anaer services' i# is not runnin* Ge$ctl start %/consoleG
=ote* I# ,ou want to start %/console services at /oot5ti$e' t!en set Listener
(S.AR.2ORA-LE27:2LIS.E"ER) an% Enterprise )anaer para$eter
(S.AR.2ORA-LE27:2E)A"A>ER) in +etc+s,scon#i+oracle to ,es.
2. Use Enterprise )anaer we/ inter#ace (!ttp*++local!ost*11=0+e$) to per#or$
routine %ata/ase a%$inistration an% per#or$ance tunin tas(s.
>. sqlplus* Startup and S,utdown of t,e racle1$! Data8ase (Manual-
?ro$ %ianostic point o# view it is ver, i$portant to c!ec( s4lplus is
#unctionin properl,. I# not t!en ,our installation is !avin pro/le$s.
1. .o startup t!e %ata/ase*
sles10Q s4lplus +nolo
SRLH connect + as s,s%/a
SRLH startup
2. .o s!ut%own t!e %ata/ase*
sles10Q s4lplus +nolo
SRLH connect + as s,s%/a
SRLH s!ut%own
=ote* @+B connects ,ou to t!e sc!e$a owne% /, SCS wit! t!e privilee SCS7:A.
1$. 2s"nc I/ * Ena8le 8" Default
Unli(e previous releases AIO is ena/le /, %e#ault. Cou can
%isa/le+ena/le usin init.ora para$eter (#iles,ste$io2options).
11. ?nown &ro8lem 0 +or'around
1. d8start* Set correct ORA-LE2HO)E2LIS."ER pat! to avoi% listener
error.
2. 2ppl"in! SLES1$ S&1* .!ere are reports t!at li/c5%evel5<2/it was
$issin a#ter appl,in S91. 9lease $a(e sure li/c5%evel5<2/it pac(ae is
installe% to avoi% lin(in errors %urin Oracle So#tware Installation.
Histor"*
Date Changes
10/20/2006 Initial Document created.
09/1/200 !pdated "ection #8 $%racle &nterprise 'anager(
12/11/200 )dded "*&"10 "+1 in ,no-n +roblem "ection
En@o"A

You might also like