UITS

At IU, how do I download and install the Oracle Database 11g Release 2 client for 32-bit Windows?

Note: The following instructions are for 32-bit Windows. For 64-bit Windows instructions, see At IU, how do I install the Oracle Database 11g Release 2 client for 64-bit Windows?

On this page:


Downloading Oracle Database 11g Release 2 for 32-bit Windows

At Indiana University, to download the Oracle Database 11g Release 2 client for 32-bit Windows, use either of the following methods:

Note: For either method, you must be logged into your computer as an administrator. (Normally, you should refrain from running your Windows computer as an administrator; see What is the principle of least privilege?)

Downloading the client directly from Oracle's web site

To download the Oracle Database client directly from Oracle's web site:

  1. Visit Oracle Database Software Downloads.
  2. Click OTN License Agreement, read the license agreement, and then close the window.
  3. Select Accept License Agreement. You will see a notification thanking you for accepting the OTN License Agreement and permitting you to download the software.
  4. Scroll down to Oracle Database 11g Release 2 Client (11.2.0.1.0) for Microsoft Windows (32-bit). To start the download, click win32_11gR2_client.zip.

    Note: You will need 698 MB of free space on your hard drive before downloading this file.

    Before continuing, you may be prompted to enter a valid OTN username and password. After doing so, you will see the "File Download" dialog box. If you do not have an OTN username and password, see the instructions for getting one above.

  5. Save the win32_11gR2_client.zip file.
  6. In Windows, navigate to the file, right-click it, and then select Extract all.
  7. Select a destination folder for the extracted files, and then perform the extraction.
  8. To launch the Oracle Client Installer, go to the destination folder, open the client directory, and then double-click setup.exe (the Oracle 11g setup file).

    Note: At this point:

    • Windows may prompt you for an administrator username and password. Enter an administrator username and password to proceed.
    • Windows may prompt you with an "Open File - Security Warning" dialog box. Click Run to proceed.

    It may take a minute for the "Oracle Client Installer" window to appear. To see it, you may need to minimize any other application windows that are open.

When you are ready to install the Oracle client, follow the instructions in the next section.

Back to top

Downloading the client from IUware

To download the Oracle Database client from IUware:

  1. Go to Oracle Client 11g R2 - 32-bit.
  2. Under "About This Package", click Log in for access:
    • If you're not already logged into the IU Central Authentication Service (CAS), enter your IU Network ID username and passphrase, and then click LOGIN.
    • If you're already logged into IU CAS, proceed to the next step.
  3. Under "Downloads", click Oracle11gR2Client32bit.exe - 698 MB.

    Note: You will need 698 MB of free space on your hard drive before downloading this file.

  4. In the "File Download - Security Warning" dialog box, click Save, select a destination folder, and then click Save.
  5. To open the IUware installer, go to the destination folder, and then double-click Oracle11gR2Client32bit.exe.
  6. By default, the IUware installer will create a c:\IUware Online\Oracle11gR2 Client 32bit directory for installing the necessary files. To save the files to a different folder, click Browse, and then find and select the desired folder. To continue, click Install.
  7. The Oracle Database Client installation should start automatically after the IUware installer finishes extracting files to the specified folder. If it does not, go to that folder, and then click setup.exe.

    It may take a minute for the "Oracle Client Installer" window to appear. To see it, you may need to minimize any other application windows that are open.

When you are ready to install the Oracle client, follow the instructions in the next section.

Back to top

Installing the Oracle client

The installation requires 705MB of space.

Note: If you have an Oracle Home environment variable set on your computer, remove it before starting the installation (it interferes with setting some paths for the installation).

  1. The Oracle client installer will display the "Select Installation Type" dialog box. Unless you want a different type of installation, select Custom, click Next.
  2. The "Select Product Languages" dialog box will appear with English already selected. If you want to select another language, in the box on the left, click your preferred language and > so the language appears in the box on the right. After selecting the language, click Next.
  3. In the "Specify Installation Location" dialog box, the installer provides default file locations for you, but you can enter alternative paths in the available boxes (or click Browse to navigate to alternative locations).
    • The first file location is for the Oracle Base directory (for files related to configuration and software). Choose or create a directory (e.g., c:\Oracle11gR2).
    • The second file location is for the Oracle Home directory (for software files). You should place this directory within your selected Oracle Base directory (e.g., c:\Oracle11gR2\product\11.2.0\client_1).

    Note: Do not use an existing Oracle Home. If an existing Oracle Home is selected by default, choose a different location.

    To continue, click Next.

  4. In the "Available Product Components" dialog box, select the following components:
    • Oracle Java Client
    • SQL*Plus
    • Oracle JDBC/THIN Interfaces
    • Oracle Call Interface (OCI)
    • Oracle Net
    • Oracle Programmer
    • Oracle SQL Developer (optional)
    • Oracle Connection Manager
    • Oracle ODBC Driver
    • Oracle Objects for OLE
    • Oracle Provider for OLE DB
    • Oracle Data Provider for .NET
    • Oracle Providers for ASP.NET

    Note: The SQL*Plus GUI application and SQL*Plus Worksheet are no longer available in Oracle 11g. SQL*Plus is now just a command shell tool. You may want to investigate SQL Developer as an alternative.

    To continue, click Next.

  5. In the "Perform Prerequisite Checks" dialog box, the installer verifies whether your environment meets the minimum requirements for installing and configuring the products you selected. Fix any flagged items before proceeding. If the check is successful, the installation automatically proceeds to the next dialog box.
  6. Verify the installation information in the "Summary" dialog box, and then click Finish.
  7. The "Install Product" dialog box will prepare, copy, and set up files, and configure the installation. It will proceed to the next dialog box.
  8. The "Finish" dialog box should show the message "The installation of Oracle Client was successful". Click Close.
  9. To finish the installation, follow the instructions for Configuring Oracle Net later in this document. If you choose to configure the Oracle Net client at a later time, use the instructions in Adding new database services at that time.

