Skip Headers

Oracle® Database Client Installation Guide
10g Release 1 (10.1.0.2.0) for Windows
Part No. B10131-02
  Go To Table Of Contents
Contents
Go To Index
Index

Previous Next  

3 Installing Oracle Database Client

This chapter describes how to install Oracle Database Client.

This chapter contains these topics:

3.1 Preinstallation Considerations Before Installing Oracle Database Client

Review the information in Chapter 1, "Oracle Database Client Installation Overview" and complete the tasks listed in Chapter 2, "Oracle Database Client Preinstallation Requirements" before beginning the installation.

Next, consider the following issues:

3.1.1 Performing Multiple Oracle Database Client Installations

If you need to perform multiple installations of Oracle Database Client, you may want to use noninteractive mode. In noninteractive mode, at each computer, you run Oracle Universal Installer from the command line using a response file. The response file is a text file containing the settings you normally enter in the Oracle Universal Installer GUI dialog boxes. This method lets you quickly perform multiple installations using similar settings for each computer.


See Also:

"Installing Oracle Components in Noninteractive Mode" for instructions on performing noninteractive installations

3.1.2 Creating the Oracle Base Directory

If you install Oracle Database Client on a computer with no other Oracle software installed, Oracle Universal Installer creates an Oracle base directory for you. If Oracle software is already installed, one or more Oracle base directories already exist. In the latter case, Oracle Universal Installer offers you a choice of Oracle base directories into which you can install Oracle Database Client.

You are not required to create an Oracle base directory before installation, but you can do so if you want.


Note:

You can choose to create a new Oracle base directory, even if other Oracle base directories exist on the system.

3.1.3 Installing Oracle Database Client into Multiple Oracle Homes

Starting with Oracle Database 10g release 1 (10.1), you can install all Oracle components in multiple Oracle homes on the same computer. However, some components can only support one active instance at a time. This means that the current (latest) installation renders the previous one inactive. These components are:

  • Oracle Administration Assistant for Windows

  • Oracle Counters for Windows Performance Monitor

  • Oracle Objects for OLE

  • Oracle Provider for OLE DB

3.1.4 Installing on a System with an Existing Oracle Installation

You must install Oracle Database Client into a new Oracle home directory. Oracle Universal Installer will prompt you for an Oracle home directory, whether you have other Oracle software installed on the computer or not. You cannot install products from one release of Oracle Database Client into an Oracle home directory of a different release. For example, you cannot install Oracle Database 10g release 1 (10.1) software into an existing Oracle9i Oracle home directory. If you attempt to install this release into an Oracle home directory that contains software from an earlier Oracle release, the installation fails.

You can install this release more than once on the same system as long as each installation is installed in a separate Oracle home directory.

3.2 Accessing the Installation Software

The Oracle Database Client software is available on compact disc (CD-ROM or DVD-ROM) or you can download it from the Oracle Technology Network (OTN) Web site. You can access and install Oracle Database Client by using the following scenarios:

3.2.1 Installing from a Remote CD-ROM or DVD Drive

If the computer where you want to install Oracle Database Client does not have a CD-ROM or DVD drive, you can perform the installation from a remote CD-ROM or DVD drive. Complete the following steps:

3.2.1.1 On the Remote Computer, Share the CD-ROM or DVD Drive

The remote CD-ROM or DVD drive that you want to use must allow shared access. To set this up, perform these steps on the remote computer that has the CD-ROM or DVD drive:

  1. Log in to the remote computer as an Administrator user.

  2. Start Windows Explorer.

  3. Right-click the CD-ROM or DVD drive letter and choose Sharing (Windows 2000, Windows NT) or Sharing and Security (Windows 2003, Windows XP).

  4. Click the Sharing tab and do the following:

    1. Select Share this folder.

    2. In Share name, give it a share name such as cdrom or dvd. You will use this name when you map the CD-ROM or DVD drive on the local computer. See step d under step 1 of the next procedure.

    3. Click Permissions. You need at least "read" permission for the user who will be accessing it to install Oracle Database.

    4. Click OK when you are finished.

  5. For a CD-ROM, insert the CD labeled Oracle Database 10g Release 1 (10.1) Disk 1 of 1 into the CD-ROM drive.

    For a DVD, insert the Oracle Database DVD into the DVD drive.

