Installation of Oracle Database 10g Release 2

This guide describes how to install and configure Oracle Database 10g release 2 (10.2.0) 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 Database 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. Mount the Product Disc
  4. Start the Install Navigator for Oracle
  5. Select the Installation type
  6. Select the source media
  7. Check the Version
  8. Configure the Linux User
  9. Set the oracle user password and the home directory
  10. Set the environment of the oracle user
  11. Set the environment variables of Apache Software
  12. Configure the installation of Oracle
  13. Select Installation Method
  14. Specify Inventory directory and credentials
  15. Specify Home Details
  16. Select Installation Type
  17. Product-Specific Prerequisite Checks
  18. Select Configuration Option
  19. Select Database Configuration
  20. Specify Database Configuration Options
  21. Select Database Management Option
  22. Specify Database Storage Option
  23. Specify Backup and Recovery Options
  24. Specify Database Schema Passwords
  25. Review the installation Summary
  26. Run Configuration Assistant
  27. Run scripts by root user
  28. 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/app/oracle".
      7. Determine the Oracle Home.
        The default directory is "/opt/app/oracle/product/10.2.0/db_1".

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

      Physical memory(RAM) 1024MB
      Disk space For software files:1.5GB - 3.5 (depend on the oracle option products)
      For database files:1.2GB (/tmp: 400MB)
      Swap space RAM = 1GB - 2GB : 1.5 times the size of RAM
      RAM = 2GB - 8GB : same size of RAM
      RAM = 8GB - more: 0.75 times the size of RAM

      Note:

      If there is less than 400 MB of disk space available in the /tmp directory, set the TEMP and TMPDIR environment variables to the oracle user 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 has more than 400MB 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. Mount the Product Disc
    6. Log in and switch user to root. In order to mount the disc, enter a command similar to the following:

      $ su -
      # mount /mnt/cdrom


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

      # oranavi


    9. Select the Installation type
    10. 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.

    11. Select the source media
    12. Specify the installation media.

      Menuกก

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


      • Hard Disk
        Choose Hard Disk, 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 Hard Disk, and specify the path in the response directory if you prefer, then Click Next.



    13. Check the Version
    14. Check the Product Version that you plan to install, then Click OK.

      Check the Version


    15. Configure the Linux User
    16. 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.



    17. Set the oracle user password and the home directory
    18. 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.

    19. Set the environment of the oracle user
    20. 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.

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

      Set variables of Apache


    23. Configure the installation of Oracle
    24. If Start the installation now, Click Yes. Otherwise Click No.


    25. Select Installation Method
    26. Select "Basic Installation" or "Advanced Installation". In this document, we select "Advanced Installation", then Click Next.

      Welcome

    27. Specify Inventory directory and credentials
    28. Specify the full path of the inventory directory, and operating system group name which is suppose to be "oinstall". Then, Click Next.

      Inventory Location

    29. Select Installation Type
    30. Select the installation type, then Click Next. At this time select "Enterprise Edition".

      Installation Types

    31. Specify Home Details
    32. In the Destination section, specify the Path value for the Oracle home directory, then Click Next.

      Home Details

    33. Product-Specific Prerequisite Checks
    34. Verify that all of the prerequisite checks succeed, then Click Next.

      Prerequisite Checks

    35. Select Configuration Option
    36. Select "Create a database" or "Configure Automatic Storage Management (ASM)" or "Install database Software only". At this time select "Create a database". Accept the default values, then click Next.

      Configuration Option

    37. Select Database Configuration
    38. Select one of database types. At this time select "General Purpose". Accept the default values, then click Next.

      Database Configuration

    39. Specify Database Configuration Options
    40. Specify the Global Database Name which is also used for the SID, and select Database Character Set. The SID should be equal to the SID environment variable.

      Database Configuration Options

    41. Select Database Management Option
    42. Select the management options for this instance. At this time select the "Database Control". Accept the default values, then click Next.

      Database Management Option

    43. Specify Database Storage Option
    44. Select the storage mechanism for database creation. At this time select the "File System" and specify the database file location. then click Next.

      File System

    45. Specify Backup and Recovery Options
    46. Select whether or not to enable automated backups. At this time select the "Do not enable Automated backups". Accept the default values, then click Next.

      Auto Backup

    47. Specify Database Schema Passwords
    48. Enter and confirm passwords for all of the privileged database accounts, then click Next.

      Database Schema Passwords

    49. Review the installation Summary
    50. Review the information displayed, then Click Install.

      Summary Install

    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 Configuration Tools

    53. Run scripts by root user
    54. After the configuration assistants, this window appears. Then, run the following scripts in a separate terminal window as root user:

      # /opt/app/oracle/oraInventory/orainstRoot.sh

      # /opt/app/oracle/product/10.2.0/db_1/root.sh

      root.sh

    55. End of Installation
    56. 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-2009 MIRACLE LINUX CORPORATION