Está en la página 1de 37

Oracle 10g R2

Installation Guide
for Windows XP, Windows Server 2003

Installation Instructions:
• Follow every step in this guide unless it is marked optional.
• Do not change or deviate from any step unless told to do so by your
instructor or Heinz Computing staff member.
• Only start this installation when you can dedicate 1-2 hours of your time
• Report any installation errors/problems to
heinz-computing@andrew.cmu.edu.
Please include in your email:
o The step you were on when the error occurred
o A screen shot (Print Screen button) of the error
o The error number and exact text of the error
Pre-installation Instructions

Installing Oracle

Contents 
Pre-installation Instructions ...................................................................................3 
Installation User Name ............................................................................................................... 3 
Check Virtual Memory Settings ................................................................................................. 3 
Check Free Disk Space ............................................................................................................... 3 
RAM Requirements .................................................................................................................... 3 
Browser Compatibility ................................................................................................................ 3 
Step 1: Installing Oracle 10G Database Express Edition ....................................4 
Step 2: Installing Oracle Developer Suite ............................................................11 
Step 3: Install Developer Suite Patch ...................................................................19 
Step 4: Jinit Installation ........................................................................................21 
Step 5: Browser Installation..................................................................................22 
Step 6: Configure Forms to use Firefox 2.0 or IE 6............................................24 
Step 7: (Optional) Install Developer Suite Documentation ...............................26 
Step 8: (Optional) Installing Oracle 10g Warehouse Builder............................28 
Appendix A – Checking Virtual Memory ...........................................................33 
Appendix B – Checking Free Disk Space ............................................................34 
Appendix C - Starting and Stopping Services .....................................................35 
Appendix D - Creating Folders on the Start, Programs Menu .........................36 
Appendix E - Completely Removing Oracle from Windows NT/2000/XP ......37 

2
Pre-installation Instructions

Pre­installation Instructions 

This document contains instructions for installing Personal Oracle 10g on computers using the
Windows XP Professional or Windows Server 2003 operating system. Instructions may vary
slightly for each operating system. Oracle installations can be lengthy, plan 1-2 hours for the full
installation. Make sure your operating system has all current updates and patches prior to
installation.

Installation User Name 
To install Oracle software, you must login to your computer with the same user name as you will
to use the software. In addition, that user name must be a member of the administrator’s group.

Check Virtual Memory Settings  
You need a minimum of 768 MB. See Appendix A on page 34, for operating system specific
instructions on changing virtual memory.

Check Free Disk Space  
You need 3.8GB of disk space to install Oracle 10g, including 150 MB on the system drive
(usually C:), with the rest of the space on any single uncompressed drive. Oracle documentation
uses an additional 600 MB. Oracle Developer Suite 10g uses an additional 1.2GB. See
Appendix B on page 35, for operating system specific instructions on checking disk space.

RAM Requirements 
You need 1024 MB minimum. Right click on My Computer and choose Properties to determine
your computers currently installed RAM.

Browser Compatibility 
Some Oracle components in this installation require Internet Explorer 6.0 or Firefox 2.0. This
installation includes Firefox 2.0. You only need to install Firefox if you do not have one of the
compatible browser install and set as you default browser.

3
Step 1: Installing Oracle 10G Database Express Edition

Step 1: Installing Oracle 10G Database Express Edition 

1-1: Insert the Oracle 10g Database Express Edition CD in the CD player. It does not auto
start so open My Computer then open the CD player. Double click on
OracleXEUniv.exe
1-2: The setup program will start. After the install wizard prepares the install, you will see the
Welcome window. Click the Next button.

1-3: The License Agreement window appears. Read the agreement then click "I Accept the
terms..." then click the Next button.

4
Step 1: Installing Oracle 10G Database Express Edition

1-4: The Choose Destination window appears. Keep the defaults and click the Next button.

1-5: The Database Passwords appear. This is for the “sys” and “system” account. For the
Enter Password and Confirm Password fields, type: johnheinz
then hit the Next button.

1-6: The Summary window appears. Click the Install button.

5
Step 1: Installing Oracle 10G Database Express Edition

1-7: The installation will take 15-25 minutes. At the end of the installation, you will see the
Complete window. Make sure the "launch the Database homepage" is checked and
click the Finish button.

