Oracle 11gR2 on Fedora 20 part 1

Published: 03 July 2014
on channel: Learning Channel
3,040
5

Database backup and startup.

Installation of Oracle Enterprise Database on Fedora 20 (RedHat 6). Basic instructions are located here:
http://dbaora.com/install-oracle-11g-...

When you reach the installation error: "memcpy@GLIBC reference"

Add packages:
yum install glibc-static.x86_64
yum install glibc-static.i686

modify:
/u01/app/oracle/product/11.2.0/dbhome_2/ctx/lib/ins_ctx.mk

ctxhx: $(CTXHXOBJ)
-static $(LINK_CTXHX) $(CTXHXOBJ) $(INSO_LINK) /usr/lib64/stdc.a

modify: /u01/app/oracle/product/11.2.0/dbhome_2/sysman/lib/ins_emagent.mk


$(MK_EMAGENT_NMECTL)

Change to:

$(MK_EMAGENT_NMECTL) -lnnz11


Kernel config:
[root@localhost ~]# vi /etc/sysctl.conf
kernel.shmmax = 536870912
fs.file-max = 6815744
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.wmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_max = 1048576
kernel.sem = 250 32000 128 256

[root@localhost ~]# sysctl -p

User config:
[root@localhost ~]# cat /home/oracle/.bash_profile
.bash_profile

Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

User specific environment and startup programs

PATH=$PATH:$HOME/.local/bin:$HOME/bin

export PATH

Oracle Settings
export TMP=/home/oracle/tmp

export ORACLE_HOSTNAME=fedora.dbaora.com
export ORACLE_UNQNAME=ORA11G
export ORACLE_BASE=/home/oracle/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1
export ORACLE_SID=ORA11G

PATH=/usr/sbin:$PATH:$ORACLE_HOME/bin

export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib;
export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;



umask 022


by Szymon Machajewski


Watch video Oracle 11gR2 on Fedora 20 part 1 online without registration, duration hours minute second in high quality. This video was added by user Learning Channel 03 July 2014, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,04 once and liked it people.