+ All Categories
Home > Documents > Installing Oracle 9i on Windows 2000

Installing Oracle 9i on Windows 2000

Date post: 10-Apr-2015
Category:
Upload: sarv2k
View: 104 times
Download: 3 times
Share this document with a friend
44
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).
Transcript
Page 1: Installing Oracle 9i on Windows 2000

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.

ChecklistBefore 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).

Page 2: Installing Oracle 9i on Windows 2000

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:

Page 3: Installing Oracle 9i on Windows 2000

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:

Page 4: Installing Oracle 9i on Windows 2000

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.

Page 5: Installing Oracle 9i on Windows 2000

The "Database Configuration" screen will appear next:

Page 6: Installing Oracle 9i on Windows 2000

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:

Page 7: Installing Oracle 9i on Windows 2000

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 orclOracle SID is orcl

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

Page 8: Installing Oracle 9i on Windows 2000

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:

Page 9: Installing Oracle 9i on Windows 2000

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

Page 10: Installing Oracle 9i on Windows 2000

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.

Page 11: Installing Oracle 9i on Windows 2000

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:

Page 12: Installing Oracle 9i on Windows 2000

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:

Page 13: Installing Oracle 9i on Windows 2000

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:

Page 14: Installing Oracle 9i on Windows 2000

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.

Page 15: Installing Oracle 9i on Windows 2000

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 GroupsAfter Oracle9i is installed, you will notice several new program groups in the Start menu.

Page 16: Installing Oracle 9i on Windows 2000

These include:

Oracle Installation ProductsTools to help manage the installation and removal of Oracle products on the machine.

Oracle - OraHome90The 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.

Page 17: Installing Oracle 9i on Windows 2000

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:

Page 18: Installing Oracle 9i on Windows 2000

Testing the InstallationOnce 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.

Page 19: Installing Oracle 9i on Windows 2000

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.

Page 20: Installing Oracle 9i on Windows 2000

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

Page 21: Installing Oracle 9i on Windows 2000

Last updated: Thu Sep 20 17:12:14 EDT 2001Copyright 2001 R. Holowczak

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 Oracle8iThere 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.

Page 22: Installing Oracle 9i on Windows 2000

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:

Page 23: Installing Oracle 9i on Windows 2000

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:

Page 24: Installing Oracle 9i on Windows 2000

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:

Page 25: Installing Oracle 9i on Windows 2000

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:

Page 26: Installing Oracle 9i on Windows 2000

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:

Page 27: Installing Oracle 9i on Windows 2000

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

Page 28: Installing Oracle 9i on Windows 2000

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:

Page 29: Installing Oracle 9i on Windows 2000

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.

Page 30: Installing Oracle 9i on Windows 2000

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.

Page 31: Installing Oracle 9i on Windows 2000

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 GroupsAfter Personal Oracle8i is installed, you will notice several new program groups in the Start menu. These include:

Oracle Installation ProductsTools to help manage the installation and removal of Oracle products on the machine.

Oracle - OraHome81The set of tools used to work with Personal Oracle8i. These include:

o Application Development - Tools to develop Oracle applications including SQL*Plus

o Database Administration - Tools to start up and shut down the database server

Page 32: Installing Oracle 9i on Windows 2000

o Migration Utilities - Tools to migrate older Oracle databases to version 8i o Network Administration - Tools to configure connections to other

Oracle servers.

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.

Page 33: Installing Oracle 9i on Windows 2000

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 InstallationOnce 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:

Page 34: Installing Oracle 9i on Windows 2000

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.

Page 35: Installing Oracle 9i on Windows 2000

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.

Page 36: Installing Oracle 9i on Windows 2000

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 Oracle8iAfter 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.

First make sure the both Personal Oracle8i and Oracle Developer6/6i are installed. Typical Oracle Homes for these are c:\oracle\Ora81 for Oracle8i and c:\orawin or c:\orant for the development tools.

Make certain the PC has the TCP/IP networking protocol installed. See the Networks applet in the Windows Control Panel.

When installing Oracle8i and Developer6/6i, make sure to install Net8 including the TCP/IP protocol support for Net8.

For the Oracle8i Server, use the Net8 Assistant to configure a listener for the database. I recommend you set it to listen for requests at the localhost (IP is 127.0.0.1). I also recommend you use the default port 1521 and give the correct SID for your database (the default Oracle instance is typically ORCL).

With the database listener running, use the Net8 Easy Config tool that comes with Developer6/6i and create a database alias (or serivce name as they may call it). I recommend you make up a name like Tcp-local as the alias name. Configure this alias to connect to the localhost (127.0.0.1) at port 1521 with the database SID as in the previous step (ORCL by default).

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

Page 37: Installing Oracle 9i on Windows 2000

I have found a method to make the Oracle 10gR2 Client work on Windows 7.

1. Execute the install.exe as administrator2. manually check the failing installation prequisites (OS check etc.)3. complete the installation4. when finished, look for the shortcut "Enterprise Manager Console" in your startmenu5. right-click on it and execute it as "administrator"

I already have deployed several clients working with these settings, no problems so far.

I modified the path var manually ,now it includes the instantclient location. Also I added tns_admin env var.... My sqlplus connection is fine, however the odbc does not work. (you also have to download odbc components as an add-on) I am working on this now, shall post any updates.

I ve tried several times to install oracle client on my windows 7 rc and finally I have succeeded.I did the following :1.remove all my previous installations of oracle clients.2.Run the installer in win xp sp3 compatibility mode and run as administrator.

Note : Download the oracle 11 g client.(I tried with 10g client but it doesn’t work on Windows 7) You can connect to your oracle 10g db with oracle 11 client.Note :If you are using toad then download the toad for oracle 9.5 version,version 8.5 doesnt work it produce some error like "Oci dll not initialized"Regard D.

After initiating installation of Oracle Client 11g (11.1.0.6.0) installation stopped on prerequisite checks with error:

Checking operating system requirements …Expected result: One of 5.0,5.1,5.2,6.0Actual Result: 6.1Check complete. The overall result of this check is: Failed <<<<Problem: Oracle Database 11g is not certified on the current operating system.Recommendation: Make sure you are installing the software on the correct platform.========================================================

To workaround this problem you have to edit refhost.xml file adding entry for Windows 7.

Page 38: Installing Oracle 9i on Windows 2000

Location of this file on my system:<Path>win32_11gR1_client\client\stage\prereq\client\refhost.xml

This is excerpt from my newly edited refhost.xml file:

<CERTIFIED_SYSTEMS><OPERATING_SYSTEM><!–Microsoft Windows 2000–><VERSION VALUE=”5.0″/><SERVICE_PACK VALUE=”1″/></OPERATING_SYSTEM><OPERATING_SYSTEM><!–Microsoft Windows XP–><VERSION VALUE=”5.1″/><SERVICE_PACK VALUE=”1″/></OPERATING_SYSTEM><OPERATING_SYSTEM><!–Microsoft Windows 2003–><VERSION VALUE=”5.2″/></OPERATING_SYSTEM><!–Microsoft Windows Vista–><OPERATING_SYSTEM><VERSION VALUE=”6.0″/></OPERATING_SYSTEM><!–Microsoft Windows 7–><OPERATING_SYSTEM><VERSION VALUE=”6.1″/></OPERATING_SYSTEM></CERTIFIED_SYSTEMS>

New lines are added at the end of this excerpt after <!–Microsoft Windows 7–>. Notice version value=6.1.

With new refhost.xml file all checks passed and I was ready to try out is everything OK after installation.

11gR2


Recommended