3.2.1.2 On the Local Computer, Map the CD-ROM or DVD Drive

Perform these steps on the local computer to map a remote CD-ROM or DVD drive and to run Oracle Universal Installer from the mapped drive:

  1. Map the remote CD-ROM or DVD drive.

    1. Start Windows Explorer on the local computer.

    2. From the Tools menu, select Map Network Drive to display the Map Network Drive dialog.

    3. Select a drive letter to use for the remote CD-ROM or DVD drive.

    4. In Folder, enter the location of the remote CD-ROM or DVD drive using the following format:

      \\remote_hostname\share_name
      
      

      where:

      • remote_hostname is the name of the remote computer with the CD-ROM or DVD drive.

      • share_name is the share name that you entered in step 4 of the previous procedure. For example

        \\computer2\cdrom
        
        
    5. If you need to connect to the remote computer as a different user:

      • Windows NT: Enter the username in Connect As.

      • Windows 2000: Click different user name, and enter the username.

      • Windows 2003 or Windows XP: Click different user name, and enter the username.

    6. Click OK (Windows NT) or Finish (Windows 2000, Windows 2003, Windows XP).

  2. Run Oracle Universal Installer from the mapped CD-ROM or DVD drive.

  3. Go to the "Installing the Oracle Database Client Software" section.

3.2.2 Installing on Remote Computers Through Remote Access Software

If you want to install and run Oracle Database Client on a remote computer (that is, the remote computer has the hard drive and will run Oracle Database Client components), but you do not have physical access to the computer, you still can perform the installation on the remote computer if it is running remote access software such as VNC or Symantec pcAnywhere. You also need the remote access software running on your local computer.

You can install Oracle Database Client on the remote computer in one of two ways:

  • If you have copied the contents of the Oracle Database Client CD-ROM or DVD to a hard drive, you can install from the hard drive.

  • You can insert the CD-ROM or DVD into a drive on your local computer, and install from the CD-ROM or DVD.

3.2.2.1 Installing from a Hard Drive

If you have copied the contents of the Oracle Database Client CD-ROM or DVD to a hard drive, you can install from the hard drive.

The steps that you have to complete are:

  1. Make sure that the remote access software is installed and running on the remote and local computers.

  2. Share the hard drive that contains the Oracle Database Client CD-ROM or DVD.

  3. On the remote computer, map a drive letter to the shared hard drive. You would use the remote access software to do this on the remote computer.

  4. Through the remote access software, run Oracle Universal Installer on the remote computer. You access Oracle Universal Installer from the shared hard drive.

  5. Go to the "Installing the Oracle Database Client Software" section.

3.2.2.2 Installing from a Remote CD-ROM or DVD Drive

You can insert the CD-ROM or DVD into a drive on your local computer, and install from the CD-ROM or DVD.

The steps that you need to complete are:

  1. Make sure that the remote access software is installed and running on the remote and local computers.

  2. On the local computer, share the CD-ROM or DVD drive.

    On the remote computer, map a drive letter to the shared CD-ROM or DVD drive. You would use the remote access software to do this on the remote computer.

    These steps are described in the "Installing from a Remote CD-ROM or DVD Drive" section.

  3. Through the remote access software, run Oracle Universal Installer on the remote computer. You access Oracle Universal Installer from the shared CD-ROM or DVD drive.

  4. Go to the "Installing the Oracle Database Client Software" section

3.2.3 Downloading Oracle Software from the Oracle Technology Network Web Site

You can download the installation files from the Oracle Technology Network (OTN) and extract them on your hard disk.

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

    http://otn.oracle.com/software/

  2. Navigate to each of the download pages for the products that you want to install.

  3. On each 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 files. In most cases, the available disk space must be at least twice the size of all compressed files combined.

  5. On the file system that you just selected, create a parent directory for each product you plan to install, for example OraDBClient10g, to hold the installation directories.

  6. Download all of the installation files to the directories that you just created.

  7. Verify that the files you downloaded are the same sizes as the corresponding files on Oracle Technology Network.

  8. Extract the files in each directory that you just created.

When you have extracted the required installation files, see the "Installing the Oracle Database Client Software" section.

