Skip Headers

Oracle® Database Installation Guide
10g Release 1 (10.1) for UNIX Systems: AIX-Based Systems, hp HP-UX PA-RISC (64-bit), hp Tru64 UNIX, Linux x86, and Solaris Operating System (SPARC)
Part No. B10811-01
  Go To Table Of Contents
Contents
Go To Index
Index

Previous Next  

3 Installation Tasks

This chapter describes how to start the Oracle Universal Installer and install Oracle products on your system. It includes information about the following topics:


Note:

Review the information in Chapter 1, " Installation Overview" and complete the tasks listed in Chapter 2, " Pre-installation Tasks" before beginning the installation.

Installation Overview

The Oracle Database software is available on disc (CD-ROM or DVD-ROM) or you can download it from the Oracle Technology Network (OTN) Web site. In most cases, you use the graphical user interface (GUI) provided by the Oracle Universal Installer to install the software. However, you can also use the Installer to complete non-interactive installations, without using the GUI. See Appendix B for information about non-interactive installations.

This chapter describes how to install Oracle Database from the product media or from the hard disk. To install the software from the hard disk, you must either download it from OTN and unpack it, or copy it from the discs, if you have them. See one of the following sections, depending on the method that you want to use:


Note:

If the Oracle Database 10g software for your platform is on two discs, you can avoid having to change discs during the installation by running the Installer from the DVD-ROM or by copying the contents of the installation discs to a hard disk.

Download Oracle Software from the OTN Web Site

This section describes how to download the installation archive files and extract them on your hard disk.


Downloading the Installation Archive Files

To download the installation archive files from OTN:

  1. Use any browser to access the software download page on OTN:

    http://otn.oracle.com/software/
    
    
  2. Navigate to the download page for the product that you want to install.

  3. On the download page, identify the required disk space by adding the file sizes for each required file.

    The file sizes are listed next to the filenames.

  4. Select a file system with enough free space to store and expand the archive files.

    In most cases, the available disk space must be at least twice the size of all of the archive files.

  5. On the file system that you selected in step 4, create a parent directory for each product, for example OraDB10g, to hold the installation directories.

  6. Download all of the installation archive files to the directory that you created in step 5.

  7. Verify that the files you downloaded are the same size as the corresponding files on OTN.


Extracting the Installation Files

To extract the installation archive files, perform the following steps:

  1. If necessary, change directory to the directory that contains the downloaded installation archive files.

  2. To uncompress each file, enter a command similar to the following:

    $ gunzip filename.cpio.gz
    
    

    This command creates files with names similar to the following:

    filename.cpio
    
    
  3. To extract the installation files, enter commands similar to the following:

    $ cpio -idmv < filename.cpio
    

    Note:

    Some browsers uncompress files while downloading them, but leave the .gz file extension. If these steps do not work, remove the .gz extension from the files and repeat step 3.

    For each file, this command creates a subdirectory named Diskn, where n is the disk number identified in the filename.

When you have extracted all of the required installation files, see the "Install the Oracle Database Software" section.

Copy the Oracle Database Software to a Hard Disk

If the software for Oracle Database 10g requires two discs on your platform, you can avoid having to mount and unmount discs during the installation by copying the contents of each CD-ROM to a hard disk on the system, or by installing the software from the DVD-ROM.


Note:

If your system does not have a CD-ROM or DVD-ROM drive, you can copy the software from the discs to a file system on another system, then either mount that file system using NFS, or use FTP to copy the files to the system where you want to install the software.

To copy the contents of the discs to a hard disk:

  1. Create a single directory on the hard disk to hold the Oracle software:

    $ mkdir OraDb10g
    
    
  2. Change directory to the directory you created in step 1:

    $ cd OraDb10g
    
    
  3. Create subdirectories for each installation disc with names similar to the following, where n is the disc number:

    $ mkdir Diskn
    
    
  4. Mount the first disc, if it is not already mounted.

    Some platforms automatically mount the disc when you insert it into the drive. If the disc does not mount automatically, see Appendix A for platform-specific information about mounting it.

  5. Copy the contents of the mounted disc to the corresponding new subdirectory as follows:

    $ cp -R /directory_path Diskn
    
    

    In this example, n is the number of the installation CD-ROM and /directory_path is the CD-ROM mount point directory or the path of the db directory on the DVD-ROM. The following table lists typical mount point directories for each platform:

    Platform Mount Point
    AIX, Tru64 UNIX /cdrom
    HP-UX /SD_CDROM
    Linux (Red Hat) /mnt/cdrom
    Linux (UnitedLinux) /media/cdrom
    Solaris (mounted automatically) /cdrom/cdrom0
    Solaris (mounted manually) /cdrom

  6. If necessary, mount the next disc and repeat step 5.

