0% found this document useful (0 votes)
53 views

Instalando Depnedências Linux de Acordo Com A Sua Distribuição Oracle Linux 4, Update 6 or Newer

This document provides instructions for installing Oracle 11g on a Linux system. It outlines the steps to: 1) Download and configure the necessary YUM repositories and keys to enable Oracle packages. 2) Configure kernel parameters, user limits, networking and other system settings required for the Oracle installation. 3) Extract the Oracle installation files and launch the graphical installer.

Uploaded by

Paulo Dond
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views

Instalando Depnedências Linux de Acordo Com A Sua Distribuição Oracle Linux 4, Update 6 or Newer

This document provides instructions for installing Oracle 11g on a Linux system. It outlines the steps to: 1) Download and configure the necessary YUM repositories and keys to enable Oracle packages. 2) Configure kernel parameters, user limits, networking and other system settings required for the Oracle installation. 3) Extract the Oracle installation files and launch the graphical installer.

Uploaded by

Paulo Dond
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
You are on page 1/ 8

Install Oracle 11g on Linux based in REDHAT Instalando depnedncias Linux de acordo com a sua distribuio Oracle Linux

4, Update 6 or Newer
# cd /etc/yum.repos.d # mv Oracle-Base.repo Oracle-Base.repo.disabled # wget http://public-yum.oracle.com/public-yum-el4.repo

Oracle Linux 5
# cd /etc/yum.repos.d # wget http://public-yum.oracle.com/public-yum-el5.repo

Oracle Linux 6
# cd /etc/yum.repos.d # wget http://public-yum.oracle.com/public-yum-ol6.repo

Oracle V

# cd /etc/yum.repos.d # wget http://public-yum.oracle.com/public-yum-ovm2.repo

!stala!do os prere"uisitos # yum i!stall oracle-rdbms-server-##g$2-prei!stall %o e&ecutar o coma!do acima podemos receber o erro como abai&o: $etrievi!g 'ey (rom (ile:///etc/p'i/rpm-gpg/$)*-+)+-,-.-oracle +)+ 'ey retrieval (ailed: /-rr!o #40 1ould !ot ope!/read (ile:///etc/p'i/rpmgpg/$)*-+)+-,-.-oracle

-!t2o e&ecutamos o coma!do abai&o para i!stalar a +)+ ,-.

"ed #at $nterprise Linux 4, Update 6 or %ompatible


# wget http://public-yum.oracle.com/$)*-+)+-,-.-oracle-el4 -O /usr/share/rh!/$)*-+)+-,-.-oracle # gpg --"uiet --with-(i!gerpri!t /usr/share/rh!/$)*-+)+-,-.-oracle pub #3244/B56%65#6 2336-37-35 Oracle O88 group 9Ope! 8ource 8o(tware group: ,ey (i!gerpri!t ; ##22 %27% B25< 625= 5221 254- 2-2B 14B1 B56% 65#6 sub 2346g/334244=4 2336-37-35 /e&pires: 23##-37-340

"ed #at $nterprise Linux 5 or %ompatible


# wget http://public-yum.oracle.com/$)*-+)+-,-.-oracle-el5 -O /etc/p'i/rpm-gpg/$)*-+)+-,-.-oracle # gpg --"uiet --with-(i!gerpri!t /etc/p'i/rpm-gpg/$)*-+)+-,-.-oracle pub #3244/#-5-3#57 233<-35-#6 Oracle O88 group 9Ope! 8ource 8o(tware group: ,ey (i!gerpri!t ; 77=4 2<66 26-- 4-1B 5-5% =5=6 661- 454- #-53#57 sub #324g/4535656= 233<-35-#6 /e&pires: 23#5-35-#60

"ed #at $nterprise Linux 6 or %ompatible


# wget http://public-yum.oracle.com/$)*-+)+-,-.-oracle-ol6 -O /etc/p'i/rpm-gpg/$)*-+)+-,-.-oracle pub 2346$/-155#=35 23#3-3<-3# Oracle O88 group 9Ope! 8ource 8o(tware group: ,ey (i!gerpri!t ; 42#4 4#25 =-1= 155B 7366 5#54 <2=7 <B<4 -155 #=35

8eta!do os parametros do 'er!el> devemos editar o ar"uivo /etc/sysctl.conf e adicio!ar o co!te?do abai&o: (s.suid@dumpable ; # (s.aio-ma&-!r ; #3465<6 (s.(ile-ma& ; 66#5<44 'er!el.shmall ; 237<#52 'er!el.shmma& ; 5566<37#2 'er!el.shmm!i ; 4376 'er!el.sem ; 253 52333 #33 #26 !et.ipv4.ip@local@port@ra!ge ; 7333 65533 !et.core.rmem@de(ault ; 262#44 !et.core.rmem@ma& ; 4#74534 !et.core.wmem@de(ault ; 262#44 !et.core.wmem@ma& ; #346566

4evemos editar o ar"uivo /etc/security/limits.conf> para co!(igurar os limites utiliAado pelo usuBrio oracle. oracle oracle oracle oracle oracle 8eta!do o so(t hard so(t hard so(t !proc !proc !o(ile !o(ile stac' 234< #6564 #324 65556 #3243

) (i&o o ar"uivo> edita!do o ar"uivo /etc/hosts oracle oracle.domai!

#72.#66.#.#3

Camos desativar o 8-D EFG> !o ar"uivo de co!(iguraH2o: /etc/selinux/config SELINUX=disabled Criando os grupos adicionando o usu!rio oracle aos grupos criando a pasta "ue ficar! os ar"ui#os do oracle e por fim mudando permiss$o da pasta para o usu!rio do oracle e do grupo oinstal groupadd %g &'( oinstall groupadd -g 532 dba groupadd -g 535 oper groupadd -g 534 asmadmi! groupadd -g 536 asmdba groupadd -g 535 asmoper usermod -g oi!stall -+ dba>asmdba>oper oracle m'dir -p /u3#/app/oracle/product/##.2.3/db@# chow! -$ oracle:oi!stall /u3# chmod -$ <<5 /u3# Configurando as #ari!#eis do )racle , Setando as #aria#eis do )racle. I*);/tmpJ e&port I*) I*)4 $;KI*)J e&port I*)4 $ O$%1D-@LO8IE%*-;ol6-##gr2.localdomai!J e&port O$%1D-@LO8IE%*O$%1D-@FEME%*-;4B##+J e&port O$%1D-@FEME%*O$%1D-@B%8-;/u3#/app/oracleJ e&port O$%1D-@B%8O$%1D-@LO*-;KO$%1D-@B%8-/product/##.2.3/db@#J e&port O$%1D-@LO*O$%1D-@8 4;orclJ e&port O$%1D-@8 4 )%IL;/usr/sbi!:K)%ILJ e&port )%IL )%IL;KO$%1D-@LO*-/bi!:K)%ILJ e&port )%IL D4@D B$%$.@)%IL;KO$%1D-@LO*-/lib:/lib:/usr/libJ e&port D4@D B$%$.@)%IL 1D%88)%IL;KO$%1D-@LO*-/Nlib:KO$%1D-@LO*-/rdbms/NlibJ e&port 1D%88)%IL no ar"ui#o /*ome/oracle/.bas*+profile

&eito todos os passos acima, reinicie a m'(uina e estaremos pronto para iniciar a instalao do Oracle) calma)* esta c+e,ando---Devemos agora extrair os arquivo que baixamos e acessar a pasta database:
un-ip linux+((g./+database+(of/.-ip un-ip linux+((g./+database+/of/.-ip cd databases/ ./runInstaller

You might also like