Installation of Oracle Application Server 10g

This guide describes how to install and configure Oracle Application Server 10g release 1 (9.0.4) on UNIX systems with the Install Navigator for Oracle. Read the release notes for the product on your platform before installing it. The release notes are available on the Oracle Application Server 10g disc. The latest version of the release notes is also available on the OTN Web site:
http://otn.oracle.com/documentation/


INDEX

  1. Preparation
  2. Check the Installation Requirements
  3. Set the environments
  4. Mount the Product Disc
  5. Start the Install Navigator for Oracle
  6. Select the Installation type
  7. Select the source media
  8. Confirm the Version
  9. Set the information of User Account
  10. Configure the type of the user
  11. Set the environment of the oracle user
  12. Set the environment variables of Apache Software
  13. Configure the installation of Oracle
  14. Start the Oracle Universal Installer
  15. Specify Inventory directory
  16. Specify Installation Group Name
  17. Run orainstRoot.sh
  18. Specify File Locations
  19. Select a product to install
  20. Select the Installation Type
  21. Preview of Steps for Installation
  22. Check the Root privilege
  23. Select Database Configuration
  24. Select Configuration Options
  25. Specify Instance Name and ias_admin Password
  26. Review the installation Summary
  27. Run Configuration Assistant
  28. Run root.sh
  29. End of Installation


    1. Preparation
    2. Before starting installation, you should consider the following things:

      1. Prepare Installation CD-ROM
      2. Determine the Installation user name.
        The default name is oracle, and the user is automatically created by the Install Navigator for Oracle.
      3. Determine the Installation group name.
        The default name is oinstall, and the group is automatically created by the Install Navigator for Oracle.
      4. Determine the Administration group name.
        The default name is dba, and the group is automatically created by the Install Navigator for Oracle.
      5. Determine the Oracle SID.
        The default name is orcl.
      6. Determine the Oracle Base.
        The default directory is /opt/oracle
      7. Determine the Oracle Home.
        The default directory is /opt/oracle/product/9.0.4/as_1


    3. Check the Installation Requirements
    4. The system must meet the following minimum hardware requirements.

      CPU PentiumIII 450MHz
      Physical memory(RAM) Java Developer Topology:512MB
      Portal and Wireless Developer:1GB
      OracleAS Infrastructure 10g:1GB
      Disk space Java Developer Topology:520MB
      Portal and Wireless Developer:1.1GB
      OracleAS Infrastructure 10g:2.5GB
      Space in /tmp Java Developer Topology:250MB
      Portal and Wireless Developer:250MB
      OracleAS Infrastructure 10g:250MB
      Swap space Java Developer Topology:1.5GB
      Portal and Wireless Developer:1.5GB
      OracleAS Infrastructure 10g:1.5GB
      JDK Prepackaged JDK1.4.2

      Note:

      If there is less than 250 MB of disk space available in the /tmp directory, set the TEMP and TMPDIR environment variables to the oracle user”Ēs environment. The Install Navigator for Oracle would unknowingly switch user from root to oracle, hence to set these environment variables for the root user's environment doesn't work at all this time.

      1. Create a directory that have less than 250MB free disk space.

        # mkdir /opt/tmp
        # chmod 1777 /opt/tmp

      2. Add the TEMP, TMPDIR environment variables to the oracle user's shell startup file(.bash_profile)

        export TEMP=/opt/tmp
        export TMPDIR=/opt/tmp


    5. Set the environments
    6. In order to install Oracle Application Server 10g in Asianux, you need to configure this system as described below. In this seciton you will learn how to use Oracle Application Server 10g with oracle9i_support package and without it.

      The case of using oracle9i_support :

      oracle9i_support is equivalent fanctionality to the patch #3006854 . You do not need to apply additional patch if you have installed this package.

      1. oracle9i_support is not installed by default. You need to install manually from Asianux Install CD.
      2. # rpm -ivh /mnt/cdrom/Asianux/RPMS/oracle9i_support-1.0-2AX.i386.rpm  
        
      3. Change the version of gcc from 3.2.3 to 2.96. It can be done using chgcc.sh script provide by oracle9i_support.
      4. # chgcc.sh -v 296 
        
        Upon the completion, you need to revert the version of gcc back to 3.2.3. To do that please execute chgcc.sh script as following.

        # chgcc.sh -v 323
        
      5. Please proceed to the next step.

      The case of not using oracle9i_support :

      1. Change gcc and g++

        Put gcc296 and g++296 first in the $PATH variable by creating the following symbolic links. These are required for the relinking of some Oracle binaries as the root user:

        # mv /usr/bin/gcc /usr/bin/gcc323
        # mv /usr/bin/g++ /usr/bin/g++323
        # ln -s /usr/bin/gcc296 /usr/bin/gcc
        # ln -s /usr/bin/g++296 /usr/bin/g++

        To restore the system to gcc3.2.3 after the Oracle installation type:

        # rm /usr/bin/gcc
        # rm /usr/bin/g++
        # mv /usr/bin/gcc323 /usr/bin/gcc # mv /usr/bin/g++323 /usr/bin/g++

      2. Install the 3006854 patch

        To install the patch for your system as the root user, Enter a command similar to the following:

        # unzip p3006854_9204_LINUX.zip
        # cd 3006854
        # sh rhel3_pre_install.sh

      3. Please proceed to the next step.

    7. Mount the Product Disc
    8. Log in and switch user to root. In order to mount the disc, right-click the Desktop and then click Mount or enter a command similar to the following:

      $ su -
      # mount /mnt/cdrom


    9. Start the Install Navigator for Oracle
    10. To run Install Navigator for Oracle as the root user, Enter a command similar to the following:

      # oranavi


    11. Select the Installation type
    12. Start Install Navigator for Oracle. Select the Operation type from following choices, then Click Next.


      Menu

      • Oracle DBMS Installation
        Install the Oracle Database.


      • Oracle AS Installation
        Install the Oracle Application Server


      • Setting Automatic Startup and Shutdown of Database instances
        Setup an automatic start up and shutdown Oracle instances during Linux system startup or shutdown.


    13. Select the source media
    14. Specify the installation media.

      • CD-ROM
        Install from the installation CD-ROM.
        Insert the appropriate disc into the disc drive, and Click Next.


      • Harddisk
        Choose Harddisk, when you install from the hard drive, or install from the disc drive at a remote machine.

        In this case, you can install without the Installation CD-ROM at the installation target machine.
        Choose Harddisk, and specify the path in the response directory if you prefer, then Click Next.



    15. Check the Version
    16. Check the Product Version that you plan to install, then Click OK.

      Check the Version


    17. Configure the Linux User
    18. Specify the local Unix groups and user, then Click Next.

      Configure the Linux User

      • Installation group
        This is the Oracle Inventory group.
        The default name is oinstall.


      • Administration group
        This is the OSDBA group.
        The default name is dba.


      • Installation and Administration User
        This is the Oracle Software owner.
        The default name is oracle.



    19. Set the oracle user password and the home directory
    20. Specify the oracle user password and user home directory, then Click Next.

      the oracle user information

      • Password
        Type in the user password.


      • Password(Retype)
        Verify password by retyping.


      • Home Directory
        Specify the user's home directory.
        The default directory is /home/username.


    21. Set the environment of the oracle user
    22. The ORACLE_BASE, ORACLE_HOME and ORACLE_SID environment variables, then Click Next.

      Set the environment variables

      • ORACLE_BASE
        The root of the Oracle directory tree.


      • ORACLE_HOME
        A subdirectory under ORACLE_BASE and a directory where the Oracle software is installed.


      • ORACLE_SID
        The database instance identifier.


    23. Set the environment variables of Apache Software
    24. If Add some environment variables of the Oracle Database to the Apache configured file, Click Yes. Otherwise Click No.

      Set variables of Apache


    25. Configure the installation of Oracle
    26. If Start the installation now, Click Yes. Otherwise Click No.


    27. Start the Oracle Universal Installer
    28. Start Oracle Universal Installer. then, Click Next.

      Welcome

    29. Specify Inventory directory and credentials
    30. Specify the full path of the inventory directory, then, Click Next.

      Inventory Location

    31. Run orainstRoot.sh
    32. Only during the first installation of Oracle products on a system, run $ORACLE_BASE/oraInventory/orainstRoot.sh in a separate terminal window as the root user:

      # /opt/oracle/orainstRoot.sh

      After running the script, Click Continue.

      /opt/oracle/orainstRoot.sh

    33. Specify File Locations
    34. In the Destination section, specify the Path value for the Oracle home directory, then Click Next.

      File Locations

    35. Select a product to install
    36. Select the installation product, then Click Next. At this time select "Oracle Application Server 10g".

      Installation Products

    37. Select the installation Type
    38. Select the installation type, then Click Next. At this time select "J2EE and Web Cache".

      Installation Types

    39. Preview of Steps for Installation
    40. Confirm that all of the required information with the installation, then Click Next.

      Preview of Steps

    41. Check the Root privilege
    42. Select the "Root privileges" that is just a reminder for the root.sh script, the Click Next.

      Check the privileges

    43. Select Configuration Options
    44. Select the components that automatically start at the end of the installation, the Click Next. At this time choose the defaults only.

      Configuration Options

    45. Specify Instance Name and ias_admin Password
    46. Enter a name for the instance that must be unique on a computer. Also, enter and confirm the password for the ias_admin user that is administrative user for this instance.

      Admin Information

    47. Review the installation Summary
    48. Review the information displayed, then click Install.

      Summary root.sh

    49. Run root.sh
    50. After the configuration assistants, this window appears. Then, run the $ORACLE_HOME/root.sh in a separate terminal window as the root user:

      # /opt/oracle/product/9.0.4/as_1/root.sh

      root.sh

    51. Run Configuration Assistant
    52. The Configuration Assistants screen displays status information for some configuration assistants that configure the software and create a database. After the Database Configuration Assistant finishes, click OK to continue.

      Configuration Tools

    53. End of Installation
    54. This is the End of Installation. The configuration assistants configure several Web-based applications. This screen displays the URLs configured for these applications. Make a note of the URLs used.


    logo
    Copyright(C) 2000-2004 MIRACLE LINUX CORPORATION