1-8: A web browser will open to http://127.0.0.1:8080 and you will see the Oracle Database
Express login screen. Type:
Username: sys
Password: johnheinz

6
Step 1: Installing Oracle 10G Database Express Edition

1-9: The Oracle Web Admin home page will appear. Now we need to activate the test account.
There is an account called "hr" that we will active for testing. Click on the
Administration button.

Click the Database Users button.

Click the HR button.

7
Step 1: Installing Oracle 10G Database Express Edition

1-10: The HR account information will appear. For the Password and Confirm password fields,
type: tiger
Change the Account Status to Unlocked and click the Alter User button. The HR
account is now active.

1-11: Now let's test the account. Click the Logout link.

You will see a message that you are logged out. Below the message, click the Login link.

8
Step 1: Installing Oracle 10G Database Express Edition

The database login screen will appear. Type:


Username: hr
Password: tiger
Click the Login button.

1-12: The Oracle web admin home page will appear. Click on the SQL button.

Click the SQL Commands button.

9
Step 1: Installing Oracle 10G Database Express Edition

1-13: The SQL Commands screen appears. Type: select * from jobs;
Click the run button. Job information will appear in the Results pane.

1-14: The database is now working. You can access the Oracle Express database function on
the start menu.

Note: The setup program creates the listener and tnsnames files for you. They are located at:
C:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN
The service name is XE.

The old Scott/tiger account is not used in the express addition.

10
Step 2: Installing Oracle Developer Suite

Step 2: Installing Oracle Developer Suite 

2-1: Insert the Dev Suite disk 1. The install program will automatically start. If not, open My
Computer then the CD player. Double click on setup.exe.
2-2: The setup program will start. Click the Next button.

2-3: The Specify Inventory Directory screen appears. Keep the default location and click the
Next button.

11
Step 2: Installing Oracle Developer Suite

2-4: The Specify File Locations screen appears. Under Destination, Type:
Name: DevSuiteHome1
Path: c:\DevSuiteHome_1
(Please note if you change this location. You are required to retype this information
when installing the patch.)
Click the Next button.

2-5: The Select Installation Type screen will appear. Select Complete and click the Next
button.

Note: You may receive a Windows Security Alert. If you do, click the Unblock button.

12
Step 2: Installing Oracle Developer Suite

2-6: The Provide Outgoing Mail Server Info screen will appear. Leave the field blank and
click the Next button.

2-7: The Summary screen will appear. Click the Install button.

2-8: The Install screen will appear. The installation will take about 20-40 minutes. During the
installation, you will be asked to insert Dev Suite disk 2. When the installation reaches
94%, it will ask for the first CD again.

13
Step 2: Installing Oracle Developer Suite

2-9: Once the install is finished, you will see the End of Installation screen. Click the Exit
button.

2-10: On the Start button click Oracle-DevSuiteHome1 -> Configuration and Migration
tools -> Net Configuration Assistant.
2-11: The Net Config Assistant will open. Select Local Net Service Name configuration then
click the Next button.

2-12: The Action screen will appear. Select Add then click the Next button.

14
Step 2: Installing Oracle Developer Suite

2-13: The Service screen appears. For the Service Name field, type: XE
then click the Next button.

2-14: The Network Protocol screen appears. Select TCP then click the Next button.

2-15: The Hostname screen appears. For the Hostname, type: 127.0.0.1
click the Next button.

15
Step 2: Installing Oracle Developer Suite

2-16: The Test screen appears. Click Yes, perform a test then click Next.

2-17: The test will fail. Click the change login button.

Enter:
Username: hr
Password; tiger
Click the OK button.

16
Step 2: Installing Oracle Developer Suite

2-18: The test will now be successful. Click Next three times then click Finished.

2-19: Dev Suite is now setup to access the Oracle Express Server. To test, click Start ->
Oracle-DevSuiteHome2 -> Application Development -> SQL Plus
2-20: SQL Plus will open. Login:
Username: hr
Password: tiger
Host String: XE

17
Step 2: Installing Oracle Developer Suite

2-21: At the prompt, type: select * from jobs;


Hit enter on the keyboard. You will see the job data.

18
Step 3: Install Developer Suite Patch

Step 3: Install Developer Suite Patch 

