Tuesday, 22 November 2011

Install Oracle Applications R12 on Linux

This article describes the single-node installation of Oracle Applications R12 on RedHat Linux 4 (CentOS 4 & Oracle Linux)  


    For this installation type is good to have one personal computers/ laptop with this configuration:
  •  Pentium 4 Processor 
  • 1Gb RAM
  • 200 Mb Hard Disk
  • 1 network card (Linux compatible). ( D-Link DFE-530 TX network card could be used ) 




    Software Link
    Oracle Applications R12 http://edelivery.oracle.com/
    CentOS 4 (a Red Hat 4 Linux version) http://isoredirect.centos.org/centos/4/isos/
    Compatibility files for running Oracle on RHEL 4: compat-oracle-rhel4-1.0-5.i386.rpm
    compat-libcwait-2.1-1.i386.rpm

    http://oss.oracle.com/projects/compat-oracle/files/RedHat/




        I suggest a full Linux installation even if there are some components which are not necessary to spend less time and to have all we need for the Oracle Applications installation. I suggest also on the both computers to create 1Gb tmp directory and a 2Gb swap directory.   



        Oracle Applications are downloaded in a compressed format, so these files cannot be used directly for the installation. For this reason the files must be unzipped in the same directory to create the staging directory:
        For that we have to:
  •  create a directory which can be read/ write by all users for the download ( for example /media/usbdisk/download );
  •  create a directory which can be read/ write by all users for the staging ( for example /media/usbdisk/APPS ); 
  •  unzip all the Oracle Application zip files in the staging directory.
    If we have the Oracle DVDs / CDs with the Oracle Applications installation kit, we have to follow the next steps to set up a staging directory:
  • insert the Start Here disk in the CD-ROM (DVD-ROM) drive
  • $ cd /media/cdrecorder/Disk1/rapidwiz
  • run the AutoStage script: $ perl adautostg.pl
  • set up the stage area directory 
  • indicate the components to be staged
      

    Preparing the Linux environment for the installation

        In order to have a Linux environment ready for the Oracle Applications R12 single-tier installation we have to:

        1) create the oracle Linux user account. The oracle user must be a member of the dba group as well

        2) create /APPS directory (owned by oracle:dba

        3) install compatibility files for running Oracle on RHEL 4
          
            rpm -ihv compat-oracle-rhel4-1.0-5.i386.rpm
            rpm -ihv compat-libcwait-2.1-1.i386.rpm



        The Oracle Applications R12 single-node installation is done with the oracle account (or root account for making applmgr user owner of the appsTier ). 
       
        1. Start the installation on the database tier:
          cd /media/usbdisk/12i_APPS_Stage/startCD/Disk1/rapidwiz
           ./rapidwiz
       
         Here are the windows which appears and the responses we have to choose:

    Install Oracle 
Applications R12 on Linux

    Select "Next".

    Install Oracle 
Applications R12 on Linux

    Check "Use Express Install" (The Oracle Applications settings will be done automatically).
         Select "Next".

    Install Oracle 
Applications R12 on Linux 
    Check "Accept Oracle Connection Tools Agreement"
         Select "Next".

    Install Oracle 
Applications R12 on Linux
    Enter the CSI and Metalink Account. Select "Next".
    Install Oracle 
Applications R12 on Linux
    Choose the Installation configuration you want.  Press "Next".
    Install Oracle 
Applications R12 on Linux

    Select "Next" if all is ok, if not fix the error.

    Install Oracle 
Applications R12 on Linux
    Press "Next".
    Install Oracle 
Applications R12 on Linux
    Wait until the installation will complete.
    NOTE:    If the installation looks not to advance that could be verified by looking to the CPU utilization or/ and disk activity (io). vmstat utility could be used for this.
    Install Oracle 
Applications R12 on Linux
    Select "Next".
    Install Oracle 
Applications R12 on Linux
     Press "Connect to Oracle Applications Release 12" to test if the Oracle Applications are running. 
         Press "Finish".
         Now the installation is done.
    Install Oracle 
Applications R12 on Linux
    Login page in R12.

    Install Oracle 
Applications R12 on Linux
    Login as sysadmin.

No comments: