Instalacao Oracle 11g No Ol

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 4

- Instalar Sistema Operacional:

Oracle Linux 6.5

- inserir nome da maquina no arquivo /etc/hosts :

<ip> <nome> <nome.dominio>

- instalar o pacote de pr�-instala��o do banco:

yum install oracle-rdbms-server-11gR2-preinstall

- Atualizar o servidor:

yum update

- Instalar outros pacotes tamb�m necess�rios:

yum install unzip

yum install ntp

yum install binutils-2*x86_64*

yum install glibc-2*x86_64 nss-softokn-freebl-3*x86_64

yum install glibc-2*i686 nss-softokn-freebl-3*i686

yum install compat-libstdc++-33*x86_64*

yum install compat-libstdc++*

yum install compat-libcap1

yum install glibc-common-2*x86_64*

yum install glibc-devel-2*x86_64*

yum install glibc-devel-2*i686*

yum install glibc-headers-2*x86_64*

yum install elfutils-libelf-0*x86_64*

yum install elfutils-libelf-devel-0*x86_64*

yum install gcc-4*x86_64*

yum install gcc-c++-4*x86_64*

yum install gcc

yum install gcc-c++

yum install ksh-*x86_64*


yum install libaio-0*x86_64*

yum install libaio-devel-0*x86_64*

yum install libaio-0*i686*

yum install libaio-devel-0*i686*

yum install libgcc-4*x86_64*

yum install libgcc-4*i686*

yum install libstdc++-4*x86_64*

yum install libstdc++-4*i686*

yum install libstdc++-devel-4*x86_64*

yum install libstdc++-devel.i686

yum install make-3.81*x86_64*

yum install numactl-devel-2*x86_64*

yum install sysstat-9*x86_64*

yum install compat-libstdc++-33*i686*

yum install compat-libcap*

yum install autofs

yum install nscd

yum install xorg-x11-xauth

yum install xorg-x11-apps

yum install xorg-x11-utils

- Atualizar novamente o servidor:

yum update

- Alterar o arquivo "/etc/security/limits.d/90-nproc.conf" :

# Mude isso
* soft nproc 1024

# Para isso
* - nproc 16384

- criar pastas para o oracle:

mkdir -p /u01/app/oracle/product/11.2.0.4/db
mkdir -p /u02/oradata
- modificar as permis�es para oracle:oinstall :

chown -R oracle:oinstall /u01 /u02


chmod -R 775 /u01 /u02

###- Para copia do produ��o manter as mesmas pastas:


# mkdir -p /u01 /archives /backup /dados
###- incluir em /etc/fstab as parti��es :
# /dev/mapper/srvsimulacao-u01 /u01 ext4
defaults 1 2
# /dev/mapper/srvsimulacao-archives /archives ext4 defaults
1 2
# /dev/mapper/srvsimulacao-backup /backup ext4
defaults 1 2
# /dev/mapper/srvsimulacao-dados /dados ext4
defaults 1 2

- Servi�os para serem desabilitados:

chkconfig iptables off

chkconfig ip6tables off

service iptables stop

service ip6tables stop

chkconfig auditd off

chkconfig restorecond off

chkconfig netfs on

chkconfig --level 35 nscd on

service nscd start

- Entre como root e execute o seguinte comando :

xhost + <nome-servidor>

- copiar e extrair os arquivos de instala��o do oracle :

- editar permisoes das pastas :

chown -R oracle:oinstall /home/oracle/


chmod -R 775 /home/oracle/

- Fa�a o login no usu�rio oracle e editar o arquivo .bash_profile :

# Oracle Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
ORACLE_HOSTNAME=ol6-112.localdomain; export ORACLE_HOSTNAME
ORACLE_UNQNAME=DB11G; export ORACLE_UNQNAME
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1; export ORACLE_HOME
ORACLE_SID=DB11G; export ORACLE_SID

PATH=/usr/sbin:$PATH; export PATH


PATH=$ORACLE_HOME/bin:$PATH; export PATH

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH


CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH

- Fa�a o login no usu�rio oracle para definir a vari�vel de ambiente DISPLAY:

DISPLAY=<nome-servidor>:0.0; export DISPLAY

- Executar Oracle Universal Installer :

./runInstaller

- Executar Configuration Scripts :

caminho ser� mostrado no instalador do oracle 11g

- Editar o arquivo /etc/oratab :

DB11G:/u01/app/oracle/product/11.2.0.4/db:Y

- modificar o caracterset do banco


- desabilitar case sensitive

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy