10g Install in Linux 5
10g Install in Linux 5
1)
Installation On Red Hat Enterprise Linux
5 (RHEL5)
In this article I'll describe the installation of Oracle Database 10g Release 2 (10.2.0.1) on
Red Hat Enterprise Linux 5 (RHEL5). The article is based on a server installation similar
to this, with a minimum of 2G swap, secure Linux disabled and the following package
groups installed:
Alternative installations may require more packages to be loaded, in addition to the ones
listed below.
• Download Software
• Unpack Files
• Hosts File
• Set Kernel Parameters
• Setup
• Installation
• Post Installation
Download Software
Download the following software:
Unpack Files
Unzip the files:
unzip 10201_database_linux32.zip
You should now have a single directory containing installation files. Depending on the
age of the download this may either be named "db/Disk1" or "database".
Hosts File
The /etc/hosts file must contain a fully qualified name for the server:
<IP-address> <fully-qualified-machine-name> <machine-name>
Setup
Install the following packages:
# From RedHat AS5 Disk 1
cd /media/cdrom/Server cd /media/RHEL-5\i386\DVD/Sarver
rpm -Uvh setarch-2*
rpm -Uvh make-3*
rpm -Uvh glibc-2*
rpm -Uvh libaio-0*
cd /
eject
Installation
Log into the oracle user. If you are using X emulation then set the DISPLAY
environmental variable:
DISPLAY=<machine-name>:0.0; export DISPLAY
Start the Oracle Universal Installer (OUI) by issuing the following command in the
database directory:
./runInstaller
During the installation enter the appropriate ORACLE_HOME and name then continue
installation. For a more detailed look at the installation process, click on the links below
to see screen shots of each stage.
Post Installation
Edit the /etc/redhat-release file restoring the original release information:
Red Hat Enterprise Linux Server release 5 (Tikanga)
Edit the /etc/oratab file setting the restart flag for each instance to 'Y':
TSH1:/u01/app/oracle/product/10.2.0/db_1:Y