You are on page 1of 10

Step-0 Assumptions:

Assuming you have the following:


OS Windows 7

Bit 32-bit/64-bit

ORACLE_BASE C:\u01\app\oracle
[if location doesn’t exist, create it]

Oracle 11g R2 Client Media Location on local C:\My_Downloads


system

local laptop’s username oracle


Step-1: Download
Option-1: Download from Oracle’s Website
From:
http://download.oracle.com/otn/nt/oracle11g/112010/win32_11gR2_client.zip
To:
C:\My_Downloads

Option-2 [Only for my students.]Download from my network:


From:
Open “My Computer”
and copy paste the following in the address bar:
\\192.168.0.68\MLC_Shared_Files\11g R2_Window_32-bit_Client
Remember: it may ask you for “student” domain credentials.
and copy win32_11gR2_client.zip
To:
C:\My_Downloads on your laptop.

Step-2: Extract the Software


Using default Windows Extract Utility (~20 minutes)
● Browse to C:\My_Downloads
● Right Click on “win32_11gR2_client” and click “Extract All”.
○ Click “Extract”.
OR

Using WinRar Extract Utility (~3 minutes)


● Browse to C:\My_Downloads
● Right Click on “win_32_11R2_client” and click “Extract Files...”
○ Click “Ok”

Step-3: Install Oracle 11g R2 Client.

● Browse to C:\My_Downloads\win32_11gR2_client\client\install
● right click on “oui” and click “Run as administrator”
● On the new window of “User account control”, click “Yes” and follow the screenshots below.
On the Step1 of 7 window:
● Select “Administrator (1.02GB)
● and click “Next” as shown below
On the Step2 of 7 window:
● Keep English as the selected language and click Next.
On the Step3 of 7 window:
● Replace ORACLE_BASE
○ From c:\app\YourLoginName
○ To c:\u01\app\oracle
● Software location will automatically change to C:\u01\app\oracle\product\11.2.0\client_1
On the Step4of 7 window:
● The installer will start checking for pre-requisites
On the Step5 of 7 window:
● Click on Finish
On the Step6 of 7 window:

● Installer will start Oracle 11g Client on you client machine (laptop).
On the Step7 of 7 window:
● Click Finish to wrap up the installation.

Congratulations, you have just installed 11g R2 Client on Windows 7. Next step is to add the tns entry to connect to
PrimeDG database, verify connectivity and finally de-install everything from Windows Laptop.

1 Add the tns entry called PFO with the following values.
a Hostname = ssh........com
b Port = 6223
c Service_Name = PrimeDG
d Protocol = TCP

To see an example of how to add the tns entry, click here.

Note: tnsnames.ora file is located in $ORACLE_HOME/network admin or in simple variable, it is under


$TNS_ADMIN/network/admin location.

Three main Database Variables which are set in .bash_profile are:


ORACLE_BASE → /u01/app/oracle
ORACLE_HOME → $ORACLE_BASE/product/11.2.0/db_1
TNS_ADMIN → $ORACLE_HOME/network/admin

2 Connect to your schema using PFO


a Start cmd on you local laptop
b sqlplus scott@pfo
c Create a table called “XYZ_Was_Here” as follows. Make sure you replace XYZ with your name. For
example, if I have to create my table, I will name it “Moid_Was_Here”.

Command to create your table is:


Create table Moid_Was_Here (id number);

3 Now since we have verified the connectivity, it is the time to DE-INSTALL Oracle 11g R2 Client from Windows
7, click here on instructions on how to perform deinstallation of Oracle Client you just installed.

--Moid

You might also like