Skip Headers
Oracle® Database Client Installation Guide
11g Release 2 (11.2) for Linux

Part Number E10841-03
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
View PDF

3 Installing Oracle Database Client

The Oracle Database 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 B 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 Database Client software is available on installation media or you can download it from the Oracle Technology Network Web site, or Oracle E-Delivery Web site. To install the software from the hard disk, you must either download it and unpack it, or copy it from the installation media.

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

3.2.1 Downloading Oracle Software

You can download the trial version of the installation files from the Oracle Technology Network (OTN) or Oracle E-Delivery Web site and extract them on your hard disk. Make sure that you completely review and understand the terms of the license. Most downloads include the development license. This section contains the following topics:

3.2.1.1 Downloading the Installation Archive Files from OTN

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 Downloading the Software from Oracle E-Delivery

You can download the software from Oracle E-Delivery as Media Packs. A Media Pack is an electronic version of the software that is also available to Oracle customers on CD-ROM or DVD. To download the Media Pack:

  1. Use any browser to access the Oracle E-Delivery Web site:

    http://edelivery.oracle.com/
    
  2. Complete the Export Validation process by entering information (name, company, e-mail address, and country) in the online form.

  3. In the Media Pack Search page, specify the Product Pack and Platform to identify the Media Pack you want to download. If you do not know the name of the Product Pack, you can search for it using the License List.

  4. In the search results page, click Readme to download and review the Readme file for download instructions and product information.

  5. After you review the Readme, choose the appropriate Media Pack from the search results to download the individual zip files. Follow the Download Notes instructions in this page. Once you download and extract the contents of the required zip files, proceed with the installation of the software.

    Note:

    Print the page with the list of downloadable files. It contains a list of part numbers and their corresponding descriptions that you may need to reference during the installation process.

See Also:

Frequently Asked Questions section on the Oracle E-Delivery Web site for more information about Media Packs

3.2.1.3 Extracting the Installation Files

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

  1. If necessary, change 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 Database Client Software".

3.2.2 Copying the Software to the Hard Disk

Before installing Oracle Database Client, 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 how to mount the disk and copy its content to the hard disk:

3.2.2.1 Mounting Disks

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

  1. If necessary, enter a command similar to one of the following to eject the currently mounted disk, then remove it from the drive:

    • Asianux, Oracle Enterprise Linux, and Red Hat Enterprise Linux:

      $ sudo eject /mnt/dvd
      
    • SUSE Linux Enterprise Server:

      # eject /media/dvd
      

    In these examples, /mnt/dvd and /media/dvd are the mount point directories for the installation media.

  2. Insert the appropriate installation media into the disk drive.

  3. To verify if the disk is mounted automatically, enter one of the following commands depending on the platform:

    • Asianux, Oracle Enterprise Linux, and Red Hat Enterprise Linux:

      # ls /mnt/dvd
      
    • SUSE Linux Enterprise Server:

      # ls /media/dvd
      
  4. Before running the following command, ensure that the /mnt/dvd directory exists on Red Hat Enterprise Linux. If not, create the /mnt/dvd as required, to mount the installation media.

    If this command fails to display the contents of the installation media, enter a command similar to the following to mount it, depending on the platform:

    • Asianux, Oracle Enterprise Linux, and Red Hat Enterprise Linux:

      # mount -t iso9660 /dev/dvd /mnt/dvd
      
    • SUSE Linux Enterprise Server:

      # mount -t iso9660 /dev/dvd /media/dvd
      

    In these examples, /mnt/dvd and /media/dvd are the mount point directories for the installation media.

  5. If Oracle Universal Installer is displaying the Disk Location dialog box, enter the disk mount point directory path, for example:

    /mnt/dvd
    

To continue, go to one of the following sections:

3.2.2.2 Copying the Oracle Database 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 0:

    $ 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 more 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 4.

3.3 Installing the Oracle Database Client Software

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

See Also:

"Installation Considerations" about information that you should consider before deciding how to install the client

3.3.1 Running Oracle Universal Installer

For any type of installation process, start Oracle Universal Installer and install the software, as follows:

  1. Log on as the Oracle software owner user (typically, oracle) to the computer on which to install Oracle components.

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

    If the disk does not mount automatically, refer to the "Mounting Disks" section for more 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.

    See Also:

    "Configuring the oracle User's Environment" for information about setting the oracle user's environment
    • 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. In the Select Installation Type screen, select the type of installation that you want: Instant Client, Administrator, Runtime, or Custom and click Next.

  5. The Select Product Languages screen enables you to select the language in which you want to run the product.

    Select the product language from the Available Languages list, transfer it to the Selected Languages list. Click Next.

    This screen is not displayed if you select Instant Client as the type of installation in Step 4.

  6. In the Specify Install Location screen, enter the following details:

    Oracle Base: This path appears by default. You can change the path based on your requirement. The Oracle Base section is not displayed if you select Instant Client as the type of installation in Step 4.

    In the Software Location section, accept the default values or enter the Oracle home name and directory path in which you want to install Oracle components. The directory path should not contain spaces. Click Next

  7. In the Create Inventory screen, you are prompted by the installer to specify the directory path for central inventory the first time you install Oracle Database on your computer. Enter the Inventory Directory path, and click Next.

    Note: By default, the Oracle Inventory directory is not installed under the Oracle Base directory. This is because all Oracle software installations share a common Oracle Inventory, so there is only one Oracle Inventory for all users, whereas there is a separate Oracle Base for each user.

  8. If you selected Custom as the type of installation in Step 4, then the Available Product Components screen is displayed. Select the products that you want to install and click Next.

    Note:

    Starting with Oracle Database 11g Release 2 (11.2), you can install Oracle Connection Manager, Oracle Net Listener, and Oracle Scheduler Agent using the Custom install option.
  9. In Step 8, if you select Oracle Scheduler Agent as one of the components that you want to install, then the Oracle Database Scheduler Agent screen is displayed. Enter the Scheduler Agent Hostname, and the Scheduler Agent Port Number. Click Next.

  10. The Perform Prerequisite Checks screen verifies if your computer meets the minimum system requirements to install the desired product. Click Next.

  11. Review the information displayed in the Summary screen, and click Finish.

    Note:

    Starting with Oracle Database 11g Release 2 (11.2), you can save all the installation steps into a response file by clicking Save Response File in the Summary screen. Later, this file can be used for a silent installation.
  12. The Install Product screen states the progress of a client installation. After Oracle Database Client is installed, you are prompted to execute the root configuration script for new inventory as a root user. Execute the root.sh script as a root user to complete the installation, and click OK.

If you select Oracle Net or Oracle Net Listener from the list of components to install in Step 8, then Oracle Universal Installer automatically starts Oracle Net Configuration Assistant. You can also invoke Oracle Net Configuration Assistant, to create net service names using netca and perform the following:

  1. In the Welcome screen, select the Naming Methods Configuration option. Then click Next. (The remaining steps in this procedure assume you are using Naming Methods.)

  2. In the Naming Methods Configuration screen, select the naming method you want from the list of Available Naming Methods and then click Next.

    Typically, Local Naming is sufficient.

  3. The Naming Method Configuration screen states that the Naming Method Configuration is complete. Click Next.

  4. The above action will bring you back to the Welcome screen. Select Local Net Service Name configuration, and click Next.

  5. In the Net Service Name Configuration screen, select Add to add a net service name. Click Next.

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

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

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

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

  10. In the Connecting screen, click Next.

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

  12. Answer the remaining prompts to complete the configuration.

  13. In the Finish screen, click Close, to exit from Oracle Universal Installer.

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

See Also:

Oracle Database Net Services Administrator's Guide for information on configuring and administering Oracle Net Listener

As an Amazon Associate I earn from qualifying purchases.