After you have copied all of the required discs, see one of the following sections, depending on your platform:

AIX Only: Run the rootpre.sh Script


Note:

Do not run the rootpre.sh script if you have a later release of the Oracle Database software already installed on this system.

On AIX systems, run the rootpre.sh script:

  1. Switch user to root:

    $ su - root
    
    
  2. Complete one of the following steps, depending on the location of the installation files:

    • If the installation files are on disc, enter a command similar to the following, where directory_path is the CD-ROM mount point directory or the path of the db directory on the DVD-ROM:

      # /directory_path/rootpre.sh 
      
      
    • If the installation files are on the hard disk, change directory to the Disk1 directory and enter the following command:

      # ./rootpre.sh
      
      
  3. Exit from the root account:

    # exit
    
    

Install the Oracle Database Software

The following sections describe how to install the Oracle software:

Reviewing Product-Specific Installation Guidelines

Review the following guidelines before starting the Installer:

  • Oracle Universal Installer

    Do not use the Oracle Universal Installer from an earlier Oracle product release to install components from this release.

  • Oracle Label Security

    To install the Oracle Label Security (OLS) option, you must choose a Custom installation type.


    Note:

    Before you perform a custom installation, make sure all databases in the Oracle home where you want to install Oracle Label Security are shut down.

    If you want to configure OLS to use Oracle Internet Directory (OID), you must choose the OID option when running the DBCA.

  • Installations on a Cluster

    If Oracle Cluster Ready Services (CRS) and Oracle Real Application Clusters (RAC) are already installed on the system, the Installer displays the Specify Hardware Cluster Installation Mode screen. You must select Local Installation on this screen, unless you want to install Oracle Real Application Clusters.

    If you do want to install Oracle Real Application Clusters, see the Oracle Real Application Clusters Installation and Configuration Guide instead of using this guide.

  • Re-installing Oracle Software

    If you re-install Oracle software into an Oracle home directory where Oracle Database is already installed, you must also re-install any components, such as Oracle Partitioning, that were installed before you began the re-installation.

Running the Oracle Universal Installer

Start the Installer and install the software, as follows:

  1. If you are installing the software from disc, mount the appropriate disc if it is not already mounted.

    Some platforms automatically mount discs when you insert them into the drive. If the disc does not mount automatically, see Appendix A for platform-specific information about mounting it.

  2. If necessary, log in as the Oracle software owner user (oracle) and set the DISPLAY environment variable.

  3. To start the Installer, enter the following commands where directory_path is the CD-ROM mount point directory or the path of the db directory on the DVD-ROM:

    $ cd /tmp
    
    $ /directory_path/runInstaller
    
    

    If the Installer does not appear, see the "X Windows Display Errors" section for information troubleshooting.

  4. Use the following guidelines to complete the installation:

    • Follow the instructions displayed in the Installer windows. If you need additional information, click Help.

    • When the Installer prompts you to run a script with root privileges, enter a command similar to the following in a terminal where you are logged in as the root user, then click Continue or OK:

      # /script_path/script_name
      
      
    • When prompted for the SYS, SYSTEM, SYSMAN, and DBSNMP passwords, Oracle recommends that the passwords you specify:

      • Are at least four characters long

      • Are not the same as the user names

      • Have at least one alphabetic, one numeric, and one punctuation mark character

      • Are not simple or obvious words, such as welcome, account, database, or user


      Note:

      You must remember the passwords that you specify.

    • On Tru64 UNIX, when prompted for the JDK home directory specify the location of JDK 1.4.2 on your system.

      To determine the JDK home directory, enter the following command:

      # /usr/sbin/setld -i JAVA142 | more
      
      

      The default location is /usr/opt/java142.


      Caution:

      The Oracle Universal Installer automatically installs the Oracle-supplied version of the Java Runtime Environment (JRE). This version is required to run Oracle Universal Installer and several Oracle assistants. Do not modify the JRE except by using a patch provided by Oracle Support Services.

    • On some platforms, if you run the Installer from CD-ROM, you must change discs during the installation. To change discs, unmount the current disc and mount the next disc. See Appendix A for platform-specific information about unmounting and mounting discs.

    • If you encounter errors while installing or linking the software, see Appendix D for information about troubleshooting.

  5. If you chose an installation type that runs DBCA and Oracle Net Configuration Assistant (NetCA) in interactive mode, you must provide detailed information about configuring your database and network.

    If you need assistance when using the DBCA or NetCA in interactive mode, click Help on any screen.


    Note:

    If you chose a default installation, the DBCA and NetCA run non-interactively.

  6. When all of the configuration tools have finished, click Exit, then click Yes to exit from the Installer.

  7. See Chapter 4, " Post-installation Tasks" for information about tasks that you must complete after you have installed the software.