Installing Personal Oracle 8i on Windows

The following outline describes the steps required to install Personal Oracle8i on the Microsoft Windows 98 operating system. It is assumed that this is a fresh install and that no other Oracle products are installed at this time. If this is not the case, then these instructions may not work on your system.

Where to get Personal Oracle8i

There are several sources:
  1. The following textbook can be ordered with the Personal Oracle8i CD (note: Once you open up this book's shrink-wrap, you can not return it):
    Ramez Elmasri and Shamkant B. Navathe Fundamentals of Database Systems. Third Edition. Addison-Wesley Pub Co, 1999.
    With Oracle software: ISBN: 0-201-61255-0 Cost: about $90.
    The CD that comes with this book looks like the following:

    The version of Personal Oracle8i that comes with the Elmasri/Navathe textbook can only be installed on Windows 98. It will not install on Windows 95, Windows ME, Windows NT or Windows 2000.

  2. Join Oracle TechNet at http://technet.oracle.com and download a trial copy.
    Register at TechNet, then look into Products under the category of "Internet Servers".
    Personal Oracle8i for Windows 98 is about 200 Megabytes.
    Personal Oracle8i for Windows NT or Windows 2000 is about 500 Megabytes.
  3. Purchase a trial copy "CD Pak" from the Oracle Store at http://www.oracle.com. Each CD Pak costs about $40 for shipping and handling.
  4. Buy a full copy of Personal Oracle8i from Oracle.

These instructions may or may not be applicable for other versions of Personal Oracle (such as Personal Oracle8) or for other Microsoft Windows operating systems (such as Windows NT or Windows 2000).

The version of Personal Oracle8i that comes with the Elmasri/Navathe textbook can only be installed on Windows98. It will not install on Windows 95, Windows NT or Windows 2000. I recently attempted to install Personal Oracle8i that comes with the Elmasri/Navathe textbook on a machine running Windows 2000 Workstation Professional. I received an error message:
"Invalid Staging Area. There are no top level components for Windows NT available for install from this staging area."
This is Oracle's way of saying nothing on this CD can be installed on Windows NT (or Windows 2000)

The Installation Process

As with most Windows installation programs, inserting the CD-ROM into the CD-ROM drive automatically executes the setup program. (If this does not happen, use the Windows Explorer to view the contents of your CD-ROM drive and double click on the "setup" program there).

If you downloaded the Personal Oracle8i from Oracle Technet, then you need to unzip the files into a temporary directory and double click on the setup.exe program to get the installation process started.

The following Welcome window will appear:

It is assumed that this is a fresh install so no other Oracle products should be installed at this time.

Click on the Next button to move to the File Locations screen as shown below:

In this screen, the Source and Destination locations must be selected.

The Source path should reflect your CD-ROM. Leave this as the default. In the example above, the CD-ROM is the E: drive.

For the Destination, leave the Oracle Home named OraHome81 as the default. Choose a hard disk drive that has at least 2 gigabytes of free space. In the example here, we are using the C: drive.

Leave the \Oracle\Ora81 path as it is (the default).

Click on the Next button to load the Product information. This may take up to 2 minutes (depending on the speed of your machine). During this time, the following window will appear:

Note that if you are running Windows 95, Windows NT or Windows 2000, you will most likely see the following error message:
"Invalid Staging Area. There are no top level components for Windows NT (or 95) available for install from this staging area."

Once the product information has been read, the following 3 "Available Products" options are presented:

Make sure the "Oracle8i Typical Installation 8.1.5" is selected and click on the Next button.

The "Type of Starter Database" screen will appear next:

Make sure the "Standard Starter Database" option is selected and click on the Next button to continue.

The next step is to identify the database using the Global database name:

Leave this as the default. Make a note of the following:
Oracle SID is ORCL
Global Database Name is oracle

Click on the Next button to continue to the "Location of Documentation" screen

In this step, you need to select where the Oracle documentation will reside. If you have the extra free space on your hard disk (140MB or so), then choose the "Hard Disk" option. Otherwise, choose the "CD-ROM" option and links will be made to the Oracle 8i CD-ROM for documentation support. This means that in order to view Oracle documentation, you will need to have the CD in the CD-ROM drive.

Click on the Next button to move to the "Summary" screen:

In this screen (shown above), the products and files that will be installed are summarized. Note that in this example (with documentation to be copied to the hard disk), it will take close to 600 MB of disk space for the installation.

If everything looks OK at this point, click on the Install button to begin the installation.

During the install, you will notice various Oracle products being copied over to the hard disk. For example, in the above figure, Net8 is being copied over.

Once the installation is completed, the last step will be to exit the installation and then reboot the computer.

In the figure below, the Exit button has been clicked on. Click on the Yes button to confirm exiting the Installation program.

At this point, be sure to reboot your computer so any final changes can take affect. In particular, the path c:\oracle\ora81\bin will be added to the PATH statement in your c:\autoexec.bat file.


New Program Groups

After Personal Oracle8i is installed, you will notice several new program groups in the Start menu. These include:


Starting and Stopping the Database

The first step to working with Oracle is to start up the database. This must be done each time the computer is rebooted. By default, the database is shut down until you start it up. Before shutting down Windows, the database should be shut down.

To start up Personal Oracle8i, go to Start -> Programs -> Oracle - OraHome81 -> Database Administration and run the Start Database command as shown in the figure below:

Once Personal Oracle8i has started, the following dialog box will appear:

Click the OK button to close the dialog box.

Again, remember to shut the database down before you turn off your computer by using the Stop Database command on the following program group: Start -> Programs -> Oracle - OraHome81 -> Database Administration


Testing the Installation

Once the database is running, the SQL*Plus tool can be used to connect to the database.

Go to the Start -> Programs -> Oracle - OraHome81 -> Application Development program group and run the SQL Plus command as shown below:

Once SQL Plus is running, you will be prompted for 3 things: Username, password and Host String.

The default Database Administrator's account has a username of SYSTEM and a default password of MANAGER.

Fill in the Username and password fields with the SYSTEM account and leave the Host String field blank. Since we are connecting to a local Oracle database, no Host String is required. Click on the OK button as shown below:

If the database is running and the username and password are typed correctly, SQL*Plus should log the SYSTEM user in and present the SQL> prompt as shown below:

One of the first things to do is to change the SYSTEM user's default password. This can be accomplished using the GRANT command as follows:

 GRANT CONNECT TO system IDENTIFIED BY newpassword ;
where newpassword is a secret password you make up. Don't forget the semi-colon at the end of the command.

Another common task is to create a "regular" user for application development. This can be accomplished using the CREATE USER command as seen below:

By default, you can also log in with the SCOTT/TIGER account. That is, there is a demo account already set up in the database with username SCOTT and password TIGER. Many of the examples in the Oracle documentation use the tables included in the SCOTT user's account.



Using the On-Line Help

If you elected to install the Personal Oracle8i documentation to your hard disk, you can access the HTML help files by going to the Start -> Programs -> Oracle - OraHome81 program group and selecting the Documentation item.

If you elected to leave the documentation on the CD-ROM, then you will need to place the Personal Oracle8i CD-ROM in your CD-ROM drive before you select the Documentation item.

In either case, your default web browser will be launched and the opening page for the Oracle documentation will be displayed.

Materials to be added

Installing Other tools After installing Personal Oracle8i

After installing Personal Oracle8i, you may wish to install Oracle Developer (the Forms, Reports and Graphics client side development tools) and/or Oracle Designer (Oracle's CASE tool). In either case, you will need to install these products in a different Oracle Home directory. That is, the database and the development tools many not be installed into the same Oracle Home.

In order for the client side development tools to connect to the database, you will need to establish a database listener on the database server and configure the Net8 middleware on the client to connect to this server. What follows is a brief outline of the configuration steps. Please refer to the Oracle documentation for additional details.

Once all of this is set up, any Developer tool can connect to the database by giving the username, password and "Host String" (for SQL*Plus) or "Database" (for all other tools) as the database alias configured in the last step (Tcp-local for example). Materials to be added


Last updated: Tue Aug 20 13:01:30 EDT 2002
Copyright 2000-2002 R. Holowczak