Skip Headers
Oracle® Database Client Installation Guide
11g Release 1 (11.1) for AIX Based Systems

B32077-07
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

3 Installing Oracle Database Client

The Oracle Client software is available on installation media or you can download it from the Oracle Technology Network Web site. In most cases, you use the graphical user interface (GUI) provided by Oracle Universal Installer to install the software. However, you can also use Oracle Universal Installer to complete silent-mode installations, without using the GUI.

See Also:

Appendix A for information about silent-mode installations

3.1 Reviewing Installation Guidelines

Review the following guidelines before starting Oracle Universal Installer:

3.2 Accessing the Installation Software

The Oracle Client software is available on installation media or you can download it from the Oracle Technology Network Web site. To install the software from the hard disk, you must either download it from Oracle Technology Network and unpack it, or copy it from the installation media, if you have it.

You can access and install Oracle Database by using one of the following methods:

3.2.1 Downloading Oracle Software from the Oracle Technology Network Web Site

This section describes how to download the installation archive files and extract them on to the hard disk. It contains the following topics:

3.2.1.1 Downloading the Installation Archive Files

To download the installation archive files from Oracle Technology Network:

  1. Use any browser to access the software download page from Oracle Technology Network:

    http://www.oracle.com/technology/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 file names.

  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 OraDB11g, 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 Oracle Technology Network.

3.2.1.2 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. If the downloaded file has the zip extension, use the following command to extract the content:

    unzip file_name.zip
    

    If the downloaded file has the cpio.gz extension, use the following command:

    $ gunzip filename.cpio.gz
    

    This command creates files with names similar to the following:

    filename.cpio
    

    To extract the installation files, enter a command similar to the following:

    $ cpio -idcmv < filename.cpio
    

    Note:

    Refer to the download page for information about the correct options to use with the cpio command.

    Some browsers uncompress files while downloading them, but leave the .gz file extension.

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

When you have extracted all of the required installation files, refer to "Installing the Oracle Client Software".

3.2.2 Copying the Software to the Hard Disk

Before installing Oracle Database, you might want to copy the software to the hard disk. This enables the installation process to run a bit faster. Before copying the installation media content to the hard disk, you must mount the disk. The following sections describe to mount disk and copy its content to the hard disk.

3.2.2.1 Mounting Disks

On most AIX systems, the disk mounts automatically when you insert it into the installation media. If the disk does not mount automatically, then follow these steps to mount it:

  1. Switch user to root:

    $ sudo - root
    
  2. If necessary, enter a command similar to the following to unmount the currently mounted disc, then remove it from the drive:

    # umount /dvd
    

    In this example, /dvd is the mount point directory for the disc drive.

  3. Insert the appropriate disc into the disc drive, then enter a command similar to the following to mount it:

    # /usr/sbin/mount -rv cdrfs /dev/cd0 /dvd
    

    In this example, /dev/cd0 is the device name of the disc drive and /dvd is the mount point directory.

  4. If Oracle Universal Installer displays the Disk Location dialog box, enter the disc mount point directory path, for example:

    /dvd
    

To continue, go to one of the following sections:

3.2.2.2 Copying the Oracle Client Software to a Hard Disk

If the system does not have a installation media, you can copy the software from the installation media 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 installation media to a hard disk:

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

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

    $ cd OraCl11g
    
  3. Mount the disk, if it is not already mounted.

    Some platforms automatically mount the disk when you insert it into the drive. If the disk does not mount automatically, refer to the "Mounting Disks" section for platform-specific information about mounting it.

  4. Copy the contents of the mounted disk to the corresponding new subdirectory as follows:

    $ cp -R /directory_path OraCl11g
    

    In this example, /directory_path is the disk mount point directory, for example /mnt/dvd on Red Hat Enterprise Linux systems, or the path of the client directory on the installation media. The mount point directory is /dvd.

  5. If necessary, mount the next disk and repeat step 5.

3.3 Enabling Asynchronous I/O

To manually enable asynchronous I/O:

  1. Start smitty aio.

  2. Run Change / Show Characteristics of Asynchronous I/O.

  3. Set the STATE to be configured at system restart as available.

Note:

This procedure does not require a system restart.

3.4 Installing the Oracle Client Software

Use Oracle Universal Installer to install the Oracle Client software. The following section describes how to install the Oracle software:

3.4.1 Running Oracle Universal Installer

