At IU, how do I install the Oracle 10g client release 2?
Note: This document explains how to install the Oracle 10g client release 2. For instructions for other releases, see:
- At IU, how do I install the Oracle 10g client release 2 for Windows Vista?
- At IU, how do I install the Oracle 10g client?
For Oracle 10g client release 2, see the appropriate section below:
- Running setup from download (for Microsoft Windows)
- Running setup from IUware
- Client installation process
- Configuring Oracle Net
- Adding new database services
- Connecting to Oracle with SQL *Plus
- Configuring and locating an ODBC data source
- Oracle client configuration information for the IU Data Warehouse
Running the Oracle client setup by downloading directly from Oracle's web site (for Microsoft Windows)
Note: This method requires a valid Oracle Technology
Network (OTN) username and password. If you do not have a valid OTN
username and password, visit the Oracle Technology
Network web page. Click Register for a free Oracle Web
account in the upper right corner, and follow the on-screen
instructions.
To run the Oracle client setup by downloading directly from Oracle's web site:
- Visit the Oracle
web site.
- Read the OTN License Agreement by clicking
OTN License Agreement. When finished, close the OTN License Agreement window.
- Select
Accept License Agreement. You will see a notification thanking you for accepting the OTN License Agreement and permitting you to download the software.
- In the section titled "Oracle Database 10g Client Release 2
(10.2.0.1.0)", click
10201_client_win32.zipto download; you will need 475MB of space on your hard drive for this download. Enter a valid OTN username and password.
- In the
File Downloaddialog box, save the10201_client_win32.zipfile to a location you will remember on your local hard drive.
- Navigate to the
10201_client_win32.zipfile you saved, right-click the file, and then scroll to and clickExtract all. The files inside the.zipfile will be extracted to the location you choose.
- Select or create a folder location (e.g.,
C:\Oracle 10g Client (10.2.0.1)) for the extracted zipped files.
- Once all zipped files have been extracted, navigate to the folder
you created.
- Navigate to the
\client\installdirectory and double-click the fileoui.exeto launch the Oracle Universal Installer.
Running the Oracle client setup from IUware
- Visit IUware at: http://iuware.iu.edu/
- In the column on the left, choose
Database.
- Select
Oracle 10g R2 Client for Windows (not Vista).
- Next to "Available for Download", click
Login. If prompted, enter your IU Network ID, and then clickDownload.
- After the download is complete, double-click the
Oracle10gR2ClientWin32.exefile. A window calledOracle 10g Client (10.1.0.2)will open. ClickNext.
- By default, the install program will install the necessary files
to
C:\IUware Online\Oracle 10g R2 Client Win 32. To change to a different folder, clickBrowse.... To continue, clickInstall.
- The installation program will extract the necessary files to the
directory you specified. When it is complete, the installation should
automatically begin as the Oracle Universal Installer runs; if not, go
to
C:\IUware Online\Oracle 10g R2 Client Win 32\clientand double-clicksetup.exe. This will take a few minutes.
Note: You may need to move the installer window to see the configuration window.
Client installation process
Note: Before continuing, you need the following information:
| Information needed | Example |
|---|---|
| Name or System Identifier (SID) of the database | SID = oed1 |
| Full service name of the database | Service name =
oed1.world
|
| Port number | Default port = 1521 |
| Name of host computer where database is located |
dbserv.uits.indiana.edu
|
If you use the IU Data Warehouse, for configuration information, see the Oracle client configuration information for the IU Data Warehouse section.
Once you have verified the information above with the database administrator:
- From the
Oracle Universal Installerdialog box, clickNext.
- The installer will load product information and present you with
the
Installation Typesdialog box. Unless you know you want another type of installation, selectCustom, and then clickNext.
- The installer will provide default file locations for you, but you
can enter an alternate path in the available box or click
Browse...to navigate to an alternate location. When you are ready to continue, clickNext.
- In the
Available Product Componentsdialog box, checkShow all components, including required dependencies. Then use the checkboxes to select, in the following order, the components listed:
- Oracle Net 10.2.0.1.0
- SQL*Plus 10.2.0.1.0
- Oracle JDBC/THIN Interfaces 10.2.0.1.0
- Oracle Call Interface (OCI) 10.2.0.1.0
- Oracle Windows Interfaces 10.2.0.1.0
- Enterprise Manager 10g Java Console 10.2.0.1.0
- In the
Available Product Componentsdialog box, deselectOracle Services For Microsoft Transaction Server 10.2.0.1.0.
- Click
Nextto continue.In the
Product-Specific Prerequisite Checksdialog box, the installer will verify that your environment meets all of the minimum requirements for installing and configuring the products you have chosen to install. You need to manually verify and confirm the items that are flagged with warnings and items that require manual checks. - Once you have verified that all checks have passed, click
Next.
- The
Summarydialog box will display a summary of the installation information. Verify that this information is correct, and then clickInstall.
- To finalize the installation, you must configure Oracle Net. If you want to do this now, proceed to the next section. If you want to configure the Oracle Net client later, follow the instructions in the section Adding new database services.
Configuring Oracle Net
- The
Configuration Assistantsdialog box will appear. If you cannot see theOracle Net Configuration Assistant: Welcomedialog box, move theConfiguration Assistantsbox.
- In the
Oracle Net Configuration Assistant: Welcomedialog box, you have two options:
- To see if your client can be configured automatically, select
Perform typical configuration, and then clickNext. If the text now says "Welcome to the Oracle Net Configuration Assistant" and "The Assistant has determined that your client can use the easy connect naming method for identifying the database", clickNext, and thenFinish. You are done with this section. - If the previous step fails, deselect
Perform typical configuration. ClickNext, and then continue with step 3.
- To see if your client can be configured automatically, select
- In the
Oracle Net Configuration Assistantdialog box, make sure "Local Naming" is displayed in the box labeled "Selected Naming Methods". ClickNext.
- You will be prompted to enter the service name. This is the
database SID followed by an extension (e.g.,
oed1.world). Enter the full service name, and then clickNext.Note: If you do not know the service name, check with the database administrator.
- You will be prompted to select a network protocol. Select
TCP, and then clickNext.
- Enter the hostname when prompted. For
oed1, enterdbserv.uits.indiana.edu. Unless specified otherwise, leave the port number as the default port, 1521. To continue, clickNext.
- Click the radio button next to
Yes, perform test, and then clickNext.Note: If the login test fails, select
Change Login, enter your correct user information, and try again. ChooseNextwhen the test is successful. - You will be prompted to enter a name for the net service you just
created. UITS recommends using the name you supplied in
step 4 (e.g.,
oed1.world). ClickNext.
- To configure another net service name, select
Yesand follow steps 4 through 8 above. Otherwise, selectNo, and then clickNext.
- Once you have configured all of your net service names, click
Nexttwice, and then clickFinish.
- The
End of Installationdialog box will appear; clickExit. When asked if you really want to exit, clickYes.
After following the steps above, you are finished setting up the Oracle client. You may want to continue to one of the following sections:
Adding new database services
If you need to set up an Oracle client connection to an Oracle database on another computer:
- From the
Startmenu, selectAll Programs, thenOracle - OraClient10g_home, thenConfiguration and Migration Tools, and thenNet Configuration Assistant.
- Click the radio button next to
Local Net Service Name Configuration, and then clickNext.
- Click the radio button next to
Add, and then clickNext.
- You will be prompted to enter the service name. This is the
database SID followed by an extension (e.g.,
oed1.world). Enter the full service name, and then clickNext.Note: If you do not know the service name, check with the database administrator.
- You will be prompted to select a network protocol. Select
TCP, and then clickNext.
- Enter the hostname when prompted. For
oed1, the hostname isdbserv.uits.indiana.edu. Unless specified otherwise, leave the port number as the default port, 1521. To continue, clickNext.
- Click the radio button next to
Yes, perform test, and then clickNext.Note: If the login test fails, select
Change Login, enter your correct user information, and try again. ChooseNextwhen the test is successful. - You will be prompted to enter a name for the net service you just
created. UITS recommends using the name you supplied in
step 4 (e.g.,
oed1.world). ClickNext.
- To configure another net service name, select
Yesand follow steps 4 through 8 above. Otherwise, selectNo, and then clickNext.
- Once you have configured all of your net service names, click
Nexttwice, and then clickFinish.
Connecting to Oracle with SQL*Plus
To connect to Oracle with SQL*Plus:
- From the
Startmenu, selectAll Programs, thenOracle - OraClient10g_home, thenApplication Development, and then clickSQL Plus.
- Enter your Oracle username and password.
- In the "Host String:" field, enter the name you specified when
configuring Oracle Net (e.g.,
oed1.world). ClickOK.
After completing the steps above, you will be in the SQL*Plus command line interface environment. Verify that the SQL*Plus Release number is 10.2.0.1. To change your password, see How do I change my Oracle password using SQL*Plus?
Configuring and locating an ODBC data source
Programs that use ODBC to connect to remote databases must have a way to identify the type of database and the computer to which they are connecting. This is accomplished through an ODBC data source, which associates a name with some database connection information. In the case of Oracle, the database connection information is simply the name of the Oracle Net service you set up when configuring the Oracle client. To configure and locate an ODBC data source:
- From the
Startmenu, clickControl Panel, orSettingsand thenControl Panel.
- In Windows XP, select
Administrative Tools, and then selectData Sources (ODBC). In Windows 98, NT, and 2000, selectODBC Data Sources,ODBC, orODBC Data Sources (32-bit).
- At the top of the
ODBC Data Source Administratorwindow, select theSystem DSNtab, and then clickAdd....
- From the list, select
Oracle in OraClient10g_home1, and then clickFinish.
- Enter your information in the window that appears, and then click
OK.The following example will create an Oracle ODBC data source for the Oed1 database on
dbserv.uits.indiana.edu:Field Explanation Example Data source name User-specified name by which you will refer to this ODBC data source oed1_oraDescription Not required; just a phrase reminding you why you created this ODBC data source Oracle ODBC for Oed1 database on dbserv.uits.indiana.eduTNS Service name The Oracle Net Service Name you created for the database to which you want to connect oed1.worldUser name Usually left blank; you will be prompted for this later when you make an ODBC connection to the database.
- The ODBC data source you added will now appear in your System DSN
list. Click
OKto finish your ODBC configuration.
Oracle Client configuration information for the IU Data Warehouse
Note: The following information is only for IU Data Warehouse users.
You can use the following configuration information when configuring Oracle Net to connect to the IU Data Warehouse:
For development (dss1dev)
- Database service name:
dss1dev.ucs.indiana.edu - Host computer:
iedssdev.uits.indiana.edu - Port number: 1521 (default)
- Net service name:
dss1dev.ucs.indiana.edu(This is also the service name when you create an ODBC data source.)
For test (dss1tst)
- Database service name:
dss1tst.ucs.indiana.edu - Host computer:
iedsstst.uits.indiana.edu - Port number: 1521 (default)
- Net service name:
dss1tst.ucs.indiana.edu(This is also the service name when you create an ODBC data source.)
For production (dss1prd)
- Database service name:
dss1prd.ucs.indiana.edu - Host computer:
iedss.uits.indiana.edu - Port number: 1521 (default)
- Net service name:
dss1prd.ucs.indiana.edu(This is also the service name when you create an ODBC data source.)
Last modified on November 10, 2009.







