ARCHIVED: At IU, how do I install the Oracle 9i Client?
On this page:
- Running setup from IUware Online
- Client installation process
- Configuring Oracle Net
- Adding new database services
- Connecting to Oracle with SQL*Plus
- Configuring and locating an ODBC data source
- IU Data Warehouse configuration information
Running the Oracle Client setup from IUware Online
Note: Release 1 of the Oracle 9i Client is no longer available from IUware Online. The instructions in this step apply only to Release 2 of the Oracle 9i Client.
This method of installation is an alternative to using an Oracle Client CD. UITS does not recommend running this setup without an Ethernet connection.
- Visit the IUware Online web page at: http://iuware.iu.edu/
- Under "Software", choose
Database.
- Select
Oracle9i Client Software and Documentationfrom the list of choices.
- Click
Download. Enter your Network ID when prompted, and then clickSaveto save the file to your computer.
- After the download is complete, start the installation wizard by
double-clicking the
setup.exefile that was saved to your computer. Once the InstallShield Wizard loads, clickNext.
- By default, the wizard will install the necessary files to
C:\IUware Online\Oracle 9i Client Release 2 for Windows 2000 and XP. If you would like to change to a different folder, clickBrowse.... To continue, clickNext.
- The wizard will spend several minutes installing files to the
directory you specified. When it is complete, check the box next to
Install Oracle 9i Client Release 2 for Windows 2000 and XP, and then clickFinish. If you prefer to not start the Oracle Client installation now, remove the check from this box and clickFinish. When you are ready to install the Oracle Client, open thesetup.exeprogram directly from the folder in which you installed the installation files.
- Continue to the next section when you are ready to install the Oracle Client.
Client installation process
Note: Before continuing, you must have the following four pieces of information:
| Information needed | Example (for Oed1) |
|---|---|
| Version of the database to connect to | 8i or later |
| Name or System Identifier (SID) of the database, plus the full service name of the database | SID = oed1Service name = oed1.world
|
| Port number | The default port is 1521. |
| Name of the host computer where the database is located | dbserv.uits.indiana.edu |
If you use the IU Data Warehouse, for configuration information, see Oracle Client configuration information for the IU Data Warehouse below.
Verify the information above with the database administrator before proceeding. When you are ready to proceed with the installation:
- If you ran
autorun.exe, from the list of possible actions, selectInstall/Deinstall Products.
- From the
Oracle Universal Installer, chooseNext.
- The installer will provide the default file locations for you. If you
would like to enter an alternate path, you can do so in the available box
or by selecting
Browse.... When you are ready to continue, or if you do not want to change the file locations from their default values (recommended), selectNext.
- The installer will load the product information and then present you
with the
Installation Typeswindow. Unless you know that you want another type of installation, selectCustom. Once you have selected your installation type, clickNext.
- For Release 2 of the Oracle 9i Client, in the Available Product
Components window, in the following order, select:
-
Oracle Network Utilities -
Oracle Database Utilities -
SQL*Plus -
Oracle JDBC/OCI Interfaces -
Oracle JDBC/Thin Interfaces -
Oracle Call Interfaces Oracle Programmer
For Release 1 of the Oracle 9i Client, in the Available Product Components window, in the following order, deselect:
-
Oracle Enterprise Manager Products 9.0.1.0.1 -
Oracle HTTP Server 1.3.12.0.3a -
Oracle Internet Directory Client 3.0.1.1.0 -
Oracle Workflow Client 2.6.1.5.0 -
Oracle 9i Windows Documentation 9.0.1.0.1(If you have plenty of storage space, you might choose to install this component. If so, leave it selected.)
Be sure that
Oracle Net Services 9.0.1.1.1andOracle Programmer 9.0.1.1.1are selected. -
- When you have finished making your selections, click
Next.
- Product information may take a couple of minutes to load. When the
information is finished loading, a summary of the installation
information will be displayed. If you have a previous version of the
Oracle 9i Client on your computer, it may be uninstalled during your
new installation. Installing an additional component that has not been
installed yet will simply add the new component.
Review the summary information and if everything is satisfactory, choose
Installto begin installing the software. The installation will take several minutes. - 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 at a later time, follow the instructions in the section Adding new database services.
Configuring Oracle Net
- In the
Oracle Net Configuration Assistantwindow, clickNext.
- In the
Directory Usage Configurationwindow, selectNounless you receive instructions otherwise. ClickNext.
- Ensure that the
Naming Methods Configurationwindow displaysLocalin the box labeled "Selected Naming Methods". ClickNext.
- The
Database Versionwindow asks what version of Oracle database or service to access. Choose the same version of database as the version of the database to which you will connect. If you are connecting to Oed1 or the IU Data Warehouse, choose8i or later database or service. ClickNext.
- If you selected 8 as the version in step 4, you will be prompted for
the Database SID (for example,
oed1). Enter the Database SID and clickNext.If you selected 8i or later as the version in step 4, you will be prompted for the database service name. This is the Database SID followed by an extension (e.g.,
oed1.world). Enter the full service name.Note: If you do not know the service name, check with the database administrator.
Click
Nextto continue. - Select
TCP, and then clickNext.
- Enter your hostname.
For Oed1, the hostname is
dbserv.uits.indiana.edu. Unless specified otherwise, leave the port number as the default port, 1521. To continue, clickNext. - Choose
Yes, perform test, and then selectNext.Note: If the login test fails, select
Change Login, enter your correct user information, and then try again. ChooseNextwhen the test is successful. - Enter a net service name. UITS recommends using the
same name that you supplied in step 5. If you are connecting to a
version 8i or later database, UITS recommends appending
.worldto the name (e.g.,oed1.world). ClickNext.
- If you would like to configure another net service name, select
Yesand follow these steps again. Otherwise, selectNo, and then clickNext.
- Once you have configured all of your net service names, click
Nexttwice, then chooseFinish, and thenExit. When asked if you really want to exit, selectYesto exit.
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
Use this section if you need to set up an Oracle Client connection to an Oracle database on another computer.
Note: The Windows XP default desktop view
and Start menu are different from the Windows Classic View
(e.g., in Windows 2000). Therefore, navigating to certain
items can be different. In the interest of broad applicability, most
Knowledge Base instructions assume you are using Classic View. For
details about switching views, see In Windows XP, how do I switch to the Windows Classic View, Classic theme, or Classic Control Panel?
- From the
Startmenu, selectPrograms, thenOracle Home,Configuration and Migration Tools, and thenNet Configuration Assistant.
- Choose
Local Net Service Name Configuration, and then chooseNext.
- Select
Add, and then chooseNext.
- The next window asks what version of Oracle database or service to
access. For Oed1 or the IU Data Warehouse, choose
Oracle8i or later database or service. ClickNext.
- If you selected 8 as the version in the previous step, you will be
prompted for the Database SID (e.g.,
oed1). Enter the Database SID and clickNext.If you selected 8i or later as the version in the previous step, you will be prompted for the database service name. This is the Database SID followed by an extension (e.g.,
oed1.world). Enter the full service name.Note: If you do not know the service name, check with the database administrator.
Click
Nextto continue. - Select
TCP, and then clickNext.
- Enter your hostname. For Oed1, the hostname is
dbserv.uits.indiana.edu. Unless instructed otherwise, selectUse the standard port number of 1521. To continue, clickNext.
- Choose
Yes, perform test, and then selectNext.Note: If the login test fails, select
Change Login, enter your correct user information, and then try again. ChooseNextwhen the test is successful. - Enter a net service name. UITS recommends using the same name that you
supplied in step 5. If you are connecting to a version 8i or later database,
UITS recommends appending
.worldto the name (e.g.,oed1.world). ClickNext.
- If you would like to configure another net service name, select
Yes, thenNext, and then follow these steps again. Otherwise, selectNo, and then clickNext.
- Once you have configured all of your net service names, click
Next, and then chooseFinish.
Connecting to Oracle with SQL*Plus
To connect to Oracle with SQL*Plus:
- From the
Startmenu, selectPrograms, and then the Oracle menu. Inside the Oracle menu, selectApplication Development, and then selectSQL Plus.
- Enter your Oracle username and password in the spaces provided.
In the box labeled "Host String:", 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. If you would like 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 wish to connect. 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, clickSettings, thenControl Panel.
- Select
Administrative Tools, thenData Sources (ODBC)orODBC Data Sources.
- At the top of the
ODBC Data Source Administratorwindow, select the tab labeledSystem DSN, and then clickAdd....
- Select from the list
Oracle in OraHome92(for Release 2) orOracle in Orahome90(for Release 1), 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.eduService name The 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 version: 8i or later
- 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 version: 8i or Later
- 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 version: 8i or Later
- 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 May 19, 2009.