3-1: Insert the Oracle 10G Developer Suite Patch DVD. The install program will
automatically start. If not, open My Computer then the CD player. Double click on
setup.exe.
3-2: The setup program will start. After the install wizard prepares the install, you will see the
Welcome window. Click the Next button.

3-3: The File Location window appears. Change the location to:
Name: DevSuiteHome1
Location: C:\DevSuiteHome_1
Click the Next button.

19
Step 3: Install Developer Suite Patch

3-4: The Select a Product to Install screen appears. Select Oracle Application Server and
Developer Suite 10g Rel 2 Software Update then click the Next button.

3-5: The Summary screen will appear. Click the Install button.

3-6: When the installation is complete, click the Exit button.

20
Step 4: Jinit Installation

Step 4: Jinit Installation 

4-1: Close all web browsers.


4-2: Open My Computer. Go to C:\DevSuiteHome_1\jinit folder. Double click on Jinit.exe.
4-3: The Jinit installer will open and the Choose Destination Location screen will appear.
Keep the default settings and click the Next button.

4-4: The installation program will install the Jinit application. At the end of the installation,
click the OK button.

21
Step 5: Browser Installation

Step 5: Browser Installation 

Oracle 10g Developer Suite R2 is only compatible with Internet Explorer 6.0 and Firefox 2.0.0.4.
You can skip this step if you currently have either of these browsers installed on your computer.

This step will install Firefox 2.0.0.4. If you are currently using a different version of Firefox,
please uninstall it (Start-> Control Panel->Add/Remove Programs) before starting this step.

5-1: Insert the Oracle 10g Firefox 2.0 CD. It does not have an auto start so open My
Computer then open the CD player. Double click on Firefox Setup 2.0.0.4.exe.
5-2: The Firefox setup program will start. The Welcome screen will appear. Click the Next
button.

5-3: The License Agreement screen will appear. Select I accept the terms… then click the
Next button.

22
Step 5: Browser Installation

5-4: The Setup Type screen appears. Select Standard and click the Next button.

5-5: The installation program will begin. When the installation is complete, unselect the
Launch Mozilla Firefox now then click the Finish button.

23
Step 6: Configure Forms to use Firefox 2.0 or IE 6.

Step 6: Configure Forms to use Firefox 2.0 or IE 6. 

6-1: Open Forms Builder: Click Start -> Programs -> Oracle Developer Suite -
DevSuiteHome1 -> Forms Developer -> Forms Builder
6-2: Forms Builder will open. On the menu bar, click Edit them Preferences…
6-3: The Preferences dialog box will open. On the Runtime tab, click the Browse button.

6-4: The Open dialog box appears. Go to C:\Program Files\Mozilla Firefox folder. Click
once on Firefox then click the Open button.
(For IE 6.0, go to C:\Program Files\Internet Explorer\iexplore.exe)

24
Step 6: Configure Forms to use Firefox 2.0 or IE 6.

6-5: The Web Browser Location field will now have the location of Firefox (or IE). Click the
OK button.

6-6: Close Forms Builder.

25
Step 7: (Optional) Install Developer Suite Documentation

Step 7: (Optional) Install Developer Suite Documentation 

7-1: Insert the Oracle 10g Developers Suite Documentation CD. The CD does not have an
auto start program. Open My Computer and open your CD Rom Drive. The Oracle 10g
Developers Suite Documentation CD contents will appear. On the menu bar click Edit
then click Select All.

7-2: All the files are highlighted. On the menu bar click Edit then click Copy.

26
Step 7: (Optional) Install Developer Suite Documentation

7-3: In My Computer, go to C:\DevSuiteHome_1. On the menu bar, click File then click
New then click Folder. Name the folder docs.

7-4: Open the docs folder. On the menu bar, click Edit then Paste.

7-5: The documentation files are on your hard drive. Now you can create a shortcut to the
main documentation web page located at C:\DevSuiteHome_1\docs\index.htm.

27
Step 8: (Optional) Installing Oracle 10g Warehouse Builder

Step 8: (Optional) Installing Oracle 10g Warehouse Builder 

8-1: Insert the Oracle 10g Warehouse Builder DVD. The install program will automatically
start. If not, open My Computer then the CD player. Double click on setup.exe.
8-2: The Welcome screen appears. Click the Next button.

8-3: The Specify Home screen appears. Change the destination to:
Name: wb
Path: c:\wb
Click the Next button.

