AdilsonFausto
(usa Debian)
Enviado em 15/02/2017 - 10:18h
Bom dia Murillolnx,
Consegui fazer a instalação em um Debian 8.6.0 não faz muito tempo, acredito que possa ajudar de alguma forma.
Segui os passos abaixo e funcionou perfeitamente.
# apt-get install alien binutils build-essential cpp-4.9 debhelper g++-4.9 gawk gcc-4.9 gcc-4.9-base gettext html2text lib32ncurses5 intltool-debian ksh libaio-dev libaio1 libbeecrypt7 libc6 libc6-dev libc6-dev-i386 libelf-dev libelf1 libltdl7 libmotif4 libodbcinstq4-1 libqt4-core libqt4-gui libsqlite3-0 libstdc++5 libstdc++6 lsb lsb-core lsb-cxx lsb-desktop lsb-graphics make odbcinst pax po-debconf rpm rpm-common sysstat unixodbc unixodbc-dev unzip lib32z1-dev
#addgroup oinstall
#addgroup dba
#addgroup nobody
#usermod -g nobody nobody
#useradd -g oinstall -G dba -p password -d /home/oracle -s /bin/bash oracle
#mkdir /home/oracle
#chown -R oracle:dba /home/oracle
#mkdir -p /u01/app/oracle
#mkdir -p /u01/binaries
#chown -R oracle:dba /u01
#passwd oracle
#echo 'Red Hat Linux release 6' | sudo tee -a /etc/redhat-release
#mkdir /usr/lib64
#ln -s /etc /etc/rc.d
#ln -s /lib/x86_64-linux-gnu/libgcc_s.so.1 /lib64/
#ln -s /usr/bin/awk /bin/awk
#ln -s /usr/bin/basename /bin/basename
#ln -s /usr/bin/rpm /bin/rpm
#ln -s /usr/lib/x86_64-linux-gnu/libc_nonshared.a /usr/lib64/
#ln -s /use/lib/x86_64-linux-gnu/libstdc++.so.6 /lib64/
#ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /usr/lib64
#cp /etc/securiry/limits.conf /etc/security/limits.conf.original
#echo "#Oracle 12C shell limits:" | tee -a /etc/security/limits.conf
#echo "ocacle soft nproc 2048" | tee -a /etc/security/limits.conf
#echo "oracle hard nproc 16384" | tee -a /etc/security/limits.conf
#echo "oracle soft nofile 1024" | tee -a /etd/security/limits.conf
#echo "oracle hard nofile 65534" | tee -a /etc/security/limits.conf
#echo "#" | tee -a /etc/sysctl.conf
#echo " Oracle 12C entries" | tee -a /etc/sysctl.conf
#echo "fs.aio-max-nr=1048576" | tee -a /etc/sysctl.conf
#echo "fs.file-max=6815744" | tee -a /etc/sysctl.conf
#echo "kernel.shmall=2097152" | tee -a /etc/sysctl.conf
#echo "kernel.shmmni=4096" | tee -a /etc/sysctl.conf
#echo "kernel.sem=250 32000 100 128" | tee -a /etc/sysctl.conf
#echo "net.ipv4.ip_local_port_range=9000 65500" | tee -a /etc/sysctl.conf
#echo "net.core.rmem_default=262144" | tee -a /etc/sysctl.conf
#echo "net.core.rmem_max=4194304" | tee -a /etc/sysctl.conf
#echo "net.core.wmem_default=262144" | tee -a /etc/sysctl.conf
#echo "net.core.wmem_max=1048586" | tee -a /etc/sysctl.conf
# mkdir /etc/rc.d
# for i in 0 1 2 3 4 5 6 S; do ln -s /etc/rc$i.d /etc/rc.d/rc$i.d; done
#cd /u01/binaries
#chown -Rf oracle:dba /u01/binaries
#./runInstaller -ignoreSysPrereqs
Desabilitar "I wish to..." > Next
Yes
Next
Server class > Yes
Next
Advanced Install > Next
English (United Kingdom) > Next
Next
Next
Next
Next
Desabilitar "Create as Container database" > Next
Memory (habilitar "Enable Automatic Memory Management") >
Character sets (habilitar "Use Unicode...") > Next
Next
Next
Next
Habilitar "Use the same password..." e cadastrar uma senha > Next
Yes
Next
Editar /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/env_rdbms.mk
Localizar RMAN (linha 2984). Final da linha 2987 adicionar -lons
Localizar HSDEPXA (linha 3001). Alterar para:
HSDEPXA_LINKLINE=$(LINK) $(OPT) -Wl,--no-as-needed $(HSDEPMAI) $(HSALIB_SUBSET1) \
Localizar Wl,--no-as-needed
> linha 2994 acicionar - antes do Wl,--no.....
> linha 3004 acicionar -Wl,--no-as-needed entre $(OPT) e $(HSDEPMAI)
Localizar KFOD_LINKLINE
> linha 3075 adicionar -Wl,--no-as-needed entre $(SOMAIN) e $(SSKFODED)
Localizar AMDU_LINKLINE
> linha 3084 acicionar -Wl,--no-as-needed entre $(SOMAIN) e $(SSKFMUED)
Localizar KFED_LINKLINE
> linha 3071 acicionar -Wl,--no-as-needed entre $(SOMAIN) e $(SSKFEDED)
Localizar ORACLE_LINKLINE
> linha 2922 acicionar -Wl,--no-as-needed entre $(ORACLE_LINKER) e $(PL_FLAGS)
Clicar em Install
Editar o arquivo /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/ins_rdbms.mk
> linha 865 adicionar ao final -lnnz12
> linha 1067 adicionar ao final -lnnz12
> linha 941 adicionar ao final -lagtsh
> linha 914 adicionar ao final -lagtsh
> linha 883 adicionar ao final -lons
Editar o arquivo /u01/app/oracle/product/12.1.0/dbhome_1/network/lib/ins_net_server.mk
> linha 29 acicionar ao final - lnnz12 -lons
cp -rip /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/ins_rdbms.mk /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/ins_rdbms.mk.original