Vous êtes sur la page 1sur 4

Downloading Oracle Client and Loading Oracle on Workstation for XP, Vista, and Windows 7 I.

Download the Oracle client based on which operating system you are using A. Go to: www.oracle.com
B. Create an account by clicking on link

C. Follow the steps on the next pages to create your account. 1. Once you have an account, navigate to the following page: http://www.oracle.com/technology/software/products/database/index.html

2. Click on Accept License Agreement If working on XP: Use Oracle Database 10g Release 2 for Microsoft Windows

D. Scroll down to the section with the heading: Oracle Database 10g Release 2 Standard Edition, Standard Edition One, and Enterprise Edition

If working on Visa or Windows 7: Use Oracle Database 10g Release 2 for Microsoft Windows Vista

1. If you are working on Windows 7 or Vista: Download Oracle Database 10g Release 2 for Microsoft Windows Vista 2. If you are working on XP: Download Oracle Database 10g Release 2 for Microsoft Windows 3. Click on the preferred edition 4. Click on Accept License Agreement 5. Download the Client Release

Downloading Oracle Client and Loading Oracle on Workstation for XP, Vista, and Windows 7

6. Save the file to your machine 7. Follow the directions on the screen and run setup.exe

II. Loading Oracle on a work station:


A. You may see this screen: 1. Click Install/DeInstall Products 2. Oracle Universal Installer 2.2 Welcome Screen appears 3. Click Next B. In destination field, verify following information. If the info does not appear as follows, change accordingly. C. Name: OraHome92 D. Path: c:\oracle\ora92 E. Click Next F. Window XP: 1. Use default (Administrator) for Installation Type 2. Click Next for Port # 3. The installation will begin and should take about 10 minutes. If you get an error message, click ignore to continue 4. The Oracle Net Configuration Assistant Screen will appear a. Click cancel b. If you get an error message, click OK 5. End of Install will appear 6. Click Next 7. Really want to exit will appear a. Click Yes b. Click Exit 8. The SQL + icon should appear in your start menu. 9. If the icon does not appear, navigate to c:\oracle\ora92\bin\sqlplusw.exe G. Vista: 1. Select a custom installation 2. A list of components will appear - select sql+ in the installed components 3. The installation will begin and should take about 10 minutes. If you get an error message, click ignore to continue 4. The Oracle Net Configuration Assistant Screen will appear a. Click cancel b. If you get an error message, click OK 5. End of Install will appear 6. Click Next 7. Really want to exit will appear a. Click Yes b. Click Exit H. Windows 7: 1. Select a custom installation 2. A list of components will appear - select sql+ in the installed components 3. The installation will begin and should take about 10 minutes. If you get an error message, click ignore to continue 4. The Oracle Net Configuration Assistant Screen will appear a. Click cancel b. If you get an error message, click OK 5. End of Install will appear

Downloading Oracle Client and Loading Oracle on Workstation for XP, Vista, and Windows 7
6. Click Next 7. Really want to exit will appear a. Click Yes b. Click Exit 8. You need to add Windows 7 as an accepted operating system: a. Navigate to your refhost.xml file which was installed Location of this file on my system: c:\unpacked_client_installation\win32_10gR1_client\client\stage\pr ereq\client\refhost.xml b. Copy this piece of code: <!--Microsoft Windows 7--> <OPERATING_SYSTEM> <VERSION VALUE="6.1"/> </OPERATING_SYSTEM> c. Paste it after the Vista OS section </OPERATING_SYSTEM> <!--Microsoft Windows Vista--> <OPERATING_SYSTEM> <VERSION VALUE="6.0"/> </OPERATING_SYSTEM> <!--Microsoft Windows 7--> <OPERATING_SYSTEM> <VERSION VALUE="6.1"/> </OPERATING_SYSTEM> </CERTIFIED_SYSTEMS> This is excerpt from my newly edited refhost.xml file:

New lines are added at the end of this excerpt after <!--Microsoft Windows 7-->. Notice version value=6.1.

III. Loading the tsnames.ora and sqlnet.ora A. Download the tsnames.ora and sqlnet.ora files from Course Information\Oracle
Documents folder on blackboard and save them on your work station

ODE RT C INSE E HER

B. Copy the files to the following location on your workstation


C:\Oracle\Ora92\NETWORK\ADMIN C. You may note a different version of these files exist at this location. Simply overwrite the files with those files on blackboard which point to the Oracle Server at Temple. IV. Logging onto SQL Plus To work with an Oracle database, the user accesses the Oracle database engine located on a server. The user can communicate with an Oracle database using SQL*Plus, a command line client which allows the user to pass SQL commands to the database engine for execution. The user can create, access and maintain data structures such as tables, sequences, indexes, etc. A. Start SQL* Plus 1. From the Start button on the Windows taskbar select Programs| Oracle| OraHome| Application Development| SQL Plus. 1. A log on dialog box appears asking to enter User Name, Password and Host String as below:

Downloading Oracle Client and Loading Oracle on Workstation for XP, Vista, and Windows 7
a. Your username and password are posted to gradebook. The hoststring is foxora (the name of the Oracle db server we use here at Temple).

2. Once you are logged in, the SQL Command Prompt SQL> is displayed.

b. Change password 1. Enter password at the SQL> prompt type. 3. At the Password prompt, enter your old password. 4. At the confirm your new password prompt, enter your new password again. 5. A message password changed is displayed confirming the change of password. 6. Make sure to record your new password - it CANNOT be retrieved. c. Exit from SQL*Plus:

1. Enter exit at SQL> prompt. d. Get Help 1. Enter help at the command prompt followed by the name of the command. For example: SQL>HELP ACCEPT. 7. If you having difficulty with an error message in SQL, try searching on the Internet. Most error messages are well documented, including the fix.

Vous aimerez peut-être aussi