Back to top

Configuring Oracle Net

To configure Oracle Net, you will need to know the System Identifier (SID) of the database to which you are connecting, the full service name of the database, the port number, and the hostname of the computer hosting the database. If necessary, ask your database administrator for this information before continuing.

The following instructions assume you are using the IUGP Oracle research instance:

  • SID: iugp
  • Service name: sid.iu.edu
  • Port: 1521
  • Hostname: rdc03.uits.iu.edu

If you are using the IU Data Warehouse, refer to the Oracle client configuration information for the IU Data Warehouse presented later in this document.

Note: If you have the TNS_ADMIN environment variable set on your workstation and have a tnsnames.ora file stored there, following these instructions will update that file instead of the tnsnames.ora file in your Oracle Home network administrator directory.

  1. If you cannot see the "Oracle Net Configuration Assistant: Welcome" dialog box, move the "Configuration Assistants" dialog box.
  2. In the "Oracle Net Configuration Assistant: Welcome" dialog box, make sure Perform typical configuration is not selected, and then click Next.
  3. In the "Oracle Net Configuration Assistant: Naming Methods Configuration" dialog box, make sure the "Selected Naming Methods" box has Local Naming, and then click Next.
  4. Enter the full service name (e.g., iugp.iu.edu), and then click Next. If you do not know the full service name, contact the UITS High Performance Systems (HPS) team to check with the database administrator.
  5. Select TCP, and then click Next.
  6. Enter your hostname (for the iugp SID, the hostname is rdc03.uits.indiana.edu). Unless otherwise specified, leave 1521 as the port number. Then, click Next.
  7. Select Yes, perform test, and then click Next.

    Note: If the login test fails, select Change Login, enter your user information, and then try again.

    When the test is successful, click Next.

  8. The UITS High Performance Systems group recommends using iugp.iu.edu as the name for the new net service. Enter the name, and then click Next.

    Note: Entering a service name without a domain (e.g., iugp instead of iugp.iu.edu) can cause connection problems.

  9. If you want to configure another net service name, select Yes, and then follow steps 4 through 8 above. Otherwise, select No, and then click Next.
  10. Once you have configured all of your net service names, click Next twice, and then click Finish.
  11. In the "Finish" dialog box, you will see "The installation of Oracle Client was successful". Click Close>.

After following these steps, you are finished setting up the Oracle client. You may want to continue with one of the following sections:

Back to top

Adding new database services

Note: If you have the TNS_ADMIN environment variable set on your workstation and have a tnsnames.ora file stored there, following these instructions will update that file instead of the tnsnames.ora file in your Oracle Home network administrator directory.

To configure your Oracle client to connect to an Oracle database on a remote computer:

  1. From the Start menu, select All Programs > Oracle - OraClient11g_home1 > Configuration and Migration Tools > Net Configuration Assistant.
  2. Select Local Net Service Name Configuration, and then click Next.
  3. Select Add, and then click Next.
  4. Enter the full service name (e.g., iugp.iu.edu), and then click Next. If you do not know the full service name, contact the UITS High Performance Systems (HPS) team to check with the database administrator.
  5. Select TCP, and then click Next.
  6. Enter your hostname (for the iugp SID, the hostname is rdc03.uits.iu.edu). Unless otherwise specified, leave 1521 as the port number. Then, click Next.
  7. Select Yes, perform a test, and then click Next.

    Note: If the login test fails, select Change Login, enter your user information, and then try again.

    When the test is successful, click Next.

  8. The UITS High Performance Systems group recommends using iugp.iu.edu as the name for the new net service. Enter the name, and then click Next.

    Note: Entering a service name without a domain (e.g., iugp instead of iugp.iu.edu) can cause connection problems.

  9. If you want to configure another net service name, select Yes, and then follow steps 4 through 8 above. Otherwise, select No, and then click Next.
  10. Once you have configured all of your net service names, click Next, and then click Finish.

