Sunteți pe pagina 1din 41

10/17/12

Install Oracle 9i on Windows 2003 Server

Install Oracle 9i on Windows 2003 Server


Contents Introduction
I recently installed Oracle 9i on Windows Server 2003 R2 Service Pack 1 and made the following notes. I used the Oracle discs for version 9.2.0.1.0. Note that some text has been blurred to protect the anonymity of the client. Downloaded latest patchset from metalink (in this case it was Patch 9.2.0.7 for win32; p4163445_92070_WINNT.zip). IMPORTANT: Sometimes I find better ways of doing things after I've taken the screenshots. Be sure to refer to the text below each screen shot for any alterations.

Run OUI
Remove the ORACLE_HOME environment variable if it exists. Insert Oracle disc 1 and select "Install/Deinstall Products". This runs the Oracle Universal Installer.

Welcome

www.michaelhinds.com/tech/oracle/installoracle9i.html

1/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Click Next.

File Locations

www.michaelhinds.com/tech/oracle/installoracle9i.html

2/41

10/17/12

Install Oracle 9i on Windows 2003 Server

We put oracle into D:\oracle\ora92. Click Next.

Available Products

www.michaelhinds.com/tech/oracle/installoracle9i.html

3/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Select Oracle9i Database 9.2.0.1.0 and Click Next.

Installation Types

www.michaelhinds.com/tech/oracle/installoracle9i.html

4/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Select Custom and Click Next.

Available Product Components

www.michaelhinds.com/tech/oracle/installoracle9i.html

5/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Deselect "Enterprise Edition Options", select "Oracle Management Pack for Oracle Standard Edition 9.2.0.1.0" under "Oracle Enterprise Manager Products 9.2.0.1.0. Click Next.

www.michaelhinds.com/tech/oracle/installoracle9i.html

6/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Component Locations

www.michaelhinds.com/tech/oracle/installoracle9i.html

7/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Made sure all components went into D:\oracle. Click Next.

Oracle Management Server Repository

www.michaelhinds.com/tech/oracle/installoracle9i.html

8/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Select "The Management Server will require a new repository" and click Next.

Create Database

www.michaelhinds.com/tech/oracle/installoracle9i.html

9/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Select Yes and click Next.

Summary

www.michaelhinds.com/tech/oracle/installoracle9i.html

10/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Review the options and space requirements and click Install.

Install

www.michaelhinds.com/tech/oracle/installoracle9i.html

11/41

10/17/12

Install Oracle 9i on Windows 2003 Server

If you want to watch the log as it goes, fire up Cygwin and do something like below. This will probably slow down the installation though:
mcalqetet~ ihe@usts $c c d : mcalqetet/ydiec ihe@usts cgrv/ $c Porm FlsOal/netr/os d rga\ ie/rceIvnoylg mcalqetet/ydiecPormFlsOal/netr/os ihe@usts cgrv//rga ie/rceIvnoylg $ti - isalcin20-71_20-1Mlg al f ntlAtos060-11-14P.o

Disk Location

www.michaelhinds.com/tech/oracle/installoracle9i.html

12/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Don't forget you'll have to swap discs!

Oracle Net Configuration Assistant


Welcome

www.michaelhinds.com/tech/oracle/installoracle9i.html

13/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Select "Perform typical configuration" and click Next.

www.michaelhinds.com/tech/oracle/installoracle9i.html

14/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Database Configuration Assistant


DBCA: Welcome

Click Next.

DBCA: Step 1 of 8: Operations

www.michaelhinds.com/tech/oracle/installoracle9i.html

15/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Select "Create a database" and click Next.

DBCA: Step 2 of 8: Database Templates

www.michaelhinds.com/tech/oracle/installoracle9i.html

16/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Select "New database" and click Next.

DBCA: Step 3 of 8: Database Identification

We enter the same name for the global name and your SID. Click Next.

DBCA: Step 4 of 8: Database Identification

www.michaelhinds.com/tech/oracle/installoracle9i.html

17/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Deselect "Example Schemas" and say yes to delete the tablespace in the dialogue box. Click Next.

DBCA: Step 5 of 8: Database Connection Options

www.michaelhinds.com/tech/oracle/installoracle9i.html

18/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Select "Dedicated Server Mode" and click Next.

DBCA: Step 6 of 8: Initialization Parameters

These vary depending on the application and the hardware. The values I used are in the screen shot.

www.michaelhinds.com/tech/oracle/installoracle9i.html

19/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Change the Database Character Set to AL32UTF8.

The default block size and sort area are OK.

www.michaelhinds.com/tech/oracle/installoracle9i.html

20/41

10/17/12

Install Oracle 9i on Windows 2003 Server

The default file locations are OK too.

Turn on Archive Log Mode. Consider using another drive/partition for these. Click Next.

www.michaelhinds.com/tech/oracle/installoracle9i.html

21/41

10/17/12

Install Oracle 9i on Windows 2003 Server

DBCA: Step 7 of 8: Database Storage

Review the locations of the database files. Control file on D:, Y: and Z:. Tablespaces on Y:, Redo logs on Z:. Click Next.

