instalar oracle 12 c on linux red hat 7

4

Click here to load reader

Upload: janneth-parra

Post on 22-Jan-2018

203 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Instalar oracle 12 c on linux red hat 7

Installing oracle 12 C on Linux red hat 7

Hay que instalar todas las librerías pre requeridas con comando: yum Install (librería)

Hay que configurar el kernel con las variables que necesita

kernel.semmsl = 250

kernel.semmsl2 = 250

kernel.semmns = 32000

kernel.semopm = 100

kernel.semmni = 128

kernel.shmmax = 536870912

kernel.shmmni = 4096

kernel.shmall = 2097152

fs.filemax = 65536

net.ipv4.ip_local_port_range = 1024 65000

net.core.rmem_default = 262144

net.core.rmem_max = 262144

net.core.wmem_default = 262144

net.core.wmem_max = 262144

/home/bsmucmdb/app/oraInventory/orainstRoot.sh

/home/bsmucmdb/app/bsmucmdb/product/11.2.0/client_1/root.s

Hay que crear un directorio en el disco duro preferiblemente en la carpeta home para que

contenga el programa con el comando: mkdir OraCl12c

NOTA: comando rmdir directorio para borrar el directorio creado

Hay que descomprimir el archivo copiado con unzip nombre_archivo.zip

Para error: PRVF-0002: could not retrieve local node name

First, verify that the "hostname" command returns the host name:

isrvmsol07:ora[43] /oravl01/database> hostname

isrvmsol07

Afterwards check that /etc/hosts file, and if you find out that the hostname doesn't appear for the local IP address (127.0.0.1), add the following entry to the /etc/hosts file:

127.0.0.1 vplx37bta.porvenir.com

Comando para visualizar en el xming:

export DISPLAY=localhost:10.0

Page 2: Instalar oracle 12 c on linux red hat 7

Echo $DISPLAY

Instalar y configurar instaclient Oracle

Comando:

Rpm –Uvh nombre-paquete_oracle.rpm

Page 3: Instalar oracle 12 c on linux red hat 7

Crear archivo oracle.conf

Mkdir /etc/ld.so.conf.d/oracle.conf

Agregar la ruta =/home/bsmucmdb/app/bsmucmdb/product/12.1.0/client_1/lib en el archivo Oracle.conf

Comando:

vi /etc/ld.so.conf.d/oracle.conf

Ejecutar ldconfig

Configurar las environment variable de Oracle

Comando:

vi /etc/profile.d/oracle.sh

Agregar:

export ORACLE_HOME=/home/bsmucmdb/app/bsmucmdb/product/12.1.0/client_1

export TNS_ADMIN=/home/bsmucmdb/app/bsmucmdb/product/12.1.0/client_1/network/admin

export PATH=$PATH:$ORACLE_HOME/bin

Configurar el bash profile

# vi ~/.bash_profile

agregar:

Page 4: Instalar oracle 12 c on linux red hat 7

export LD_LIBRARY_PATH=/home/bsmucmdb/app/bsmucmdb/product/12.1.0/client_1/lib

export ORACLE_HOME=/home/bsmucmdb/app/bsmucmdb/product/12.1.0/client_1

export

TNS_ADMIN=/home/bsmucmdb/app/bsmucmdb/product/12.1.0/client_1/network/admin

Reiniciar

Commando:

shutdown –r now