Installation of Oracle Database 10g

This guide describes how to install and configure Oracle Database 10g Release 1 for Linux x86-64 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 Oracle10g Database 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. Check kernel parameters
  4. Check required packages
  5. Mount the Product Disc
  6. Start the Install Navigator for Oracle
  7. Select the Installation type
  8. Select the source media
  9. Check the Version
  10. Configure the Linux User
  11. Set the oracle user password and the home directory
  12. Set the environment of the oracle user
  13. Set the environment variables of Apache Software
  14. Configure the installation of Oracle
  15. Start the Oracle Universal Installer
  16. Specify Inventory directory and credentials
  17. Run orainstRoot.sh
  18. Specify File Locations
  19. Select Installation Type
  20. Select Database Configuration
  21. Specify the Database Identification
  22. Select Database Management Option
  23. Specify Database File Storage Option
  24. Specify Backup and Recovery Options
  25. Specify Database Schema Passwords
  26. Review the installation Summary
  27. Run Configuration Assistant
  28. Database Configuration Assistant
  29. Run root.sh
  30. 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.1.0/db_1


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

      Physical memory(RAM) 512MB
      Disk space For software files:2.5GB
      For database files:1.2GB
      (/tmp: 400MB)
      Swap space 1GB or twice the size of RAM
      (On systems with 2GB or more of RAM, 1-2 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fs 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 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. Check kernel parameters
    6. MIRACLE LINUX V3.0 is optimized for Oracle. Therefore changing kernel parameters is not needed. If you would like to change kernel parameters, modify the file /etc/sysctl.conf.


    7. Check required packages
    8. @The followings are required packages for Oracle10g.

          gcc-3.2.3-42.2-x86_64
          glibc-2.3.2-95.27.1AX-i686
          glibc-2.3.2-95.27.1AX-x86_64
          glibc-devel-2.3.2-95.27.1AX-i386
          glibc-devel-2.3.2-95.27.1AX-x86_64
          make-3.79.1-17-x86_64
          openmotif21-2.1.30-8-i386
          setarch-1.3-1-x86_64
          compat-db-4.0.14-5-i386
          compat-db-4.0.14-5-x86_64
          compat-gcc-7.3-2.96.128-i386
          compat-gcc-c++-7.3-2.96.128-i386
          compat-libstdc++-7.3-2.96.128-i386
          compat-libstdc++-devel-7.3-2.96.128-i386
          gnome-libs-1.4.1.2.90-34.1-i386
          gnome-libs-1.4.1.2.90-34.1-x86_64
          libaio-0.3.96-3-x86_64
          libaio-devel-0.3.96-3-x86_64
      


    9. Mount the Product Disc
    10. 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


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

      # oranavi


    13. Select the Installation type
    14. 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.


    15. Select the source media
    16. Specify the installation media.

      Select the source 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.



    17. Check the Version
    18. Check the Product Version that you plan to install, then Click OK.

      Check the Version


    19. Configure the Linux User
    20. 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.



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


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

      • 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.


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

      Set variables of Apache


    27. Configure the installation of Oracle
    28. If Start the installation now, Click Yes. Otherwise Click No.


    29. Start the Oracle Universal Installer
    30. Start Oracle Universal Installer. then, Click Next.

      Welcome

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

      Inventory Location

    33. Run orainstRoot.sh
    34. 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

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

      File Locations

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

      Installation Types

    39. Select Database Configuration
    40. Choose either to create a database with this installation or install the software only. At this time select "Create a starter database" and "General Purpose". Accept the default values, then click Next.

      Database Configuration

    41. Specify the Database Identification
    42. 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 Identification

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

      Oracle Enterprise Manager

    45. Specify Database File Storage Option
    46. 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

    47. Specify Backup and Recovery Options
    48. 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

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

      Database Schema Passwords

    51. Review the installation Summary
    52. Review the information displayed, then Click Install.

      Summary

      Install


    53. Run Configuration Assistant
    54. 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

    55. Database Configuration Assistant
    56. Database Configuration Assistant appears, then creates database automatically.

      Configuration Tools

      After database creation is completed, the following window appears. Follow the messages on this window, then click OK to close this window.

      Database Configuration Assistant

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

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

      root.sh

    59. End of Installation
    60. 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