Oracle® Database Client Installation Guide 10g Release 2 (10.2) for Microsoft Windows (32-Bit) Part Number B14312-03 |
|
|
View PDF |
This chapter covers the following topics:
The Oracle Database Client software is available on DVD and from the Oracle Technology Network (OTN) 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 or noninteractive installations using response files, without using the GUI.
Note:
Windows Vista requires Administrator privileges at the command prompt.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:
Installing Oracle Database Client Installations in Silent or Nonteractive Mode
Installing Oracle Database Client into Multiple Oracle Homes
Following are the installation considerations on Windows Vista:
Open a command prompt with Administrator privileges.
Use the separate installation media available for Windows Vista.
If you need to perform multiple installations of Oracle Database Client, you may want to use silent or noninteractive mode, with response files. In these modes, 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:
Appendix B, "Installing Oracle Database Client Using Response Files" for instructions on performing silent and noninteractive installationsIf 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.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:
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 2 (10.2) 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.
The Oracle Database Client software is available on DVD 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:
Installing on Remote Computers Through Remote Access Software
Downloading Oracle Software from the Oracle Technology Network Web Site
If the computer where you want to install Oracle Database Client does not have a DVD drive, you can perform the installation from a remote DVD drive. You will need to complete the following steps:
The remote 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 DVD drive:
Log in to the remote computer as an Administrator user.
Start Windows Explorer.
Right-click the DVD drive letter and choose Sharing (or Sharing and Security).
Click the Sharing tab and do the following:
Select Share this folder.
In Share name, give it a share name such as dvd
. You will use this name when you map the DVD drive on the local computer. See Step d under Step 1 of the next procedure.
Click Permissions. You need at least "read" permission for the user who will be accessing it to install Oracle Database.
Click OK when you are finished.
Insert the DVD labeled Oracle Database 10g Release 2 (10.2) into the DVD drive.
Perform these steps on the local computer to map a remote DVD drive and to run Oracle Universal Installer from the mapped drive:
Map the remote DVD drive.
Start Windows Explorer on the local computer.
From the Tools menu, select Map Network Drive to display the Map Network Drive dialog.
Select a drive letter to use for the remote DVD drive.
In Folder, enter the location of the remote DVD drive using the following format:
\\remote_hostname\share_name
where:
remote_hostname
is the name of the remote computer with the DVD drive.
share_name
is the share name that you entered in Step 4 of the previous procedure. For example
\\computer2\dvd
If you need to connect to the remote computer as a different user, click different user name, and enter the username.
Click Finish.
Run Oracle Universal Installer from the mapped DVD drive.
Go to the "Installing the Oracle Database Client Software" section.
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 pc anywhere. 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 DVD to a hard drive, you can install from the hard drive.
You can insert the DVD into a drive on your local computer, and install from the DVD.
If you have copied the contents of the Oracle Database Client DVD to a hard drive, you can install from the hard drive.
The steps that you have to complete are:
Make sure that the remote access software is installed and running on the remote and local computers.
Share the hard drive that contains the Oracle Database Client DVD.
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.
Through the remote access software, run Oracle Universal Installer on the remote computer. You access Oracle Universal Installer from the shared hard drive.
Go to the "Installing the Oracle Database Client Software" section.
You can insert the DVD into a drive on your local computer, and install from the DVD.
The steps that you need to complete are:
Make sure that the remote access software is installed and running on the remote and local computers.
On the local computer, share the DVD drive.
On the remote computer, map a drive letter to the shared 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 DVD Drive" section.
Through the remote access software, run Oracle Universal Installer on the remote computer. You access Oracle Universal Installer from the shared DVD drive.
Go to the "Installing the Oracle Database Client Software" section
You can download the installation files from the Oracle Technology Network (OTN) and extract them on your hard disk.
Use a browser to access the Oracle Technology Network software download page:
Navigate to each of the download pages for the products that you want to install.
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.
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.
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.
Download all of the installation files to the directories that you just created.
Verify that the files you downloaded are the same sizes as the corresponding files on Oracle Technology Network.
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.
To copy the contents of the media to a hard disk:
Create a directory for the installation files on your hard drive. For example:
d:\install\client
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.
This section covers the following topics:
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 silent or noninteractive installations using a response file, 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, "Installing Oracle Database Client Using Response Files" for information on silent or noninteractive installationsDo 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.
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, "Troubleshooting the Oracle Database Client Installation" for advice.
To install Oracle Database Client:
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.
Insert the Oracle Database installation media and navigate to the client
directory. Alternatively, navigate to the directory where you downloaded or copied the installation files.
Use the same installation media to install Oracle Database on all supported Windows platforms.
Double-click setup.exe
to start Oracle Universal Installer.
In the Welcome window, click Next.
In the Select Installation Type window, 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.In the Specify Home Details window, do the following:
Name: Enter the name 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 2 (10.2) software into an existing Oracle home that contains Oracle9i or earlier software. You can install Oracle Database Client into an existing Oracle home that contains Oracle Database Client 10g release 1 (10.1) software, so long as Oracle Database is not installed in the same home.
Path: Enter the directory location for the Oracle home files. Do not include spaces in the path name.
Click Next.
If you selected Custom in Step 5, in the Available Product Components window, select the components you want to install and click Next or Install.
In the Product-specific Prerequisite Checks window, correct any errors that Oracle Universal Installer may have found, and then click Next.
In the Summary window, check the installed components listing and click Install.
If you selected the Administrator, Runtime, or Custom installation types, follow Steps 12 to 20 to complete the Oracle Net Configuration Assistant procedure.
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.
In the Oracle Net Configuration Assistant: Welcome window, either select Perform typical configuration to use a default configuration, or use the Naming Methods configuration option. Then click Next. (The remaining steps in this procedure assume you are using Naming Methods.)
In the Naming Methods Configuration, Select Naming Methods window, select the naming method you want and then click Next.
In most cases, Local Naming is sufficient.
In the Net Service Name Configuration, Service Name window, 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
.
In the Net Service Name Configuration, Select Protocol window, depending on the protocol you selected, enter the appropriate information and click Next.
In the Net Service Name Configuration, TCP/IP Protocol window, 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
.
In the Net Service Name Configuration, Test window, click Yes to perform a test of the connection. Then click Next.
In most cases, the test will fail 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.
In the Connecting window, click Next.
In the Net Service Name window, enter the name of the net service name to use.
Answer the remaining prompts to complete the configuration.
In the End of Installation window, click Exit, then click Yes to exit from Oracle Universal Installer.
Optionally, delete the OraInstall
date_time
directory if you want to remove the temporary files that were created during the installation process. The OraInstall
date_time
directory holds about 50.5 MB of files. This directory is created in the location set by the TEMP
environment variable setting.
Restarting your computer also removes the OraInstall
date_time
directory.
Go to Chapter 4, "Oracle Database Client Postinstallation Tasks" to complete the postinstallation tasks.