Professional Documents
Culture Documents
Installation Guide
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 3-4 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
Installing Oracle Products
Windows XP, 2000
This document contains instructions for installing Personal Oracle 10g on computers using the
Windows XP Professional or Windows 2000 Workstation operating system. Instructions
may vary slightly for each operating system. For example, to see the program listings with
Windows XP, you select All Programs from the Start menu, but with Windows 2000, you
select Programs from the Start menu. Only significant differences will be noted. Oracle
installations can be lengthy, plan for at least an hour for just Personal Oracle. Make sure
your operating system has all current updates and patches prior to installation.
RAM Requirements
You need 512 MB minimum, 1024 MB is preferred. Right click on My Computer and choose
Properties to determine your computers currently installed RAM.
1-13. You may see the following error message several times during your installation. Click the
Continue button each time you see the message.
Be sure to
install the
database
examples!
1-30. The Install window opens. The time to install depends upon the speed and memory of your
computer and may take more than 45 minutes. Don’t be alarmed if the installer seems to be
stuck at a certain percentage during the installation. You can also ignore additional windows
that open during installation.
1-38. After a minute or two, Internet Explorer will open and the Oracle Enterprise Manager
Database Control site opens. Login to the control using the following credentials:
a. User Name: sys
b. Password johnheinz (or the password you choose to use in step 1-27)
c. Connect As: change to SYSDBA
NOTE: If the Oracle Enterprise Manager Database Control site does not open automatically,
open Internet Explorer and go to http://localhost:5500/em
1-39. Click the Login button.
1-40. The Oracle Database Licensing Information 10g web page appears.
1-41. Click the I Agree button located at the bottom of the page.
1-42. The Database Control web page appears. You can view the many of the database management
metrics like status, uptime and availability. You can also perform many administrative
functions like user management and maintenance.
1-43. Click the Administration link.
1-47. The Scott User web page appears. By default, all user accounts are locked when Oracle is
installed. The Scott user account is used for testing and tutorial purposes.
1-48. In the Enter Password and Confirm Password fields, type tiger
1-49. In the Status field, select Unlocked.
1-50. Click the Apply button.
1-51. The Scott User web page will refresh and an update message will appear at the top of the page.
1-52. Close Internet Explorer.
NOTE: Due to our configuration, the web based Enterprise Manager that you just used will not
function once the Oracle 10g installation is complete.
2-8. If the database is working correctly, your window will display the following lines:
3-8. The Database Services page appears. At the bottom of the page, click the Add Database button.
3-9. The Database Services page will refresh. Enter the following into the fields:
a. Global Database Name: DB1
b. Oracle Home Directory: c:\oracle\product\10.1.0\OraHome10
c. SID: DB1
Note: If you receive the following error message “ORA-01017: invalid username/password;
logon denied”, click the Change Login button. The Change Logon window appears. For the
Username type: scott for the Password type: tiger. Click OK button. The test should
succeed.
6-1. Insert the Oracle 10g Client CD. The installer program will autostart.
6-2. Select the Install/Deinstall Products button.
6-4. The Specify File Locations window opens. At the end of the Name field, click on the arrow and
select OraHome10. The Path field should change to
c:\oracle\products\10.1.0\OraHome10. Click the Next button.
6-5. The Select Installation Type window appears. Select Administrator (460 MB) and click the
Next button.
6-8. During the install, you may receive the following error message. Click the Ignore button.
6-9. The End of Installation window appears. Oracle 10g Client is now installed. Click the Exit
button.
6-10. The Confirm Exit dialog box appears. Click the Yes button.
7-1. Insert the Oracle 10g Database Companion CD. The autostart program will appear. Click the
Install/Deinstall Products button.
7-3. The Specify File Locations window appears. In the Destination section, change the following
fields:
a. Name: OraComp10
b. Path: c:\oracle\product\10.1.0\OraComp10
Click the Next button.
7-4. The Select a Product to Install window appears. Select Oracle Database 10g Companion
Products 10.1.0.2.0 and click the Next button.
7-5. The Available Product Components window opens. In the Components column, select
Apache Standalone 9.0.4.0.0 and HTML DB 10.1.0.2.0. Click the Next button.
7-6. The Enter HTML DB Configuration Information window appears. Enter the following in the
fields:
a. HostName: 127.0.0.1
b. Port: 1521
c. Database Service Name: db1
d. SYS password: johnheinz
e. HTML DB Password: johnheinz
f. Confirm HTML DB Password johnheinz
g. TABLESPACE Name: SYSAUX
Click the Next button.
7-9. The End of Installation window appears. Click the Exit button.
7-10. The Exit dialog box opens. Click the Yes button.
This step involves decompressing a file. The instructions illustrate how to extract the file
contents using the Windows XP native decompression utilities. Windows XP user with third
party decompression utility programs and Windows 2000 users will have to modify the
instruction as needed.
8-1. Insert the Oracle 10g Database Documentation CD. The CD does not have an autostart
program. Open My Computer and Double click the CD-Rom Drive. The CD will contain one
compressed file called 10g_documentation_B13789_01.zip.
8-2. Click once on the file so that it is highlighted. On the menu bar, click Edit then Copy. Minimize
all open windows so you see your desktop. Right click on your desktop and choose Paste
from the pop-up menu.
8-3. The file will be copied to your desktop. Double click the file.
8-4. The 10g_documentation_B13789_01 window will appear. On the menu bar, click File then
Extract All…
8-5. The Extraction Wizard Welcome will appear. Click the Next button.
8-6. The Select a Destination window appears. In the Files will be extracted to this directory field,
enter: C:\Oracle\product\10.1.0\OraHome10\doc. Click the Next Button.
8-7. The files will begin extract. The Extracting bar will show you the progress. Once completed, the
Extraction Complete window appears. Uncheck Show extracted files and click the Finish
button.
8-8. The Oracle Documentation is now installed. Close any open windows, remove the Oracle CD. In
order to access the help files, you will need to create a shortcut to the files. On the desktop,
right click your mouse and click New then click Shortcut.
8-9. The Create Shortcut wizard appears. In the Type the location of the item field, type:
C:\Oracle\product\10.1.0\OraHome10\doc\b13789_01\index.htm and click the Next
button.
8-10. The Select a Title for the Program window appears. In the Type a name for this shortcut field,
type: Oracle 10g Documentation. Click the Finish button.
8-11. See Appendix E for instruction on how to create a shortcut on the Start menu.
Services created:
• OracleCSService – Status: Started, Startup Type: Automatic
• OracleDBConsoleDB1 – Status: Started, Startup Type: Automatic
• OracleJobSchedulerDB1 – Status: Started, Startup Type: Automatic
• OracleOraComp10ProcessManager – Status: Started, Startup Type: Automatic
• OracleOraHome10iSQL*Plus – Status: Stopped, Startup Type: Disabled
• OracleOraHome10SNMPPeerEncapsulator – Status: Stopped, Startup Type: Manual
• OracleOraHome10DNMPPeerMasterAgent – Status: Stopped, Startup Type: Manual
• OracleOrHome10TNSListener – Status: Started, Startup Type: Automatic
• OracleServiceDB1 – Status: Started, Startup Type: Automatic
Start Menu Shortcuts
• Oracle – OraHome10 - Contains the shortcuts to the Oracle Database programs,
administration and configuration tools
• Oracle – OraComp10 – Shortcuts to the Oracle Installation Products for the Oracle 10g
Database Companion Products installation program. This start menu item can be
consolidated with the Oracle Application Server – OraComp10 menu.
• Oracle Application Server – OraComp10 – Provides shortcuts to start and stop the
Oracle HTTP Server.
Starting services like these slow the computer’s startup time and use memory. If you do not
regularly use Oracle, you can switch these services to manual and start them yourself when
you want to use the database. See Appendix C, page59, for instructions on starting and
stopping services.
The default for preconfigured notebooks in the MISM and MSIT program is for the HTTPServer
(Apache) to manually start, so remember to start this service if you need it. The default is
also for the database service to automatically start but not the database itself. See Appendix
D for instructions on manually starting the database.
If you change network cards, shut down all Oracle services before installing the new card.
Occasionally Oracle becomes corrupted and the Oracle service will start, but the database itself
will not. See Appendix D, page 61 for a workaround.
Note: Oracle Developer Suite will install Oracle 10g Discoverer Administrator and Desktop,
Forms 10g, JDeveloper, Designer and Reports 10g.
A-1. Insert the Oracle 10g Developer Suite Disc 1 CD into the CD drive.
A-2. The autorun program begins. Click on the Install button.
A-11. The Provide Outgoing Mail Server Information window opens. Enter:
a. Enter outgoing mail (SMTP) server: smtp.andrew.cmu.edu
You may enter your local ISP SMTP server instead.
A-12. Click the Next button.
A-17. The End of Installation window opens with the Installation Successful message.
A-18. Click the Exit button.
A-19. The Exit dialog box appears. Click the Yes button.
Step C: Install the Java Initiator (necessary for Forms & Reports)
C-1. Start the Java installation:
a. Select Start
b. Select Run
C-2. The Run dialog box opens. Enter:
a. Open: c:\oratools\jinit\jinit.exe
(adjust the drive letter as needed)
C-3. Click the OK button.
C-4. The Oracle JInitiator Setup starts. The Choose Destination Location window opens.
C-5. Click the Next button.
E-1. Insert the Oracle Warehouse Builder 9.2.0.2.8 CD. The Welcome Screen will appear. Click
the Next button.
E-2. The File Locations window will appear. Under the Destination… section, enter:
a. Name: OraWB
b. Path c:\oraWB
Click the Next button.
E-3. The Installation Types window appears. Select OWB Design Time Install. Click the Next
button.
E-6. When the installation is finished, the End of Installation window appears. Click the Exit
button.
E-7. The Exit dialog box appears. Click the Yes button.
E-8. The installation is complete. Now you must configure the Oracle Warehouse Builder
connection. Open My Computer and go to c:\OraTools\network\admin\. Right click on the
tnsnames.ora file and choose Copy.
E-9. In My Computer, go to c:\oraWB\network\admin. On the menu bar, click Edit then Paste.
F-1. Insert the Oracle 10g Developers Suite Documentation CD. The CD does not have an autostart
program.
F-2. Open My Computer and open your CD Rom Drive. The Oracle 10g Developers Suite
Documentation CD contents are appear. On the menu bar click Edit then click Select All.
F-3. All the files are highlighted. On the menu bar click Edit then click Copy.
F-4. In My Computer, go to c:\OraTools\doc. On the menu bar, click Edit then click Paste.
F-5. The documentation files are on your hard drive. Now you can create a shortcut to the main
documentation web page located at c:\oratools\doc\index.htm.
G-1. Click the Start button then right click My Computer and choose Properties.
G-2. The System Properties dialog box opens. Click on the Advanced tab then click the
Environment Variables button.
G-3. The Environment Variables window opens. In the System variables section, Double click
Path.
G-4. The Edit System Variable dialog box opens. In the Variable value field, add the following to
the beginning:
C:\oracle\product\10.1.0\OraHome10\bin;C:\oracle\product\10.1.0\OraHome10\jr
e\1.4.2\bin\client;C:\oracle\product\10.1.0\OraHome10\jre\1.4.2\bin;
G-5. Click the OK button for all the open windows.
Services created:
• OracleOraToolsClientCache – Status: Stopped, Startup Type: Manual
• OracleOraWBClientCache – Status: Stopped, Startup Type: Manual
Start Menu Shortcuts
• Oracle – OraTools - Shortcuts to the Oracle Installation Products for the Oracle 10g
Developers Suite installation program. This start menu item can be consolidated with the
Oracle Developers Suite – OraTools menu.
• Oracle Developers Suite - OraTools – Shortcuts to all the Oracle DS products and
configuration tools.
• Oracle - OraWB – Provides shortcuts to Warehouse Builder programs.
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 .
Windows 2000
1) Choose Start.
2) Choose Settings.
3) Choose Control Panel.
4) Double click the Administrative Tools icon.
5) Double click the Services icon.
6) Scroll through the list of services and right click the particular Oracle service to be stopped or
started.
7) Click Stop or Start from the Action menu and 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 .
The Oracle database service can sometimes become corrupted and never start. If the service is
always listed as “Starting” rather than “Started” you can separate the start of the Oracle
service from the Oracle database. To do this, edit this registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OraHome10\ORA_DB1_AUTOSTART
and change the value to FALSE. Do this just once.
Now whenever the Oracle service starts, whether automatically or manually, the database
instance itself is not mounted and opened. In order to start the database instance, each time
you want to use it, use the Oracle Enterprise Management console.
Note: Once the database starts you can close any open windows and exit the Management
Console.
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.
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. Remove
the PERL5LIB variable.
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:\oratools
b. c:\oracle
c. c:\oraWB
d. c:\program files\oracle
If there are errors deleting certain files, reboot, and delete the remaining oracle files and
folders.