Sie sind auf Seite 1von 14

Advanced Database Lab1: Oracle 10g Installation Pre-Installation Checks Before you can install Oracle 10g in your

machine, you need to check that the machine configurations are suitable for Oracle installation. Oracle 10g requires at least Pentium 3 or Pentium 4 based PC or a PC with equivalent CPU, running at a clock speed of at least 800 MHz. The system will also require at least 256MB of Ram and a hard disk free space of 10GB (1.5 for zipped installation file, 1.5 GB for Oracle installation unzipped file,2GB installation size, and 2 to 5GB for Oracle data files). If the RAM available is 256 MB, the swap page of virtual memory needs to be at least 400 MB. To check the configuration of your PC, right click on My Computer and then click Properties. To check the virtual memory size, right click on My Computer, go to Properties->Advanced System Settings>Advanced->(Performance)Settings>Advanced (Windows Vista)

Properties->Advanced>(Performance)Settings->Advanced (Windows XP)

You can change the size of virtual memory from here using the Change button.

How to uninstall Oracle database software: (Skip this if Oracle is not already installed on your system) You need to uninstall Oracle 10g first in case it is already installed on your system. Following is the procedure for for unistalling Oracle 10g. Uninstall all Oracle components using the Oracle Universal Installer (OUI). (Start - All Programs - Oracle 10g DS Oracle Installation Products - Universal Installer.) 2. Run regedit.exe and delete the HKEY_LOCAL_MACHINE/ SOFTWARE/ORACLE key. This contains registry entire for all Oracle products. 3. Delete any references to Oracle services left behind in the following part of the registry: HKEY LOCAL MACHINE/ SYSTEM/ CurrentControlsSet/ Services/Ora*. It should be pretty obvious which ones relate to Oracle 4. Reboot your machine. 5. Delete the C: \Oracle directory, or whatever directory is your Oracle_Base. 6. Delete the C:\Program Files \Oracle directory.
1.

7. Empty the contents of your c:\temp directory. 8. Empty your recycle bin. Installing Oracle software : 10g database

Insert Oracle CD , the autorun window opens automatically. If you are installing from network or hard disk, click setup.exe in the installation folder. The Oracle Universal Installer (OUI) will run and display the Select Installation Method Window.

Choose Basic Installation: Select this option to quickly install Oracle Database 10g. This method requires

minimal user input. It installs the software and optionally creates a general-purpose database based on the information you provide. For basic installation, you specify the following: Oracle Home Location Enter the directory in which to install the Oracle Database 10g software. You must specify a new Oracle home directory for each new installation of Oracle Database 10g. Use the default value, which is : c:\oracle\product\10.2.0\db_1 Installation Edition Type Select Enterprise

If you have limited space, select standard edition. Personal edition installs the same software as the Enterprise Edition, but supports only a single-user development and deployment environment. Create Starter Database Check this

box to create a database during installation. Oracle recommends that you create a starter database for first Create Starter Database time installations. Choose a Global Database Name, like cs157b, or just use the default value. Type a password. (Please Enter adb as password. I will check to make sure that everyone has entered adb as password Dr. Shafi) Dont lose this password, since you will need it to connect to the database server. Click next The Product-Specific Prerequisite Checks window appears: Click next

A summary screen appears showing information such as your global settings, space requirements and the new products to be installed. Click Install to start the installation.

The Install window installation progress.

appears

showing

At the end of the installation phase, the Configuration Assistants window appears. This window lists the configuration assistants that are started automatically. If you are creating a database, then the Database Configuration Assistant starts automatically in a separate window.

At the end of database creation, you are prompted to unlock user accounts to make the accounts accessible. The SYS and SYSTEM accounts are already unlocked. Click OK to bypass password management.

Note: Oracle 10g still keeps scott / tiger username and password (UID=scott, PWD=tiger) from the old version of oracle. In the old version of oracle, scott/tiger user ID is available by default, but not in oracle 10g. If you want to use scott /tiger account, you must unlock it by clicking Password Management at the last window. Password Management window will appear like the one shown below. Find the user name Scott and uncheck the Lock Account? column for the user name. Your installation and database creation is now complete. The End of Installation

window displays several important URLs, one of which is for Enterprise Manager.

You can navigate to this URL in your browser and log in as the SYS user with the associated password, and connect as SYSDBA. You use Enterprise Manager to perform common database administration tasks Note : you can access Oracle Enterprise Manager using browser by typing the URL shown above in your browser. Instead of typing the IP address, you can also access the Enterprise Manager by typing http://localhost:1158/em or http:// [yourComputerName]:1158/em or by clicking Start >> All Programs >> Oracle [YourOracleHome_home1] >>

Database Control [yourOracleID] in Windows menu. By default, use user ID SYSTEM, with the password that you have chosen at the beginning of installation, to connect to database, SQLPlus, etc. If you want to use other user ID, you may create a new user .

Post Installation Tasks: Go to http://localhost:1158/em Enter SYS as user name Enter the password that you chose during installation Choose SYSDBA option in the connect as drop-down and click on the login button Scroll down the page and click on the I agree button to proceed further. Now you are logged in as the user SYS. You can logout on the right-top logout button.

Congratulations! You are done with Oracle 10g Installation by I m khan

Enterprise Manager Database Control URL (orcl) : http://ImranKhan-PC:1158/em

Your database configuration files have been installed in D:\oracle\product\10.2.0 while other components selected for installation have been installed in D:\oracle\product\10.2.0\db_1. Be cautious not to accidentally delete these configuration files. The iSQL*Plus URL is: http://ImranKhan-PC:5560/isqlplus

The iSQL*Plus DBA URL is: http://ImranKhan-PC:5560/isqlplus/dba

Das könnte Ihnen auch gefallen