Sunteți pe pagina 1din 10

Installing Oracle 9i

Uninstall Previous Versions of Oracle – A MUST

1. If a previous version of Oracle is installed, click Start – Programs, OracleX, Oracle


Installer. Depending on what version of Oracle you have installed, you will either
click a link to Installed Products or the Products Installed page will display. Remove
all installed products. Note: sometimes Oracle is running and all the products cannot
be removed. If possible, manually delete the Oracle folder under C:\Oracle or
C:\Orant. You may not be able to delete some of the .dll files.
2. For older versions of Oracle, please delete the registry entry. Click Start-Run, type
regedit and press enter. Navigate to HKEY_LOCAL_MACHINE, Software,
Oracle and delete the Oracle folder.
3. Next, delete the temp files. C:\Documents and Settings\User’s VUNetID\Local
Settings\temp. There will be some Oracle installation files in the temp directory if
you have tried to previously install Oracle. Please remove all these files. (Note: If
you cannot see the Local Settings folder, click Tools-Folder Options-View and
change the view to display all folders and files.
Notes: Oracle does not display in Add/Remove Programs. Oracle is backwards
compatible. Installer must have administrative rights on the box.

INSTALL EXACTLY AS INSTRUCTIONS STATE…MAKE NO CHANGES ON


YOUR OWN…IT WILL NOT WORK IF YOU DO

Installing Oracle Runtime

1. Map P to \\celerra1\psoft
Note: if you previously mapped to \\viaprod\psoft, that mapping will still work,
however, mapping directly to \\celerra1\psoft will result in a quicker connection.

Note: If you do not log into the Vanderbilt domain, you must map according
to the following:
Click the down-arrow in the DRIVE: box and select the P drive letter. In the
FOLDER: box, type \\celerra1\psoft. Verify  Reconnect at logon is checked.

Click Connect using a different user name. In the User name: box, type
vanderbilt\VUNet ID (where VUNetID is the actual vunet id of the person, not
the words VUNet ID). In the Password: box, enter your e-password. Click OK.
Click Finish

2. Double-click Step 7A – Install Oracle


3. Click Install/Deinstall Products
4. Click Next
5. Click Next again
6. Click Runtime
7. Click Next. A list of products to install displays.
8. Click Install
9. After installing products, a Configuration Tools window appears, then the
Oracle Net Configuration window appears, click Cancel
10. Click Yes
11. Click OK
12. Click Exit
13. Click Yes

Installing Oracle Universal Installer

1. Double-click the P:\celerra1\oracle 9i folder


2. Navigate to \Patchset 9.2.0.5 NT x86\Disk1\install and double-click setup.exe.
Note: A black DOS window will open and close. Wait until the Oracle Welcome
box appears.
3. Click Next
4. Under the Destination section, click the down arrow in the Name: field and click
OraHome92
5. Click Next
6. Click the radio button (circle) next to Oracle Universal Installer 10.1.0.2.0
7. Click Next. A list of products to install displays.
8. Click Install
9. After Installation, the End of Installation window displays. Click Exit
10. Click Yes

Installing Oracle Patchset

1. You should return to the P:\celerra1\oracle 9i\Patchset 9.2.0.5 NT


x86\Disk1\install folder. Double-click setup.exe. Note: A black DOS window
will open and close. Wait until the Oracle Welcome box appears.
2. Click Next
3. Under the Destination section, click the down arrow in the Name: field and click
OraHome92
4. Click Next
5. Verify the radio button (circle) next to Oracle 9iR2 Patch Set 9.2.0.5.0 is
selected, if not select it.
6. Click Next. A list of products to install displays.
7. Click Install
8. The End of Installation window appears. Click Exit
9. Click Yes

Copying sqlnet.ora and tnsnames.ora

1. You should return to the P:\celerra1\oracle 9i\Patchset 9.2.0.5 NT


x86\Disk1\install folder.
2. Click the Back button until you navigate to P:\oracle9i
3. Double-Click 92tns.cmd

NOTE: This .cmd file copies two files to C:\oracle\ora92\network\ADMIN. If you


are not installing Oracle on the C drive, you will need to manually copy these two
files to ?:\oracle\ora92\network\ADMIN (where ? is the drive your installing on).
The files are located in P:\oracle9i. They are tnsnames.ora and sqlnet.ora.
OTHER Material

Installing Oracle 9i on Windows 2000


The following outline describes the steps required to install Oracle9i (version 9.0.1.1) on
the Microsoft Windows 2000 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 Oracle9i for Windows NT/2000


• Join Oracle TechNet at http://technet.oracle.com and download a trial copy.
Register at TechNet, then look into Products under the category of "Oracle9i
Database". (Do not get the "9i Application Server"
Oracle9i for Windows NT/2000 is about 1.5 Gigabytes (two 550 megabyte ZIP
files and one 200 MB Zip file)
• 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.
• Buy a full copy of Oracle9i from Oracle.

These instructions may or may not be applicable for other versions of Oracle (such as
Personal Oracle9i, Oracle9i Lite) or for other Microsoft Windows operating systems
(such as Windows 98 or Windows 95). For the record: No Oracle Product will work
on Windows ME or Windows XP Home Edition so don't even bother.

Checklist

Before you even start this process you should have:

• A Pentium III or Pentium 4 based PC with at least 800 MHz processor, 256 MB of
RAM (512 is much better) and at least 10 Gigabytes of free disk space.
• If you only have 256 MB of RAM, make sure you have Windows manage at least
400 MB swap file (virtual memory).
• This machine MUST be running Windows 2000 with service pack 1 or
(preferably) 2 installed. If you are running MS IIS, disable the web server
(running on Port 80 by default) before starting the Oracle 9i installation.
• At least 10 GB of free disk space:
• Space to download or copy source ZIP files: 1.5 GB
• Space to unpack source ZIP files: 1.5 GB
• Space to install Oralce9i Software: 2.0 GB
• Space for Oracle data files (varies): 2.0 to 5.0 GB

The Installation Process


As with most Windows installation programs, inserting the CD-ROM (ordered or
purchased from Oracle) 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 Oracle9i from Oracle Technet, then you need to unzip the files
into a three temporary directories and double click on the setup.exe program in the Disk1
directory) 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 either your CD-ROM or the directory in which you
unzipped the source files. Leave this as the default. In the example above, the source files
were unzipped into c:\source\Oralce\9i\NT20009011\Disk1 directory.

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

