oracle 10g r2 installation

Upload: krishnakumar

Post on 29-May-2018

232 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/9/2019 Oracle 10g R2 Installation

    1/37

    Orac le 10g R2

    Inst a l la t ion Guidefor Windows XP, Windows Server 2003

    Installation Instructions:

    Follow every step in this guide unless it is marked optional. Do not change or deviate from any step unless told to do so by your

    instructor or Heinz Computing staff member.

    Only start this installation when you can dedicate 1-2 hours of your time Report any installation errors/problems [email protected].

    Please include in your email:

    o The step you were on when the error occurredo A screen shot (Print Screen button) of the erroro The error number and exact text of the error

  • 8/9/2019 Oracle 10g R2 Installation

    2/37

    Pre-installation Instructions

    Installing Oracle

    Contents

    Pre-installation Instructions ................................................................................... 3Installation User Name ............................................................................................................... 3Check Virtual Memory Settings ................................................................................................. 3Check Free Disk Space ............................................................................................................... 3RAM Requirements .................................................................................................................... 3Browser Compatibility ................................................................................................................ 3

    Step 1: Installing Oracle 10G Database Express Edition .................................... 4Step 2: Installing Oracle Developer Suite ............................................................ 11Step 3: Install Developer Suite Patch ................................................................... 19Step 4: Jinit Installation ........................................................................................ 21Step 5: Browser Installation .................................................................................. 22Step 6: Configure Forms to use Firefox 2.0 or IE 6. ........................................... 24Step 7: (Optional) Install Developer Suite Documentation ............................... 26Step 8: (Optional) Installing Oracle 10g Warehouse Builder............................ 28Appendix A Checking Virtual Memory ........................................................... 33Appendix B Checking Free Disk Space ............................................................ 34Appendix C - Starting and Stopping Services ..................................................... 35Appendix D - Creating Folders on the Start, Programs Menu ......................... 36Appendix E - Completely Removing Oracle from Windows NT/2000/XP ...... 37

  • 8/9/2019 Oracle 10g R2 Installation

    3/37

    Pre-installation Instructions

    Pre-installationInstructions

    This document contains instructions for installing Personal Oracle 10g on computers using theWindows XP Professional or Windows Server 2003 operating system. Instructions may varyslightly for each operating system. Oracle installations can be lengthy, plan 1-2 hours for the full

    installation. Make sure your operating system has all current updates and patches prior toinstallation.

    InstallationUserNameTo install Oracle software, you must login to your computer with the same user name as you will

    to use the software. In addition, that user name must be a member of the administrators group.

    CheckVirtual

    Memory

    Settings

    You need a minimum of 768 MB. See Appendix A on page 34, for operating system specific

    instructions on changing virtual memory.

    CheckFreeDiskSpaceYou need 3.8GB of disk space to install Oracle 10g, including 150 MB on the system drive

    (usually C:), with the rest of the space on any single uncompressed drive. Oracle documentation

    uses an additional 600 MB. Oracle Developer Suite 10g uses an additional 1.2GB. SeeAppendix B on page 35, for operating system specific instructions on checking disk space.

    RAMRequirementsYou need 1024 MB minimum. Right click on My Computer and choose Properties to determineyour computers currently installed RAM.

    BrowserCompatibilitySome Oracle components in this installation require Internet Explorer 6.0 or Firefox 2.0. This

    installation includes Firefox 2.0. You only need to install Firefox if you do not have one of the

    compatible browser install and set as you default browser.

  • 8/9/2019 Oracle 10g R2 Installation

    4/37

    Step 1: Installing Oracle 10G Database Express Edition

    Step1:InstallingOracle10GDatabaseExpressEdition

    1-1: Insert the Oracle 10g Database Express Edition CD in the CD player. It does not autostart so open My Computer then open the CD player. Double click on

    OracleXEUniv.exe

    1-2: The setup program will start. After the install wizard prepares the install, you will see theWelcome window. Click the Next button.

    1-3: TheLicense Agreementwindow appears. Read the agreement then click "I Accepttheterms..." then click the Next button.

  • 8/9/2019 Oracle 10g R2 Installation

    5/37

    Step 1: Installing Oracle 10G Database Express Edition

    1-4: The Choose Destination window appears. Keep the defaults and click the Next button.

    1-5: TheDatabase Passwords appear. This is for the sys and system account. For theEnter Password and Confirm Password fields, type:johnheinzthen hit the Next button.

    1-6: The Summary window appears. Click the Install button.

  • 8/9/2019 Oracle 10g R2 Installation

    6/37

    Step 1: Installing Oracle 10G Database Express Edition

    1-7: The installation will take 15-25 minutes. At the end of the installation, you will see theComplete window. Make sure the "launch the Database homepage" is checked and

    click the Finish button.

    1-8: A web browser will open to http://127.0.0.1:8080 and you will see the Oracle DatabaseExpress login screen. Type:

    Username: sys

    Password:johnheinz

  • 8/9/2019 Oracle 10g R2 Installation

    7/37

    Step 1: Installing Oracle 10G Database Express Edition

    1-9: The Oracle Web Admin home page will appear. Now we need to activate the test account.There is an account called "hr" that we will active for testing. Click on the Administration button.

    Click the Database Users button.

    Click the HR button.

  • 8/9/2019 Oracle 10g R2 Installation

    8/37

    Step 1: Installing Oracle 10G Database Express Edition

    1-10: TheHR account information will appear. For the Password and Confirm password fields,type: tigerChange theAccount Status to Unlocked and click the Alter User button. The HR

    account is now active.

    1-11: Now let's test the account. Click the Logout link.

    You will see a message that you are logged out. Below the message, click the Login link.

  • 8/9/2019 Oracle 10g R2 Installation

    9/37

    Step 1: Installing Oracle 10G Database Express Edition

    The database login screen will appear. Type:

    Username: hr

    Password: tigerClick the Login button.

    1-12: The Oracle web admin home page will appear. Click on the SQL button.

    Click the SQL Commands button.

  • 8/9/2019 Oracle 10g R2 Installation

    10/37

    Step 1: Installing Oracle 10G Database Express Edition

    1-13: The SQL Commands screen appears. Type: select * from jobs;Click the run button. Job information will appear in theResults pane.

    1-14: The database is now working. You can access the Oracle Express database function onthe start menu.

    Note: The setup program creates the listener and tnsnames files for you. They are located at:

    C:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN

    The service name is XE.

    The old Scott/tiger account is not used in the express addition.

    1

  • 8/9/2019 Oracle 10g R2 Installation

    11/37

    Step 2: Installing Oracle Developer Suite

    Step2:InstallingOracleDeveloperSuite

    2-1: Insert the Dev Suite disk 1. The install program will automatically start. If not, open MyComputer then the CD player. Double click on setup.exe.

    2-2: The setup program will start. Click the Next button.

    2-3: The Specify Inventory Directory screen appears. Keep the default location and click theNext button.

    1

  • 8/9/2019 Oracle 10g R2 Installation

    12/37

    Step 2: Installing Oracle Developer Suite

    2-4: The Specify File Locations screen appears. Under Destination, Type:Name: DevSuiteHome1

    Path: c:\DevSuiteHome_1(Please note if you change this location. You are required to retype this information

    when installing the patch.)

    Click the Next button.

    2-5: The Select Installation Type screen will appear. Select Complete and click the Nextbutton.

    Note: You may receive a Windows Security Alert. If you do, click the Unblock button.

    1

  • 8/9/2019 Oracle 10g R2 Installation

    13/37

    Step 2: Installing Oracle Developer Suite

    2-6: The Provide Outgoing Mail Server Info screen will appear. Leave the field blank andclick the Next button.

    2-7: The Summary screen will appear. Click the Install button.

    2-8: TheInstall screen will appear. The installation will take about 20-40 minutes. During theinstallation, you will be asked to insert Dev Suite disk 2. When the installation reaches

    94%, it will ask for the first CD again.

    1

  • 8/9/2019 Oracle 10g R2 Installation

    14/37

    Step 2: Installing Oracle Developer Suite

    2-9: Once the install is finished, you will see theEnd of Installation screen. Click the Exitbutton.

    2-10: On the Start button clickOracle-DevSuiteHome1 -> Configuration and Migrationtools -> Net Configuration Assistant.

    2-11: TheNet Config Assistantwill open. Select Local Net Service Name configuration thenclick the Next button.

    2-12: TheAction screen will appear. Select Add then click the Next button.

    1

  • 8/9/2019 Oracle 10g R2 Installation

    15/37

    Step 2: Installing Oracle Developer Suite

    2-13: The Service screen appears. For the Service Name field, type: XEthen click the Next button.

    2-14: TheNetwork Protocol screen appears. Select TCP then click the Next button.

    2-15: TheHostname screen appears. For the Hostname, type: 127.0.0.1click the Next button.

    1

  • 8/9/2019 Oracle 10g R2 Installation

    16/37

    Step 2: Installing Oracle Developer Suite

    2-16: The Testscreen appears. ClickYes, perform a test then clickNext.

    2-17: The test will fail. Click the change login button.

    Enter:

    Username: hrPassword; tiger

    Click the OK button.

    1

  • 8/9/2019 Oracle 10g R2 Installation

    17/37

    Step 2: Installing Oracle Developer Suite

    2-18: The test will now be successful. ClickNext three times then clickFinished.

    2-19: Dev Suite is now setup to access the Oracle Express Server. To test, clickStart ->Oracle-DevSuiteHome2 -> Application Development -> SQL Plus

    2-20: SQL Plus will open. Login:Username: hrPassword: tiger

    Host String: XE

    1

  • 8/9/2019 Oracle 10g R2 Installation

    18/37

    Step 2: Installing Oracle Developer Suite

    2-21: At the prompt, type: select * from jobs;Hit enter on the keyboard. You will see the job data.

    1

  • 8/9/2019 Oracle 10g R2 Installation

    19/37

    Step 3: Install Developer Suite Patch

    Step3:InstallDeveloperSuitePatch

    3-1: Insert the Oracle 10G Developer Suite Patch DVD. The install program willautomatically start. If not, open My Computer then the CD player. Double click on

    setup.exe.

    3-2: The setup program will start. After the install wizard prepares the install, you will see theWelcome window. Click the Next button.

    3-3: The File Location window appears. Change the location to:Name: DevSuiteHome1

    Location: C:\DevSuiteHome_1Click the Next button.

    1

  • 8/9/2019 Oracle 10g R2 Installation

    20/37

    Step 3: Install Developer Suite Patch

    3-4: The Select a Product to Install screen appears. Select Oracle Application Server andDeveloper Suite 10g Rel 2 Software Update then click the Next button.

    3-5: The Summary screen will appear. Click the Install button.

    3-6: When the installation is complete, click the Exit button.

    2

  • 8/9/2019 Oracle 10g R2 Installation

    21/37

    Step 4: Jinit Installation

    Step4:JinitInstallation

    4-1: Close all web browsers.4-2: Open My Computer. Go to C:\DevSuiteHome_1\jinit folder. Double click on Jinit.exe.4-3: The Jinit installer will open and the Choose Destination Location screen will appear.

    Keep the default settings and click the Next button.

    4-4: The installation program will install the Jinit application. At the end of the installation,click the OK button.

    2

  • 8/9/2019 Oracle 10g R2 Installation

    22/37

    Step 5: Browser Installation

    Step5:BrowserInstallation

    Oracle 10g Developer Suite R2 is only compatible with Internet Explorer 6.0 and Firefox 2.0.0.4.

    You can skip this step ifyou currently have either of these browsers installed on your computer.

    This step will install Firefox 2.0.0.4. If you are currently using a different version of Firefox,please uninstall it (Start-> Control Panel->Add/Remove Programs) before starting this step.

    5-1: Insert the Oracle 10g Firefox 2.0 CD. It does not have an auto start so open MyComputer then open the CD player. Double click on Firefox Setup 2.0.0.4.exe.

    5-2: The Firefox setup program will start. The Welcome screen will appear. Click the Nextbutton.

    5-3: TheLicense Agreementscreen will appear. Select I accept the terms then click theNext button.

    2

  • 8/9/2019 Oracle 10g R2 Installation

    23/37

    Step 5: Browser Installation

    5-4: The Setup Type screen appears. Select Standard and click the Next button.

    5-5: The installation program will begin. When the installation is complete, unselect theLaunch Mozilla Firefox now then click the Finish button.

    2

  • 8/9/2019 Oracle 10g R2 Installation

    24/37

  • 8/9/2019 Oracle 10g R2 Installation

    25/37

    Step 6: Configure Forms to use Firefox 2.0 or IE 6.

    6-5: The Web Browser Location field will now have the location of Firefox (or IE). Click theOK button.

    6-6: Close Forms Builder.

    2

  • 8/9/2019 Oracle 10g R2 Installation

    26/37

    Step 7: (Optional) Install Developer Suite Documentation

    Step7:(Optional)InstallDeveloperSuiteDocumentation

    7-1: Insert the Oracle 10g Developers Suite Documentation CD. The CD does not have anauto start program. Open My Computer and open your CD Rom Drive. The Oracle 10gDevelopers Suite Documentation CD contents will appear. On the menu bar clickEdit

    then clickSelect All.

    7-2: All the files are highlighted. On the menu bar clickEdit then clickCopy.

    2

  • 8/9/2019 Oracle 10g R2 Installation

    27/37

    Step 7: (Optional) Install Developer Suite Documentation

    7-3: In My Computer, go to C:\DevSuiteHome_1. On the menu bar, clickFile then clickNew then clickFolder. Name the folder docs.

    7-4: Open the docs folder. On the menu bar, clickEdit then Paste.

    7-5: The documentation files are on your hard drive. Now you can create a shortcut to themain documentation web page located at C:\DevSuiteHome_1\docs\index.htm.

    2

  • 8/9/2019 Oracle 10g R2 Installation

    28/37

    Step 8: (Optional) Installing Oracle 10g Warehouse Builder

    Step8:(Optional)InstallingOracle10gWarehouseBuilder

    8-1: Insert the Oracle 10g Warehouse Builder DVD. The install program will automaticallystart. If not, open My Computer then the CD player. Double click on setup.exe.

    8-2: The Welcome screen appears. Click the Next button.

    8-3: The Specify Home screen appears. Change the destination to:Name: wb

    Path: c:\wb

    Click the Next button.

    2

  • 8/9/2019 Oracle 10g R2 Installation

    29/37

    Step 8: (Optional) Installing Oracle 10g Warehouse Builder

    8-4: The Summary screen page will appear. Click the Install button.

    8-5: You may see a Windows Security Alert. Click the Unblock button.

    8-6: When the installation is finished, click the Exit button.

    8-7: ClickStart-> Programs->Oracle-wb->Configuration and Migration Tools->NetConfiguration Assistant.

    2

  • 8/9/2019 Oracle 10g R2 Installation

    30/37

    Step 8: (Optional) Installing Oracle 10g Warehouse Builder

    8-8: TheNet Configuration Assistantwill open. Select Local Net Service Nameconfiguration then click the Next button.

    8-9: TheAction screen appears. Select Add then click the Next button.

    8-10: The Service Name screen will appear. In the Service Name field, Type: XEClick the Next button.

    3

  • 8/9/2019 Oracle 10g R2 Installation

    31/37

    Step 8: (Optional) Installing Oracle 10g Warehouse Builder

    8-11: TheNetwork Protocol screen will appear. Select TCP and click the Next button.

    8-12: TheHost Name screen appears. In the Host Name field, type: 127.0.0.1Click the Next button.

    8-13: The Testscreen appears. ClickYes, perform a test then clickNext.

    3

  • 8/9/2019 Oracle 10g R2 Installation

    32/37

    Step 8: (Optional) Installing Oracle 10g Warehouse Builder

    8-14: The test will fail. Click the change login button.

    Enter:

    Username: hrPassword; tiger

    Click the OK button.

    8-15: The test will now be successful. ClickNext three times then clickFinished.

    3

  • 8/9/2019 Oracle 10g R2 Installation

    33/37

    Appendix A Checking Virtual Memory

    AppendixACheckingVirtualMemory

    For Windows XP:

    1) From the Start menu, select My Computer.2) Under System Tasks, select View system information.3) Select the Advanced Tab.4) In the Performance section, select Settings.5) Select the Advanced Tab.6) In the Virtual memory section, note the Total paging size for all drives. If it is less than

    768 MB, select Change. Select Custom size: and enter an initial size of between 768 MB and

    1536 MB. Select Set, then OK to close the Virtual Memory Screen.

    7) Select OK to close the Performance Options screen.8) Select OK to close the System Properties Screen.9) Select OK to close the My Computer screen.

    3

  • 8/9/2019 Oracle 10g R2 Installation

    34/37

    Appendix B Checking Free Disk Space

    AppendixBCheckingFreeDiskSpace

    For Windows XP:

    1) From the Start menu select My Computer.2) Select the drive and note the free space in the Details section in the lower left.3) From the File menu select Close.

    3

  • 8/9/2019 Oracle 10g R2 Installation

    35/37

    Appendix C - Starting and Stopping Services

    3

    AppendixC - StartingandStoppingServices

    For Windows XP

    1) From the Start menu select Control Panel2) Select Performance and Maintenance3) Select Administrative Tools4) Double clickServices5) Select the particular service6) Click Stop or Start the service, then close the Services window.

    Note: To change the way a service starts on bootup, double click the service, change the Startup

    type, clickApply and then OK .

  • 8/9/2019 Oracle 10g R2 Installation

    36/37

    Appendix D - Creating Folders on the Start, Programs Menu

    AppendixD - CreatingFoldersontheStart,ProgramsMenu

    1. Right click the Start button and select Open All Users.

    2. Double click the Programs folder.3. From the File menu select New.4. Select Folder and name the new folder.5. Drag and drop other items from the Programs folder into the new folder.

    3

  • 8/9/2019 Oracle 10g R2 Installation

    37/37

    Appendix E - Completely Removing Oracle from Windows NT/2000/XP

    AppendixE - CompletelyRemovingOraclefromWindowsNT/2000/XP

    The Oracle Installer does not completely remove all traces of Oracle. To do a clean uninstall,

    follow the instructions below. These steps are for an installation typically done by Heinz/MISMstudents.

    1. Stop all Oracle programs and services. Close all oracle programs you may have open.Stop all services that begin with Oracle. See Appendix C about how to stop services.

    2. Using regedit or regedt32, start the registry editor and remove the following keys:HKEY_LOCAL_MACHINE\Software\Oracle

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Oracle*(all services starting with Oracle)

    3. If you have created any DSN definitions with ODBC, start the ODBC administratorapplet and remove any Oracle DSN definitions.

    4.

    Edit your paths and other system variables to remove any reference to Oracle.5. Remove any Oracle related icons from your desktop and any references to Oracleprograms from the Start/Programs menu.

    6. Reboot your computer. DO NOT SKIP THIS STEP!7. Remove all Oracle software by deleting the following folders and all subfolders within;

    a. C:\DevSuiteHome_1b. C:\oraclexec. c:\wbd. c:\program files\oracle

    Adjust drive letters according to your installation.

    If there are errors deleting certain files, reboot, and delete the remaining oracle files and

    folders.