The Installation


To install Oracle 8 i or 9 i , follow these instructions:

First check for space on the hard drive. You do not want to get an "out of space" message at the end of the installation! Oracle 8 i needs about 300MB, and 9 i needs 1GB. Note that it is customary, for performance reasons, to put the Oracle folder on a drive other than C:\\.

Note

In the following instructions, the Oracle folder will be installed on D:.


Oracle Universal Installer Screen

graphics/11fig01.gif

Load the Oracle 8 i or 9 i client CD. For 8 i , you will immediately see the Oracle Universal Installer screen, followed by the Oracle8 i Client “ Autorun screen:

Oracle 8 i Client-Autorun Screen

graphics/11fig02.jpg

For 9 i , you'll see the new, blue Welcome screen, where you can (1) deinstall if necessary, (2) look at the help files, and (3) review what has already been installed. Click Next :

Oracle Universal Installer Welcome Screen

graphics/11fig03.jpg

If you do not already have a version of Oracle installed on this PC, take the defaults for the source and destination locations:

Oracle 8 i File Locations Screen

graphics/11fig04.jpg

Note

Here's an important note: If you do have another version of Oracle on this PC, Oracle Installer will tell you, "Oracle 9 i (or 8 i if you're installing 8 i ) Client cannot be installed into an existing 7. x , 8. x , 9. x Oracle_Home." What this means is that you have to specify another destination (or Oracle home).


Enter something like "Oracle 8 i " in the Name field under Destination... . Click Next , and you will see the loading status bar:

Loading Status Bar

graphics/11fig05.gif

For 9 i , it's pretty much the same, except the screen format is slightly different, with the status bar in the upper right-hand corner:

Oracle 9 i File Locations Screen

graphics/11fig06.jpg

Now you will be given a choice of installation types:

Oracle 8 i Installation Types Screen

graphics/11fig07.jpg

Oracle 9 i Installation Types Screen

graphics/11fig08.jpg

For 8 i , if this is a client PC, select Application User ; if it's a programmer's PC, select Programmer . And if this is your PC, I suggest that you select Administrator . For 9 i , the selections are somewhat different, and I suggest that you select Administrator for all cases. Once you have an "Admin" PC configured, you can install the end-user PCs with the runtime version.

Client Installations

There are various types of client installations.

With 8 i , you have four selections:

  1. Administrator gives you the most power.

  2. Programmer provides the programming tools.

  3. Application User is just enough to allow connection to the database.

  4. Custom is not for the faint of heart. I suggest staying away from this option.

Oracle 9 i offers three selections:

  1. Administrator includes all networking and client software, along with the Oracle Enterprise management tools.

  2. Runtime gives you the networking and support files only.

  3. Custom , as in 8 i , is complicated. And again, I suggest staying away from it.


Click Help anytime for a brief explanation of the screen items:

Oracle Help Screen, Showing Client Installation Types

graphics/11fig09.gif

At this point the installer will determine which products to install. All you will see at this point is a status bar. When the installer has decided what to do, you will see the next screen, and if you scroll down, you'll be able to see the 70+ items that will be installed:

Oracle 8 i Client Products Summary Screen

graphics/11fig10.gif

Oracle 9 i Client Products Summary Screen

graphics/11fig11.jpg

I suggest you take a look, and see how many of the Oracle products are Web oriented. Now, click Install , and the product installation will start. During the installation you can monitor progress on the following screen:

Oracle 8 i Client Install Screen

graphics/11fig12.jpg

Oracle 9 i Client Install Screen

graphics/11fig13.jpg

Once the installation is complete, this screen pops up:

Configuration Tools Screen

graphics/11fig14.gif

Oracle 9 i Component Locations Screen

graphics/11fig15.jpg

What's interesting is that the installer goes directly to the next major component that you need, Communications, which is now called Net8 (formerly known as SQL*Net.)

Do not be frightened by this screen; there's nothing you have to do. Notice in the 8 i version that there is a Status column, and before you have a chance to really study the screen, the following screen appears (the 9 i screen is the same):

Net8 Welcome Screen

graphics/11fig16.jpg

Let the installer complete a typical configuration.

On the next screen, select No , unless you really do have a directory service on your network:

graphics/11fig17.jpg

Note

It's time for a short discussion on what's happening. Remember back in Chapters 6 and 7 when I walked you through creating the database? We gave the database a name: CWE1P. In the next series of steps, you will be telling your client PC how to reach the database, along with another Oracle database that was developed earlier. You will also have a chance to test your setup, and I strongly advise that you do that when the appropriate screen pops up.


On the next screen you will be asked to identify the version of the Oracle database you will access. Note that you can add more later by running the Net8 Configuration Assistant. First point to the computer waiver exam database (CWE1P), which is an Oracle 8 i database:

graphics/11fig18.gif

Next select the communications protocol:

graphics/11fig19.gif

Now define the host computer. This gets interesting. If you are installing the client software on a PC connected to a local area network (LAN), type in the server name. Here's what the screen looks like for a PC on a LAN:

graphics/11fig20.jpg

Note

Here's an important note: If you are configuring a PC that will be used to dial in to the database, enter the IP address of the server with the database. See the steps that follow!


Here's what the screen looks like for a dial-in configuration:

graphics/11fig21.jpg

As I said already, when the next screen appears, run the test:

graphics/11fig22.gif

Soon you should see the following message:

graphics/11fig23.gif

The next step is to give the host a name. This will be the name you will use when you log on. It can be any name:

graphics/11fig24.gif

You can now configure another database that you may want to reach:

graphics/11fig25.gif

As an example of connecting to a second database, I will use an Oracle 8 database from my lab, with the system ID (SID) CWETEST:

graphics/11fig26.gif

The name is generic because this Oracle database is used for testing, development, prototyping, and so forth. There may be many systems, programs, and forms being tested at any given time, so a neutral name is the best choice. Remember, this is the name we will use to log on to the database. We can always change it because no matter what we call it, behind the scenes the Net8 software knows it as CWETEST. I'll say more about this shortly.

Now select the communications protocol:

graphics/11fig27.gif

The host computer in this example is GUERRILLA2, with the IP address 344.321.34.56. Enter whatever your server name is in the Host Name field. I'll say more about ports and port numbers later; for now, take the default:

graphics/11fig28.gif

Run the test:

graphics/11fig29.gif

If the connection fails and you get an error message like this, go back and correct your spellings and other parameters:

graphics/11fig30.jpg

After you have successfully reached both databases, there are no more to connect to. Select No :

graphics/11fig31.gif

Here's the next message you will see:

graphics/11fig32.gif

And this message will be followed by another:

graphics/11fig33.gif

The final screen looks like this:

graphics/11fig34.jpg

You get one more chance to change your mind before exiting:

graphics/11fig35.gif

Congratulations! You have now defined two Oracle servers to your client PC. Now restart your PC to complete the installation. If you go to Windows Start Programs , you should see the following new selections:

graphics/11fig36.gif

graphics/11fig37.gif



Guerrilla Oracle
Guerrilla Oracle: The Succinct Windows Perspective
ISBN: 0201750775
EAN: 2147483647
Year: 2003
Pages: 84

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net