how to install oracle 11g r2 expres and sql developer on ubuntu 18.04

0

I have 2 .zip files and from the console I try to execute a file that comes inside one of the zip files called "RunIntaller" but it shows an error:

An invalid source path '../stage/Components/oracle.jdk/1.5.0.17.0/1/DataFiles' was specified for decompression. Decompression command failure. Check oraparam.ini and specify a valid source path. : File or directory does not exist

    
asked by Andres Gomez 20.11.2018 в 03:36
source

1 answer

0

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

    
answered by 20.11.2018 в 04:16