Leave the \Oracle\Ora90 path as it is (the default). If you must change this to a different
drive, only change the drive letter and not the directories.

Click on the Next button to load the Product information. This may take up to 2 minutes
(depending on the speed of your machine). Once the product information has been read,
the following 3 "Available Products" options are presented:

Make sure the Oracle9i Database 9.0.1.1.1 is selected and click on the Next button.

The "Installation Types" screen will appear next. For this installation, we chose the
Enterprise Edition.
The "Database Configuration" screen will appear next:

For this install, we chose the "General Purpose" Database option. Click on the Next
button to continue.

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

If some default Global database name and SID are given, keep them. Otherwise, use the
following (make a note of these for later on):
Global Database Name is orcl
Oracle SID is orcl

Click on the Next button to continue to the "Data File Location " screen

In this step, you need to select where the Oracle data files will be located. In large
operations, we typically keep the data files on a separate disk (or disks), however, for this
install, we are storing the data files in the same C:\oracle directory tree. Keep the
default as shown and click on the Next button to continue.

In the next screen, choose the default character set for the database:

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, it will take 1.5 GB MB of disk space for the installation of the
software. Additional space will be required for the default database.

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, a portion of the Oracle Enterprise Manager is
being installed.

Once the installation is completed, the next step will be to configure the various
additional services and the database. This is shown below:

Each of the configuration programs will be executed in turn. The HTTP Server
(Oracle/Apache) should launch automatically and open up TCP/IP port 80. You should
notice a new Command window as follows:

Oracle HTTP Server Powered by Apache/1.3.12 (Win32) ApacheJServ/1.1


mod_ssl/2.6.4 OpenSSL/0.9.5a mod_perl/1.24 running...

The Net Configuration Assistant and Oracle Intelligent Agent should run automatically
and not prsent any sustained screens.

The Oracle Database Configuration Assistant will appear for some time while the default
database is created and opened. As below:

Once the default database has been installed, the following screen will appear:

Clicking on the Password Management button and change the default passwords for the
SYS, SYSTEM, SCOTT and DBSNMP accounts as shown below:

Click the OK button when done.

This should conclude the configuration of the database and the "End of Installation"
screen should appear as below. Click on the Exit button and click on the following 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\ora90\bin will be added to the PATH environment
variable.

New Program Groups


After Oracle9i is installed, you will notice several new program groups in the Start menu.

These include:

• Oracle Installation Products


Tools to help manage the installation and removal of Oracle products on the
machine.
• Oracle - OraHome90
The set of tools used to work with Oracle90. These include:
o Application Development - Tools to develop Oracle applications
including SQL*Plus
o Configuration and Migration Tools - Tools to migrate older Oracle
databases to version 9i
o Enterprise Management Packs
o Enterprise Manager Quick Tours
o Integrated Management Tools
o Oracle HTTP Server

Starting and Stopping the Database


Under Windows NT and Windows 2000, the Oracle 9i database runs automatically as a
service. Below is a view of the Windows 2000 Services mangement console showing the
services installed by default:

Note the last one OracleServerORCL is the actual database process itself.
OracleOraHome90TNSListener is the listener process for remote connections to the
database. OracleOraHome90Agent is the Oracle Agent used to communicate with
management services. Finally, the OracleOraHome90HTTPServer is the Oracle/Apache
web server.
Since the OracleServerORCL service is set to start automatically, the database wll start
and mount each time the computer is started up. To manage the database processes
directly, one can use the Enterprise Manager Console in Stand-alone mode. From the
Start menu, choose Programs -> Oracle - OraHome90 -> Enterprise Manager
Console and select Launch Standalone. The following screen should appear:

Click on the plus sign to expand the Databases branch and then once again to expand the
ORCL branch. When prompted for username and password, use the SYSTEM account and
choose to log in as SYSDBA. In SYSDBA mode, the SYSTEM user can perform most any
manipulation of the database.

Once logged in, clicking on the Instance tree and then the Configuration tree should
display the current state of the database:

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 - OraHome90 -> Application


Development program group and run the SQL Plus application. 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. You may have changed the SYSTEM account password in a
previous step so use the new password.

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:
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 -
OraHome90 program group and selecting the Release Documentation item.

Your default web browser will be launched and the opening page for the Oracle
documentation will be displayed.

Materials to be added

Last updated: Thu Sep 20 17:12:14 EDT 2001


Copyright 2001 R. Holowczak

S-ar putea să vă placă și