3.2.4 Copying the Oracle Database Client Software to a Hard Disk

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

  1. Create a directory for the installation files on your hard drive. For example:

    d:\install\Disk1
    
    
  2. Copy the contents of the installation media to the directory that you just created.

When you have copied the required installation files, see the "Installing the Oracle Database Client Software" section.

3.3 Installing the Oracle Database Client Software

This section covers the following topics:

3.3.1 Guidelines for Installing Oracle Database Client

In most cases, you use the graphical user interface (GUI) provided by Oracle Universal Installer to install Oracle Database Client. However, you can also use Oracle Universal Installer to complete noninteractive installations, without using the GUI. This method is particularly useful if you need to perform multiple installations of Oracle Database Client.

As you install Oracle Database Client, follow these guidelines:


See Also:

Appendix B, "Oracle Database Client Advanced Installation Topics" for information on noninteractive installations and other advanced installation topics

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

  • Use the same installation media to install Oracle Database Client on all supported Windows platforms.

  • If you reinstall Oracle software into an Oracle home directory where Oracle Database Client is already installed, you must reinstall any components that were installed before you began the reinstallation. To install Oracle Counters for Windows Performance Monitor, choose and then the installation type.

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

  • If you encounter errors during installation, click Help or see Appendix D, "Oracle Database Client Installation Troubleshooting".

3.3.2 Procedure for Installing Oracle Database Client

To install Oracle Database Client:

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

    If you are installing on a Primary Domain Controller (PDC) or a Backup Domain Controller (BDC), log on as a member of the Domain Administrators group.

  2. If you are installing from the CD, insert the CD labeled Oracle Database Client 10g Release 1 (10.1) Disk 1 of 1, or navigate to the directory where you downloaded or copied the installation files.

    When installing from the installation media, the Autorun screen automatically appears. If the Autorun screen does not appear, then:

    1. From the Start menu, choose Run.

    2. Enter the following:

      DRIVE_LETTER:\autorun\autorun.exe
      
      

      In the Autorun screen, choose Install/Deinstall Products.

    When installing from a hard disk, double-click setup.exe, which is located in the directory you created for the downloaded or copied installation files.

  3. In the Welcome screen, click Next.

  4. In the Specify File Locations screen, do the following:

    • Under Source, leave the path representing the products to install at the default setting.

      In most cases, you do not need to change this setting, but if you do, click Browse to find the installation file you want.

    • Under Destination, enter the name and location of the Oracle home.

      Install Oracle Database Client into a new Oracle Home, even if you are installing onto a computer that has existing Oracle components installed.

      Do not install Oracle Database Client 10g release 1 (10.1) software into an existing Oracle home that contains Oracle9i or earlier software.

  5. Click Next.

  6. 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 Database Client Installation Types" for more information on these installation types.

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

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

  9. Depending on the installation type you chose, configure Oracle Database Client to connect to an Oracle database:

  10. For the Administrator or Custom installation type, choose either the naming method or typical configuration to connect Oracle Database Client to an Oracle database.

    If you choose the Naming Methods configuration, you can configure a naming method to allow an end user to connect to a database service. If you select the typical configuration, Oracle Net Configuration Assistant (NetCA) completes a default configuration for you. (You can always reconfigure the connection later, if necessary.)

    If you do not choose to perform a typical configuration, follow these steps:

    1. In the Welcome screen, select Local Net Service Name configuration and click Next.

    2. In the Select Naming Methods screen, select the appropriate naming methods and click Next.

    3. In the Service Name screen, enter the name of the Oracle database to which you want to connect and click Next.

    4. In the Select Protocols screen, select the protocol you want and click Next.

    5. In the Protocol screen, depending on the protocol you selected, enter the appropriate information and click Next.

    6. In the Test screen, select whether you want to test the connection, and click Next.

    7. In the Net Service Name screen, enter a name for the net service and click Next.

    8. Answer the remaining prompts, which allow you to configure another net service name, and then click Finish to complete the configuration.


    See Also:

    Oracle Net Services Administrator's Guide for more information on Oracle Net Configuration Assistant

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

  12. Optionally, delete the \temp\OraInstalldate_time directory if you want to remove the temporary files that were created during the installation process. The OraInstalldate_time directory holds about 45 MB of files.

    Restarting your computer also removes the OraInstalldate_time directory.

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