28
Step 8: (Optional) Installing Oracle 10g Warehouse Builder

8-4: The Summary screen page will appear. Click the Install button.

8-5: You may see a Windows Security Alert. Click the Unblock button.

8-6: When the installation is finished, click the Exit button.

8-7: Click Start-> Programs->Oracle-wb->Configuration and Migration Tools->Net


Configuration Assistant.

29
Step 8: (Optional) Installing Oracle 10g Warehouse Builder

8-8: The Net Configuration Assistant will open. Select Local Net Service Name
configuration then click the Next button.

8-9: The Action screen appears. Select Add then click the Next button.

8-10: The Service Name screen will appear. In the Service Name field, Type: XE
Click the Next button.

30
Step 8: (Optional) Installing Oracle 10g Warehouse Builder

8-11: The Network Protocol screen will appear. Select TCP and click the Next button.

8-12: The Host Name screen appears. In the Host Name field, type: 127.0.0.1
Click the Next button.

8-13: The Test screen appears. Click Yes, perform a test then click Next.

31
Step 8: (Optional) Installing Oracle 10g Warehouse Builder

8-14: The test will fail. Click the change login button.

Enter:
Username: hr
Password; tiger
Click the OK button.

8-15: The test will now be successful. Click Next three times then click Finished.

32
Appendix A – Checking Virtual Memory

Appendix A – Checking Virtual Memory  
For Windows XP:

1) From the Start menu, select My Computer.


2) Under System Tasks, select View system information.
3) Select the Advanced Tab.
4) In the Performance section, select Settings.
5) Select the Advanced Tab.
6) In the Virtual memory section, note the Total paging size for all drives. If it is less than
768 MB, select Change. Select Custom size: and enter an initial size of between 768 MB and
1536 MB. Select Set, then OK to close the Virtual Memory Screen.

7) Select OK to close the Performance Options screen.


8) Select OK to close the System Properties Screen.
9) Select OK to close the My Computer screen.

33
Appendix B – Checking Free Disk Space

Appendix B – Checking Free Disk Space 
For Windows XP:

1) From the Start menu select My Computer.


2) Select the drive and note the free space in the Details section in the lower left.
3) From the File menu select Close.

34
Appendix C - Starting and Stopping Services

Appendix C ­ Starting and Stopping Services 

For Windows XP

1) From the Start menu select Control Panel


2) Select Performance and Maintenance
3) Select Administrative Tools
4) Double click Services
5) Select the particular service
6) Click Stop or Start the service, then close the Services window.

Note: To change the way a service starts on bootup, double click the service, change the Startup
type, click Apply and then OK .

35
Appendix D - Creating Folders on the Start, Programs Menu

Appendix D ­ Creating Folders on the Start, Programs Menu 

1. Right click the Start button and select Open All Users.
2. Double click the Programs folder.
3. From the File menu select New.
4. Select Folder and name the new folder.
5. Drag and drop other items from the Programs folder into the new folder.

36
Appendix E - Completely Removing Oracle from Windows NT/2000/XP

Appendix E ­ Completely Removing Oracle from Windows NT/2000/XP 

The Oracle Installer does not completely remove all traces of Oracle. To do a clean uninstall,
follow the instructions below. These steps are for an installation typically done by Heinz/MISM
students.

1. Stop all Oracle programs and services. Close all oracle programs you may have open.
Stop all services that begin with Oracle. See Appendix C about how to stop services.
2. Using regedit or regedt32, start the registry editor and remove the following keys:
HKEY_LOCAL_MACHINE\Software\Oracle
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Oracle*
(all services starting with ‘Oracle’)
3. If you have created any DSN definitions with ODBC, start the ODBC administrator
applet and remove any Oracle DSN definitions.
4. Edit your paths and other system variables to remove any reference to Oracle.
5. Remove any Oracle related icons from your desktop and any references to Oracle
programs from the Start/Programs menu.
6. Reboot your computer. DO NOT SKIP THIS STEP!
7. Remove all Oracle software by deleting the following folders and all subfolders within;
a. C:\DevSuiteHome_1
b. C:\oraclexe
c. c:\wb
d. c:\program files\oracle

Adjust drive letters according to your installation.

If there are errors deleting certain files, reboot, and delete the remaining oracle files and
folders.

37

También podría gustarte