Installation of Oracle Developer Suite10g (9.0.4) on Fedora Core Linux 2, 3


This paper (HOWTO) describes step-by-step installation of Oracle Developer Suite10g (9.0.4) software on Fedora Core 2 and 3.

This paper covers following steps:

Pre-Instalation Tasks

1. Create oracle User Account

Login as root and create te user oracle which belongs to dba group.
su -
# groupadd dba
# useradd -g dba oracle

2. Create the Oracle base directory with appropriate permissions.
su -
# mkdir /opt/oracle
# chown oracle:dba /opt/oracle


3. Setting Oracle Enviroment
Edit the /home/oracle/.bash_profile file and add following lines:
ORACLE_BASE=/opt/oracle
ORACLE_HOME=$ORACLE_BASE/DS10g
ORACLE_TERM=vt220
LD_LIBRARY_PATH=$ORACLE_HOME/lib
LD_ASSUME_KERNEL=2.4.1
THREADS_FLAG=native
PATH=$PATH:$ORACLE_HOME/bin

export ORACLE_BASE ORACLE_HOME ORACLE_TERM LD_LIBRARY_PATH LD_ASSUME_KERNEL THREADS_FLAG PATH

Save the .bash_profile and execute following commands for load new enviroment:
cd /home/oracle
. .bash_profile

Download & Install

1. Download and install required .rpm packages

Some additional packages are required for succesful instalation of Oracle software. To check wheter required packages are installed on your operating system use following command:
rpm -q gcc glibc-headers glibc-kernheaders glibc-devel compat-libstdc++ compat-libstdc++-devel cpp compat-gcc compat-gcc-c++ openmotif21 setarch pdksh gnome-libs

If some package is not installed download it from Fedora project website or direct from Core 2 or Core 3 locations.

This step is required for Fedora Core 3 only. Fedora Core 3 is shipped with compat-gcc-8.3.3.4 package which is GCC 3.x compiler. Check whether compat-gcc-8.3.3.4 is installed. If so then uninstall it using folowing command:
rpm -e compat-gcc compat-gcc-c++ compat-libstdc++ compat-libstdc++-devel
Download following packages
compat-gcc-7.3-2.96.126.i386.rpm
compat-gcc-c++-7.3-2.96.126.i386.rpm
compat-libstdc++-7.3-2.96.126.i386.rpm
compat-libstdc++-devel-7.3-2.96.126.i386.rpm
from Core 2 distribution.


Install the required packages using the rpm command:
# rpm -ivh gcc-3.4.2-6.fc3.i386.rpm \
glibc-headers-2.3.3-74.i386.rpm \
glibc-kernheaders-2.4-9.1.87.i386.rpm \
glibc-devel-2.3.3-74.i386.rpm \
cpp-3.4.2-6.fc3.i386.rpm \
compat-gcc-7.3-2.96.126.i386.rpm \
compat-gcc-c++-7.3-2.96.126.i386.rpm \
compat-libstdc++-7.3-2.96.126.i386.rpm \
compat-libstdc++-devel-7.3-2.96.126.i386.rpm \
setarch-1.6-1.i386.rpm \
pdksh-5.2.14-30.i386.rpm \
gnome-libs-1.4.1.2.90-44.i386.rpm

If all required packages were installed succesfuly then login as root and switch the GCC3 compiler binary with GCC2 compiler binary as following:
su -
# cd /usr/bin
# mv ./gcc ./gcc3
# mv ./gcc296 ./gcc

2. Download the Java Runtime Enviroment (j2re-1_3_1_15-linux-i586.bin) from the Sun website. Keep in mind you need to download j2re1.3.1_11 or higher.

Login as root and make the the file executable and then execute it. When the JRE is exracted move the "jre1.3.1_15" directory to "/opt" directory.
# chmod +x j2re-1_3_1_15-linux-i586.bin
# ./j2re-1_3_1_15-linux-i586.bin

# mv jre1.3.1_15 /opt/

3. Download the Oracle Developer Suite10g (9.0.4) software from Oracle website.
Extract the files using following command:
gunzip ids904_linux_disk1.cpio.gz
gunzip ids904_linux_disk2.cpio.gz
cpio -idmv < ids904_linux_disk1.cpio
cpio -idmv < ids904_linux_disk2.cpio

4. Start the Oracle software installation process.

Now the system is prepared for Oracle software installation. To start the installation process execute the following commands:
cd Disk1
./runInstaller PRE_REQUISITE=true

You may ignore the error message (missing packages).You should answer "y".


When network configuration assistant has failed during startup then do following steps:
5. Change of JRE symbolic links
cd /opt/oracle/DS10g
rm JRE
ln -s /opt/jre1.3.1_15 JRE
su -
# cd JRE/bin
# ln -s java jre
# cd i386/native_threads
# ln -s java jre

6. Edit (as root) the /opt/jre1.3.1_15/lib/security/java.policy file and add following lines:
// SETTINGS ORACLE DEV. SUITE
grant {
permission java.security.AllPermission;
};


Post-Instalation Tasks

1. Create important symbolic links
su -
# cd /usr/lib
# ln -s /usr/X11R6/lib/libXm.so.3 libXm.so.2
# ln -s /usr/X11R6/lib/libXpm.so.4.11 libXpm.so.2

2. Switch back the GCC binaries
su -
# cd /usr/bin
# mv ./gcc ./gcc296
# mv ./gcc3 ./gcc




Comments, suggestions, questions, errors (also grammatical :) )? Feel free to contact me.