Author Topic: How To Install oracle 10g R1 on Fedora Core 6  (Read 4364 times)

Romio

  • Global Moderator
  • Full Member
  • *****
  • Posts: 226
How To Install oracle 10g R1 on Fedora Core 6
« on: August 01, 2007, 12:16:35 PM »
copy the oracle .bash_profile from appropropriate oracle version.
for example R1 has this as profile...

Then ...

# .bash_profile

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

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH
unset USERNAME

# Oracle Environment
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/OraHome_1
export ORACLE_SID=el4db
export ORACLE_TERM=xterm
LD_LIBRARY_PATH=$ORACLE_HOME/lib
export LD_LIBRARY_PATH

export JAVA_HOME=/usr/java
export JRE_HOME=/usr/java/jre

# Set shell search paths
export PATH=$PATH:$ORACLE_HOME/bin:$JAVA_HOME/bin

alias cp='cp -i'
alias mv='mv -i'
alias rm='rm -i'
#
#
export HISTFILESIZE=50000
export HISTSIZE=50000
#
clear
echo 'test 147.120.203.228 --- DB instance activity'
ps aux|grep -v grep|grep ora_
echo
netstat -pant|grep LISTEN |grep 1521
echo
sqlplus <<EOF
sys as sysdba
select * from dual;
exit
EOF
tnsping el4db
echo

************ CHECKING KERNEL PARAMERS..
Make sure the /etc/hosts file contains the localhost entry and
the proper entry for the machine IP
ex

127.0.0.1 localhost.localdomain localhost
147.120.203.229 test.openguys.org test


[root@test ~]# sysctl -a| grep shmm
kernel.shmmni = 4096
kernel.shmmax = 33554432
[root@test ~]#


Copy from appropriate server the file /etc/sysctl.conf

#
kernel.shmall = 134217728
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000

and re-run

sysctl -p

net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
kernel.shmall = 134217728
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
[root@test ~]#

And Then ...  ;)

RUN THIS AS ROOT TO CHECK FOR rpm

#!/bin/bash

rpm -q make gcc glibc compat-db compat-gcc compat-gcc-c++ compat-libstdc++ compat-libstdc++-devel openmotif21 setarch compat-libstdc++-devel libXp libXp-dev

exit

mkdir -p /u01/app/oracle

chown oracle.oinstall /u01/app/oracle

mkdir -p /u02/oradata/orcl

chown oracle.oinstall /u02/oradata/orcl

cp /etc/redhat-release /etc/redhat-release.orig

vi /etc/redhat-release


IF NO ERRORS COMMENT THE 'exit' AND RE-RUN


When Running you have to change to redhat-release to redhat-3

IF all OK. goto X-windows/VNC as oracle and resource the .bash_profile and start runinstaller.

OR

reboot the server and start the installation

then unzip the oracle DB software and give

chmod -R 777 B17**

and goto folder and run

./runInstaller
W w W . o P e n g U y s . o R g

GoogleTagged