Loading...
 
Skip to main content

10gInstallation

http://download-east.oracle.com/docs/html/B15521_01/toc.htm
http://www.oracle-base.com/articles/10g/OracleDB10gInstallationOnFedora2.php

gunzip ship.db.lnx32.cpio.gz
cpio -idmv <ship.db.lnx32.cpio

export ORACLE_HOME=/usr/local/oracle/product/10g

/usr/sbin/groupadd oinstall
/usr/sbin/groupadd dba
id oracle
/usr/sbin/usermod -g oinstall -G dba oracle
passwd oracle

mk /opt/oracle/product/10g
chown -R oracle:oinstall /opt/oracle/product/10g

vi /etc/redhat-release
Replacing the current release information (Fedora Core release 2 (Tettnang)) with the following:
redhat-3

rpm -Uvh setarch-1.4-1.i386.rpm
rpm -Uvh compat-libstdc++-7.3-2.96.126.i386.rpm
rpm -Uvh compat-libstdc++-devel-7.3-2.96.126.i386.rpm
rpm -Uvh compat-db-4.1.25-2.1.i386.rpm
rpm -Uvh compat-gcc-7.3-2.96.126.i386.rpm
rpm -Uvh compat-gcc-c++-7.3-2.96.126.i386.rpm

vi /etc/sysctl.conf
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000

vi /etc/security/limits.conf
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536

vi /etc/pam.d/login :wq
session required /lib/security/pam_limits.so

vi /etc/profile
if $USER = %22oracle%22; then
if $SHELL = %22/bin/ksh%22; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi

Switch to VNC
Log on as root user
xhost +

Add /home/oracle.bash_profile
# Oracle Settings
unset OLDHOME
unset ORACLE_HOME
unset ORACLE_SID
unset ORAENV_ASK
unset ORAHOME

umask 022

TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR

ORACLE_BASE=/usr/local/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10g/db_1; export ORACLE_HOME
ORACLE_SID=orcl; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
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/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
#LD_ASSUME_KERNEL=2.4.1; export LD_ASSUME_KERNEL

if $USER = %22oracle%22; then
if $SHELL = %22/bin/ksh%22; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi


su - oracle
/home/extra/linux-binaries/oracle/Disk1/runInstaller

As root run
/usr/local/oracle/product/10g/db_1/root.sh

grant dba to john;

Oracle Client
gunzip ship.client.lnx32.cpio.gz
cpio -idmv < ship.client.lnx32.cpio

VNC
xhost +
su - oracle
./runInstaller

Oracle Companion CD
gunzip ship.ccd.lnx32.cpio.gz
cpio -idmv < ship.ccd.lnx32.cpio

VNC
xhost +
su - oracle
./runInstaller


Created by john. Last Modification: Friday 11 of March, 2005 11:10:19 MST by john.