This section describes the Basic Installation as a default setting. For any type of installation process, start Oracle Universal Installer and install the software, as follows:

  1. Log on as a member of the Administrators group to the computer on which to install Oracle components.

  2. If you are installing the software from installation media, mount the Client DVD if it is not already mounted.

    If the disk does not mount automatically, refer to the "Mounting Disks" section for platform-specific information about mounting it.

    Some platforms automatically mount the disk when you insert the installation media into the drive.

  3. To start Oracle Universal Installer, complete one of the following steps depending on the location of the installation files:

    Note:

    Start Oracle Universal Installer from the terminal session where you logged in as the oracle user and set the user's environment (described in Chapter 2).
    • If the installation files are on disk, enter a command similar to the following, where directory_path is the path of the client directory on the installation media:

      $ /directory_path/runInstaller
      
    • If the installation files are on the hard disk, change directory to the client directory and enter the following command:

      $ ./runInstaller
      

    If Oracle Universal Installer is not displayed, refer to the "X Window Display Errors" for information about troubleshooting.

  4. The Oracle Universal Installer guides you through the installation and configuration of various Oracle products.

    In the Welcome screen, you can scan the installed products list and deinstall the products if required. Click Next to proceed with the installaton.

  5. In the Select Installation Type screen, select the type of installation that you want: Instant Client, Administrator, Runtime, or Custom and click Next.

    See Also:

    "Oracle Client Installation Types" for more information on these installation types.
  6. In the Install Location screen, enter the following details:

    • Oracle base path: Enter the directory location for Oracle base. Do not include spaces in the path name.

    • Name: Enter the name of the Oracle home.

      Do not install Oracle Client 11g release 1(11.1) software into an existing Oracle home that contains Oracle Database 11g or earlier software. You can install Oracle Client into an existing Oracle home that contains Oracle Database Client 11g release 1(11.1) or later software, so long as Oracle Database is not installed in the same home.

    • Oracle home path: This field is populated by default in concurrence with Oracle base location.

  7. Click Next.

  8. If you selected Custom in Step 5, in the Available Product Components screen, select the components you want to install and click Next or Install.

  9. In the Product-specific Prerequisite Checks screen, correct any errors that Oracle Universal Installer may have found, and then click Next.

  10. In the Summary screen, check the installed components listing and click Install.

  11. If you have selected Custom installation types, follow steps 12 to 20 to complete the Oracle Net Configuration Assistant procedure.

    If you have selected the Administrator or Runtime installation type, then Net Configuration Assistant is invoked as a part of the installation. Click Next to complete the installation You should then start the Net Configuration Assistant and follow steps 12 to 20 to complete configuration process.

    If you selected the Instant Client installation type, go to Step 21. After you complete the installation, you can follow the steps under "Connecting Instant Client or Instant Client Light to an Oracle Database" to configure the database connection.

  12. In the Oracle Net Configuration Assistant: Welcome screen, either select Perform typical configuration to use a default configuration, or select the Naming Methods configuration option. Then click Next. (The remaining steps in this procedure assume you are using Naming Methods.)

  13. In the Naming Methods Configuration, Select Naming Methods screen, select the naming method you want and then click Next.

    In most cases, Local Naming is sufficient.

  14. In the Net Service Name Configuration, Service Name screen, enter the name of the database service to which you want to connect. Click Next.

    For example, to connect to a database named sales, enter sales.

  15. In the Net Service Name Configuration, Select Protocol screen, depending on the protocol you selected, enter the appropriate information and click Next.

  16. In the Net Service Name Configuration, TCP/IP Protocol screen, enter the host name of the computer where the Oracle database is installed. Specify the port number, then click Next.

    For example, to connect to the computer shobeen, you would enter shobeen.

  17. In the Net Service Name Configuration, Test screen, click Yes to perform a test of the connection. Then click Next.

    In most cases, the test fails only because the default user name and password Oracle Universal Installer supplies in the dialog box do not match the user name and password for the target database. Click Change Login, re-enter the user name and password, and then click OK.

  18. In the Connecting screen, click Next.

  19. In the Net Service Name screen, enter the name of the net service name to use.

  20. Answer the remaining prompts to complete the configuration.

  21. In the End of Installation screen, click Exit, then click Yes to exit from Oracle Universal Installer.

  22. Go to Chapter 4, " Oracle Database Postinstallation Tasks" to complete the postinstallation tasks.