Pages

Monday, March 26, 2012

Oracle Server Installation

Installation of Oracle 10gR2(10.2.0.1) on  OEL(Oracle Enterprise Linux)

On Linux

  • Create Partitions
  • Formating using ext3
  • Mount points on a file system /u01   /u02   /u03   /opt   /var

Steps to Install Oracle 

Step 1

  • Creation of Group and User
        $groupadd dba
        $useradd -g dba -d /home/oracle

Step 2 

Creation of Directory Structure

 $mkdir -p /u01/Oracle/product/10.2.0/db_1

here option -p indicates --> it creates directories recursively

change ownership and permissions of that directory structure

$chown -R Oracle:dba /u01/Oracle 

Step 3

Setting Kernel Parameters
$ vi /etc/sysctl.conf
if we modify kernel parameters then we have to restart the system or execute this command
/sbin/sysctl

Step 4

Assign read write execute permissions of Oracle 10g software to Oracle user because to install software we need permissions

Step 5

xhost + (This command enables gui display settings)
su - Oracle
cd /Oracle10gsoftware/database
./runInstaller










 Step 6

Post Installation Script - After successful installation we must execute the following script from root level
/u01/Oracle/product/10.2.0/db_1/root.sh


***********************************************************************************
 

No comments:

Post a Comment