DBCA: Step 8 of 8: Creation Options

www.michaelhinds.com/tech/oracle/installoracle9i.html

22/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Select "Generate Database Creation Scripts" to save your choices. Click Finish.

Summary

www.michaelhinds.com/tech/oracle/installoracle9i.html

23/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Saved HTML file for reference at C:\Quest\database-summary.html, then click OK.

www.michaelhinds.com/tech/oracle/installoracle9i.html

24/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Scripts should be created. Click OK.

The first couple of times we got error ORA-03113 here. This was because the user we were installing as wasn't in the administrators group on the local machine.
www.michaelhinds.com/tech/oracle/installoracle9i.html 25/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Enter your SYS and SYSTEM passwords and click Exit.

Enterprise Manager Configuration Assistant


EMCA: Step 1 of 3: Welcome

www.michaelhinds.com/tech/oracle/installoracle9i.html

26/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Click Next.

EMCA: Step 2 of 7: Create New Repository Options

www.michaelhinds.com/tech/oracle/installoracle9i.html

27/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Select custom and click Next.

EMCA: Step 3 of 7: Select Database Location

Select "In another existing database" and click Next.

EMCA: Step 4 of 7: Select Database for Repository

www.michaelhinds.com/tech/oracle/installoracle9i.html

28/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Enter the details for SYSTEM, the service as "localhost:1521:your SID", and click Next.

EMCA: Step 5 of 7: Repository Login Information

www.michaelhinds.com/tech/oracle/installoracle9i.html

29/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Enter a password twice and click Next.

EMCA: Step 6 of 7: Select Repository User Tablespaces

www.michaelhinds.com/tech/oracle/installoracle9i.html

30/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Defaults are fine. Click Next.

EMCA: Step 7 of 7: Create Repository Summary

Review and click Finish.

www.michaelhinds.com/tech/oracle/installoracle9i.html

31/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Another quick cup of tea.

www.michaelhinds.com/tech/oracle/installoracle9i.html

32/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Click close.

End of Installation

Click Exit.

Apply Latest Patchset


Login to Metalink and click on "Patches and Updates". Click "Simple Search" under patches. Search by "Product or Family", enter "RDBMS Server", select 9.2.0.x where x is the highest number. The platform is "Microsoft Windows (32bit)".

www.michaelhinds.com/tech/oracle/installoracle9i.html

33/41

10/17/12

Install Oracle 9i on Windows 2003 Server

At the time of writing, 9.2.0.8 was the highest patch level, but wasn't available for 32-bit Windows so I took 9.2.0.7. Download the patchset and unzip to somewhere outside of ORACLE_HOME, e.g. C:\Oracle_patch. Run C:\Oracle_path\Disk1\setup.exe. This starts the Oracle Universal Installer. Note: this is a different version of the OUI than the one you installed from the CD. You must use this newer version. From Control Panel -> Administrative Tools -> Services, stop the following services: OracleOraHome92Agent OracleOraHome92TNSListener OracleOraHome92ManagementServer (asks for credentials - use sysman/oem_temp) OracleServiceyour SID OracleOraHome92HTTPServer

Welcome
www.michaelhinds.com/tech/oracle/installoracle9i.html 34/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Click Next.

Specify File Locations

www.michaelhinds.com/tech/oracle/installoracle9i.html

35/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Enter OraHome92 into the name field and this should update the path to your ORACLE_HOME. Click Next. If any services are still running you'll see this:

www.michaelhinds.com/tech/oracle/installoracle9i.html

36/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Summary

www.michaelhinds.com/tech/oracle/installoracle9i.html

37/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Click Install.

Install

www.michaelhinds.com/tech/oracle/installoracle9i.html

38/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Fancy a brew?

End of Installation

www.michaelhinds.com/tech/oracle/installoracle9i.html

39/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Click Exit, then restart the following services: OracleOraHome92Agent OracleOraHome92TNSListener OracleOraHome92ManagementServer

Upgrade the database


Run SQL*Plus as SYS, restart the database and run the upgrade script. Note that this took around 30 mins for just one smallish OpenACS schema:
SUDW AOT HTON BR SATP TRU SUDW IMDAE HTON MEIT SATPMGAE TRU IRT SOLC\ac.o PO :pthlg @:Oal\r9\dm\di\apthsl D\rceoa2rbsamnctac.q SOLOF PO F

Review C:\patch.log for any errors (there were none). Restart the database in the normal way.

www.michaelhinds.com/tech/oracle/installoracle9i.html

40/41

10/17/12

Install Oracle 9i on Windows 2003 Server

Note: I forgot this step and it didn't manifest itself until I tried to drop a user, which gave the error:
do ue ue csae rp sr sr acd; * ERRa ln 1 RO t ie : OA001 ivldcro R-10: nai usr OA060 itra errcd,agmns [minPce2,[2] [,[,[, R-00: nenl ro oe ruet: qxUpakd] 11, ] ] ] [,[,[ ] ] ]

Detailed instructions can be found accompanying the patchset. Sep 2006

www.michaelhinds.com/tech/oracle/installoracle9i.html

41/41

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