At IU, how do I install the Oracle 10g client?
Note: This document explains how to install the Oracle 10g client. For different versions, 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 release 2?
For instructions on how to install and configure the Oracle 10g client, see the appropriate section below:
- Running setup from CD
- 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
- IU Data Warehouse configuration information
Running the Oracle client setup from the CD
To run the setup program from the CD:
- Log into your Windows computer as an administrator.
Note: At Indiana University, the University Information Security Office (UISO) recommends that you normally refrain from running your Windows computer as an administrator. For more, see What is the principle of least privilege?
- Insert the Oracle client CD and wait for the
Oracle Database 10g Client - Autorunwindow to open.
- If it doesn't start automatically, double-click
My Computer, and then double-click theOracle10gicon.
- Skip to the section entitled Client installation process.
Running the Oracle client setup from IUware
If you do not have an Ethernet connection, run the Oracle client setup from a CD instead of using this method.
- Visit IUware at: http://iuware.iu.edu/
- From the column on the left side of the window, choose
Database.
- Select
Oracle 10g Client (10.1.0.2.0)from the list.
- Next to "Available for Download", click
Login. Enter your IU Network ID credentials when prompted, and then clickDownloadto save the file to your computer.
- After the download is complete, double-click the
Oracle10gClient.exefile that was saved to your computer. A window will open calledOracle 10g Client (10.1.0.2). Once the installation program has loaded, clickNext.
- By default, the install program will install the necessary files
to
C:\IUware Online\Oracle 10g Client (10.1.0.2). If you would like 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
automatically begins as the Oracle Universal Installer runs. This will
take a few minutes.
- Continue with the next section when you are ready to install the
Oracle client.
Note: You may need to move the installer window to see the configuration window.
Client installation process
Note: To continue, you will need the following pieces of information:
| Information needed | Example (for Oed1) |
|---|---|
| Version of the database to connect to (8 or 8i or later) | 8i or later |
| Name or System Identifier (SID) of the database and 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, see the section entitled Oracle client configuration information for the IU Data Warehouse.
Verify the information above with the database administrator before proceeding. When you are ready, proceed with the installation:
- If the CD ran automatically, or you clicked the
Oracle10gicon, then proceed with the next step. If you clickedsetup.exe, skip ahead to step 3.
- From the window that opens, choose
Install/Deinstall Products.
- From the Oracle Universal Installer, choose
Next.
- The installer will provide the default file locations for you, but
you can enter an alternate path in the available box, or select
Browse...to navigate to the desired location. When you are ready to continue, 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.
- In the
Available Product Componentswindow, in the following order, select:
-
Oracle Network Utilities -
SQL*Plus -
Oracle JDBC/OCI Interfaces -
Oracle Call Interfaces -
Oracle Windows Interfaces
In the following order, deselect:
-
Oracle Services For Microsoft Transaction Server -
Oracle One-Off Patch Installer
Make sure that
Enterprise Manager 10g Java Consoleis selected. -
- When you have finished making your selections, click
Next.
- The 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. Check the summary information and click
Install.
- 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
- In the
Oracle Net Configuration Assistant:Welcomewindow, you have two options:
- To see if your client can be configured automatically, select
Perform typical configuration. 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", clickNext, thenFinish. You are done with this section. - If the previous step fails, deselect
Perform typical configuration. ClickNext, and then continue with step 2.
- To see if your client can be configured automatically, select
- Ensure that the
Naming Methods Configurationwindow displaysLocal Namingin the box labeled "Selected Naming Methods". ClickNext.
- You will be prompted for 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.
- Enter your hostname.
For
Oed1, the hostname isdbserv.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 3 (e.g.,
oed1.world). ClickNext.
- If you would like to configure another net service name, select
Yesand follow steps 2 through 6 again. Otherwise, selectNo, and then clickNext.
- Once you have configured all of your net service names, click
Nexttwice, thenFinish, and thenExit. When asked if you really want to exit, selectYes.
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:
- From the
Startmenu, selectPrograms, thenOracle - OraClient10g_home, thenConfiguration and Migration Tools, and thenNet Configuration Assistant.
- Choose
Local Net Service Name Configuration, and then clickNext.
- Select
Add, and then chooseNext.
- You will be prompted for 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.
- Make sure that
TCPis selected, and then clickNext.
- Enter your hostname. For
Oed1, the hostname isdbserv.uits.indiana.edu. Unless you are 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 4 (e.g.,
oed1.world). ClickNext.
- If you would like to configure another net service name, select
Yes, thenNext, and then follow steps 1 through 8 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, selectProgramsand thenOracle - OraClient10g_home1.
- From the Oracle menu, select
Application Development, and thenSQL 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. 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, clickSettings, and thenControl Panel.
- In Windows XP, select
Administrative Tools, and then selectData Sources (ODBC). In Windows 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
Oed1database ondbserv.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 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 November 10, 2009.







