installation oracle 11g:
unzip p13390677_112040_LINUX_1of7.zip
unzip p13390677_112040_LINUX_2of7.zip
yum install oracle-rdbms-server-11gR2-preinstall
mkdir -p /u01/app/oracle/product/11.2.0/db_1
chown -R oracle:oinstall /u01
chmod -R 775 /u01
you must connect to the oracle user with and in the bash profile setter the variables:
su - oracle
vi .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
as user root:
SELINUX=permissive
setenforce 0
getenforce # para validar tiene que decir permissive
xhost +
DISPLAY=:0.0; export DISPLAY
su - oracle
DISPLAY=:0.0; export DISPLAY
cd oracle_software
then you must enter the folder and give the
./runInstaller
in case of error setter the system variable in the file /etc/security/limits.conf
:
oracle soft nproc 16384
oracle hard nproc 16384
oracle soft nofile 4096
oracle hard nofile 65536
oracle soft stack 10240
problems with the jdk reinstall:
download jdk
source:
install oracle linux