Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- INSTALACION PASO A PASO Oracle 12c sobre Oracle Linux
- #Como usuario root
- yum install oracle-database-server-12cR2-preinstall
- yum install -y gcc-* unixODBC-2.3.1 unixODBC-devel-2.3.1
- vi /etc/sysctl.conf
- /sbin/sysctl -p o sysctl -p
- vi /etc/security/limits.conf
- ##agregar archivo limits.conf
- oracle soft nofile 4096 #nofile es la cantidad de archivos abiertos
- oracle hard nofile 65536
- oracle soft nproc 2047 #nproc cantidad de procesos a ejecutar
- oracle hard nproc 16384
- oracle soft stack 10240 #stack
- oracle hard stack 32768
- oracle soft memlock 2765 #memlock espacio de direcciones de memoria de busqueda
- oracle hard memlock 2765
- vi /etc/pam.d/login
- #agregar al archivo /etc/pam.d/login
- session required pam_limits.so
- #Como usuario Oracle
- vi .bash_profile
- #agregar .bash_profile al usuario oracle
- ORACLE_HOME=/u01/app/oracle/product/12.1.0/dbhome_1
- ORACLE_BASE=/u01/app/oracle
- ORACLE_SID=CURSO
- export ORACLE_BASE ORACLE_SID ORACLE_HOME
- PATH=$PATH:$ORACLE_HOME/bin
- export PATH
- umask 022
- #cerramos el archivo y ejecutamos los siguientes comandos
- source .bash_profile
- echo $ORACLE_SID
- echo $ORACLE_HOME
- echo $ORACLE_BASE
- #Volvemos a estar como usuario root
- vi /etc/hosts
- #Agregar al archivo /etc/hosts
- IP MAQUINA nombre-hosts alias
- #despúes crearemos la estructura de directorio cuando cerremos el archivo hosts
- mkdir -p /u01/app/oracle
- chown -R oracle:oinstall /u01/app/oracle
- chmod -R 775 /u01
- mkdir -p /u01/app/oracle/oradata
- mkdir -p /u01/app/oracle/fast_recovery_area
- chown -R oracle:oinstall /u01/app/oracle
- chmod -R 755 /u01
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement