Installation manual

If gmake does not exist, create the symbolic link to make:
ln -s /usr/bin/make /usr/bin/gmake
3) Ensure that your server has an entry in the /etc/hosts file. (This allows Oracle to determine the IP
address of the server).
4) If a previous installation of Oracle 8i failed, you may have to clean up some files that were left over
from the failed installation. Failure to do so may cause this new installation to fail. To clean up these
left over files, type:
rm -f /etc/oraInst.loc
mv /etc/oratab /etc/oratab.old
rm -Rf /tmp/orainstall
rm -f /usr/bin/dbhome
rm -f /usr/bin/oraenv
rm -f /usr/bin/coraenv
rm -f /usr/local/bin/dbhome
rm -f /usr/local/bin/oraenv
rm -f /usr/local/bin/coraenv
(The above files/directories may or may not exist. Ignore any errors relating to non-existent
files or directories).
If ORACLE_BASE is already defined, type the following command to delete any left over files
in that directory tree:
rm -Rf $ORACLE_BASE/*
5) Define a new directory tree for this installation of Oracle. If there is already an existing version of
Oracle installed on the system, you must install this new version into a new ORACLE_HOME.
6) Create the Linux group to own the software. Oracle recommends that you create a group called
oinstall to own the software, and a dba group to administer the software on a day-to-day basis:
groupadd oinstall
groupadd dba
7) Create the Oracle owner account, having a default group of oinstall and also be a member of dba.
The oracle account is used to install the Oracle software and startup or shutdown the Oracle database.
useradd oracle -g oinstall -G dba oracle
passwd oracle
(The passwd command will prompt you twice to enter the desired password for the oracle
account).
8) Create the mount points for the database/code tree. Example for an OFA-compliant directory
structure:
mkdir -p /u01/app/oracle/product/8.1.6
mkdir -p /u02/oradata /u03/oradata /u04/oradata
chown -R oracle:oinstall /u01/app/*
chown -R oracle:oinstall /u02/* /u03/* /u04/*
9) Place the Oracle 8.1.6 Installation CD into the CDROM drive. Mount the Oracle 8i CDROM for
subsequent usage:
mount -t iso9660 /dev/cdrom /mnt/cdrom
(This assumes that /dev/cdrom is a symbolic link to your CDROM device. If this is not the case,
substitute your CDROM device specification for /dev/cdrom in the mount command).
10) If using Net8, reserve a port for Net8 by editing the /etc/services file, and adding the following line:
listener 1521/tcp # Oracle Net8 listener
11) Log out of the root account and log back in as oracle.