Wednesday, May 11, 2011

Installation steps of Oracle on Unix,Linux and Solaris

General instruction of Installation and configuration of oracle software in Unix, Linux and Solaris

1)download and unzip the software

2)hostname configuration
vi /etc/hosts

3)Kernel setup

  3.1 set the kernel parameter
     # vi /etc/sysctl.conf
     -- enter the shmmin,shmmax,shmmni,semmns,semmsl,semops
     -- Make the parameter permanent
     # /sbin/sysctl -p

  3.2 set the secuirty lmits of the file
     # vi /etc/security/limits.conf
hard noproc
soft noproc
hard nofile
soft nofile
   3.3 set the login parameters if it is not present
      # vi /etc/pam.d/login
      session required
   3.4 Sometime selinux disable required
vi /etc/seslinux/config

4)Configuration setup
   4.1 install the required packages
       rpm -uvh  
some common package name like openmotife,gcc,compat,setsearch
   4.2 create user and group. Generally the username is oracle and group are dba and oinstall which are primary and secondary group.
        #groupadd dba
#groupadd oinstall
#useradd -g oinstall -G dba oracle
#passwd oracle

   4.3 Create the directory and assign the user  to the directory of software installation
#mkdir -p /u01/app/oracle/product/10.1.0/db_1
#chown -R oracle.dba /u01/oracle

   4.4 In some release of linux you have to set redhat release number for compatibilty
       #vi /etc/redhat-release

   4.5 Make xhost entry
#xhost +

   4.4 set the .bash_profile. set the different variables which are required for oracle installation.
        #vi .bash_profile
        Set the shell on which you are going to work as oracle user.


5) Installation steps
   5.1 set the display parameter
       DISPLAY=:0.0; export DISPLAY

   5.2 Login as oracle user and envoke the Oracle universal installer
6) post installation steps
   6.1 give the directory where the software needs to be install
   6.2 Login as root and run the so that all the required permission will be transfer to oracle user for the drive.

Next are generic steps which will be by just click of button and depends upon your requirement.


No comments:

Post a Comment