Back to top

Connecting to Oracle with SQL*Plus

Note: The SQL*Plus graphical application and SQL*Plus Worksheet are no longer available in Oracle 11g.

To connect to Oracle with SQL*Plus:

  1. From the Start menu, select All Programs > Oracle - OraClient11g_home1 > Application Development > SQL*Plus.
  2. At the command prompt, enter your Oracle username followed by @ and the net service name you configured (e.g., username@iugp.iu.edu).
  3. Click Enter. When prompted, enter your password, and then click Enter again.
  4. If this is your first time connecting to the database, you will be prompted to enter a new password. If prompted, enter a new password, click Enter, re-enter your new password, and then click Enter again.

After completing these steps, you will be in the SQL*Plus command-line environment.

Note: If you want to reset your password, at the command prompt, enter password. When prompted, enter your current password, then your new password, and then your new password again. SQL*Plus will confirm a successful password change.

Back to top

Starting SQL Developer the first time

Note: The first time you open SQL Developer, you must specify the path to the Java executable (java.exe). After connecting for the first time, you no longer will need to set the path to java.exe.

  1. From the Start menu, select All Programs > Oracle - OraClient11g_home1 > Application Development > SQL Developer.
  2. The "Oracle SQL Developer" dialog box will prompt you to enter the full pathname for java.exe. Click Browse to find the file.

    Note: The executable is most likely in your ORACLE_HOME directory in the jdk\bin subdirectory; for example:

      C:\Oracle11gR2\product\11.2.0\client_1\jdk\bin\java.exe
  3. When you find the path to the file, click OK. SQL Developer should start.

Back to top

Configuring and locating an ODBC data source

Programs that use ODBC to connect to remote databases need a way to identify the type of database and the host to which they are connecting. This is managed with an ODBC data source that associates a name with its database connection information. For Oracle, the database connection information is the name of the Oracle Net service you specified when you configured the Oracle client.

  1. From the Start menu, click All Programs > Oracle - OraClient11g_home1 > Configuration and Migration Tools > Microsoft ODBC Administrator.
  2. Enter a Windows administrator username and password.
  3. At the top of the "ODBC Data Source Administrator" window, select System DSN, and then click Add.
  4. From the list of drivers, select Oracle in OraClient11g_home1, and then click Finish.
  5. In the window that appears, enter your information, and then click OK.

    For example, to create an Oracle ODBC data source for the iugp database on rdc03.uits.iu.edu:

    • For "Data source name", enter iugp_ora.
    • For "Description", enter something to remind you why you created this ODBC data source (e.g., "Oracle ODBC for IUGP DB on rdc03.uits.iu.edu").
    • For "TNS service name", enter the Oracle Net service name you created for the database to which you are connecting (e.g., iugp.iu.edu).
    • Leave the "Username" field blank; you will be prompted for your username when you make an ODBC connection to the database.
  6. The ODBC data source you added will now appear in your System DSN list. Click OK to finish your ODBC configuration.

Back to top

Oracle client configuration information for the IU Data Warehouse

Note: The following information is intended for IU Data Warehouse users only.

Use the following configuration information when configuring Oracle Net to connect to the IU Data Warehouse:

  • Development (dss1dev):
    • Database service name: dss1dev.uits.indiana.edu
    • Hostname: iedssdev.uits.indiana.edu
    • Port: 1521 (default)
    • Net service name: dss1dev.uits.indiana.edu
  • Test (dss1tst):
    • Database service name: dss1tst.uits.indiana.edu
    • Hostname: esdbd99.uits.iupui.edu
    • Port: 1521 (default)
    • Net service name: dss1tst.uits.indiana.edu
  • Production (dss1prd):
    • Database service name: dss1prd.uits.indiana.edu
    • Hostname: esdbd100.uits.indiana.edu
    • Port: 1521 (default)
    • Net service name: dss1prd.uits.indiana.edu

Getting help

If you need help connecting to your Oracle database, email the High Performance Systems group.

Back to top

This is document aznp in the Knowledge Base.
Last modified on 2015-03-23.

  • Fill out this form to submit your issue to the UITS Support Center.
  • Please note that you must be affiliated with Indiana University to receive support.
  • All fields are required.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.

  • Fill out this form to submit your comment to the IU Knowledge Base.
  • If you are affiliated with Indiana University and need help with a computing problem, please use the I need help with a computing problem section above, or contact your campus Support Center.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.