Vous êtes sur la page 1sur 4

To Install Oracle 9i on RedHat Enterprise Linux

ES/AS 4 (Any Update)


I. Pre-Installation
1) Creating Oracle User Accounts
su root
groupadd dba # group of users to be granted with SYSDBA
system
privilege
groupadd oinstall # group owner of Oracle files
useradd oinstall -g dba -md /home/oracle9i oracle9i
passwd oracle9i
2) As root user edit the /etc/sysctl.conf file by adding the following lines:
kernel.sem = 250 32000 100 128
kernel.shmmax = 1073741824(shmmax is set to 1 GB provided
the RAM
size >=1GB )
fs.file-max = 65536
net.ipv4.ip_local_port_range=1024 65000

2) Applying patches
Download the following patches from metalink.oracle.com
Patch 1 : 3006854
Patch 2 : 3095277
Patch 3 : 4198954
As a root unzip Patch1 and run it to apply:
root> unzip p3006854_9204_LINUX.zip
root>cd 3006854
root>sh rhel_pre_install.sh
As a oracle user unzip Patch 2 and apply it using cpio command:
oracle9i>unzip p3095277_9204_LINUX.zip
oracle9i> cpio -idmv < 9204_lnx32_release.cpio
As root user unzip the Patch3 to extract the rpms and apply it as follows:
root>unzip p4198954_40_LINUX.zip
root>rpm -ivh compat-libcwait-2.1-1.i386.rpm
root>rpm -ivh compat-oracle-rhel4-1.0-5.i386.rpm
II. Installation
To install the software Login as oracle user:
Copy the installation software to the oracle user's home directory
Browse to the first disk i.e, Disk 1 and locate runInstaller file
Run the runInstaller file as follows :
./runInstaller
Follow the instructions to complete the installation
NOTE:
Errors during installation:
1) The Oracle Universal Installer will prompt you to run orainstRoot.sh
Open another session and run following file as a root
root> /tmp/orainstRoot.sh
2)Ignore the fiollowing errors :
../ins_oemagent.mk .....ignore
../ins_ctx.mk ......ignore
3) At the end of the installation the Oracle Universal Installer will prompt you to run
root.sh
Open another session and run following file as a root
root> /home/oracle9i/OraHome1/root.sh

III. Post Installation
1) Edit the .bash_profile by including the following lines:
export ORACLE_HOME=<Home path for Oracle Software binaries>
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH=$ORACLE_HOME/bin:$PATH
export THREADS_FLAG=native
export LD_ASSUME_KERNEL=2.4.19
2)Create a database either manually or by using Database Configuration Assistant

Vous aimerez peut-être aussi