Oracle 9i Release 2 (9.2.0.1.0) installation on RHEL(Red Hat Enterprise Linux) 3



Automating Oracle Installation on Linux :
Compiled By : Sir Sanjeev Chauhan


Download : Oracle9i-Release2-on-RHEL3.tar.gz

	execute following command on console
		"tar -zxvf Oracle9i-Release2-on-RHEL3.tar.gz"

	execute following command on console
		"tar -xvf Oracle9i-Release2-on-RHEL3.tar"

Extracted Files :
1. preInstall.sh
2. rhel3_pre_install.sh
3. postInstall.sh
Please follow following steps to successfully install Oracle 9i Release 2(9.2.0.1.0) on RHEL 3 AS

STEP 1: Copy all three files in a directory where superuser "i.e. root" have privileges to access/execute them. The files are;
	i.)	preInstall.sh
	ii.)	rhel3_pre_install.sh
	iii.)	postnInstall.sh

STEP 2: Execute "preInstall.sh" from console

	sh preInstall.sh

	or ("or" meaning execute any one of them)

	./preInstall.sh

NOTE : You can execute this file as "root" user only. If you are not able to execute this script as root  user then please check the permission of the file by executing 

	ls -l preInstall.sh

	or

	ll preInstall.sh

and add execute permissions to the file by executing following command:

	chmod +x preInstall.sh
	chmod +x rhel3_pre_install.sh
	chmod +x postInstall.sh

preINstall.sh will prepare your machine for Successful oracle installation. It will take care of following things:
	- Updating your system with reuired RPMs
	- Creating users/groups
	- setting environment variables (ORACLE_SID, ORACLE_HOME, ORACLE_BASE, LD_LIRARY_PATH etc)
	- Adding Oracle executables (sqlplus, lsnrctl, oemctl, emca to your execute path)
	- updating /etc/profile (for persistence of environment variables)

STEP 3: Execute runInstaller.sh from Oracle CDs as user oracle with password redhat. Follow the install wizard and you will successfully create a database name nic. If you want to change the database name or Installation Directory then please update /etc/profile with same and change the related Environment variables.

STEP 4: Once the installation is finished, please execute postInstall.sh as user root.It will take care of following things:
	- Automating Oracle Startup and Shutdown process

NOTE : In case of any problem with these scripts please write a mail to sanjiv_chauhan@yahoo.com with subject "Oracle 9i Release 2 on RHEL 3 Install problem".




1