SlideShare ist ein Scribd-Unternehmen logo
1 von 5
Installing and Using Oracle Database 10g

To install Oracle Database 10g:

1. Insert the Oracle Database 10g Release 1 (10.1.0.2) CD in your CD-ROM drive. The Oracle
   Database10g – Autorun dialog box opens.

HELP: If the program does not automatically start, start Windows Explorer, navigate to your CD-ROM drive and run
setup.exe on the CD.

HELP: If at anytime during the installation process, a Windows Security Alert dialog box appears,
like the one below, click the Unblock button.




2. Click Install/Deinstall Products. Before the Welcome to the Oracle Universal Installer dialog
   box opens, Oracle will check your system for the necessary requirements and you will see the
   following screen.
3. When the Welcome to the Oracle Database 10g Installation page appears, accept the default Basic
   Installation option and the Oracle Home Location: C:oracleproduct10.1.0Db_1 path.
4. Select the Installation Type Personal Edition, Standard Edition, or Enterprise Edition as
   directed by your instructor.
5. Accept the default Create Starter Database option and the default Global Database Name: orcl
6. Choose a password for your database. This password is used to login to the database as the SYS,
   SYSTEM, SYSMAN, or DBSNMP user. Type the password you chose in the Database Password
   and Confirm Password text boxes. Please be sure to write this password down as you’ll need it to
   login to the database.

NOTE: The following restrictions apply to passwords:
   •   Passwords must be between 4 and 30 characters long.
   •   Passwords cannot be the same as the user name.
   •   Passwords must be from the database character set and can include the underscore (_), dollar ($), and pound sign
       (#) characters.
   •   Passwords cannot be Oracle reserved words.
7. Click Next.

NOTE: The Product Registration page appears. On this page, you are prompted to enter a product
registration key. Click the Register button to register your Oracle software with the Oracle
Technology Network (OTN) before beginning the installation process. You will be prompted for
information about the book that your Oracle CD came with. You will need to know the book title,
ISBN, and publisher.

HELP: If you have not already obtained an OTN user_id and password you will need to do that to
continue the software registration process. There is no charge to become a member of OTN.

TIP: If an Error dialog box appears that says: Thrown when the IP address of a host cannot be
determined, click the Continue button to use the default value and go on. This may happen several
times.

8. The Preparing to Install window appears for a few moments.
9. On the Summary page, click Install. The Install page appears. The installation process will take
    several minutes.
10. When the Database Configuration Assistant page appears, click the Password Management button
    to unlock the Scott user. Scroll to the Scott user and uncheck the Lock Account? box. The
    default password for Scott is tiger, click OK, and then click OK close the Database
    Configuration Assistant.
11. When the End of Installation page displays and confirms that the installation was successful, click
    Exit, and then click Yes to confirm exiting.


                            You're now done with basic installation!


Using SQL*Plus to Create a New User

Please Note: In this example we create a user account with DBA privileges, having user name as
user123 and password as abc123.



1. Start SQL*Plus and log in to your system account:

   •   Click Start on the Windows taskbar, point to Programs or All Programs, point to Oracle –
       OraDb10g_home1, point to Application Development, and then click SQL Plus. The Log
       On dialog box opens and requests your user name, password, and host string.

   •   Type system in the User Name field, type the password you specified during installation (in
       step 6 of the installation process described above), leave the Host String field blank, then click
       OK. The SQL*Plus program window opens, and the SQL prompt appears.
2. Type the following script in Notepad and copy, paste, and execute it in SQL*Plus:
create user user123 identified by abc123
default tablespace users
temporary tablespace temp
quota unlimited on users;

grant connect , resource to user123;
grant dba to user123;

3. Exit SQL*Plus using File > Exit from the menu or by typing quit


                                              ********************

Using Enterprise Manager to Create a New User

Please Note: In this example we create a user account with DBA privileges, having user name as
user123 and password as abc123.

To use the database for user data and for day-to-day tasks such as doing your homework, you should
create one or two user accounts and then login as one of these users to do the work. A user account is
identified by a user name and password and is associated with an area in the database.

1. Login to the Enterprise Manager as a DBA.

     Start Oracle Enterprise Manager in a web browser (FireFox or IE): http://localhost:1158/em
     (Before starting EM, be sure that the following services have been started: OracleService, OracleDBConsole, and
     OracleTNSListener. You can check for the services that are started/running by going to Start> Control Panel>
     Administrative Tools> Services)

2.        On the Oracle Enterprise Manager Database Control Login page, type SYSMAN as the User
          Name, enter the password you specified in step 6 during installation, select Normal from
          "Connect As" drop-down list and then click Login.

          (Alternatively, you may login by typing SYS, your password, and selecting SYSDBA.)

TIP: If you are not on the Oracle Enterprise Manager Database Control Login page, then open a Web
Browser and type the following URL: http://localhost:1158/em

3.        If the Oracle Database Licensing Information 10g page appears, read the page and scroll to
          the bottom and then click I Agree. This page appears the first time a new user logs in to the
          Oracle Enterprise Manager Database Control application.
4.        The Oracle Enterprise Manager Database Control Home page will appear. To create a new
          user for the Oracle database: orcl, click the Administration link.
5.        Under the Security heading click the Users link.
6.        On the Oracle Enterprise Manager Database Control Users page, click the Create button
          located on the right hand side of the page.
7.        Type user123 in the Name field, abc123 in the Enter Password field, and abc123 once again
          in the Confirm Password field.
8.        Type USERS in the Default Tablespace field and Temp in the Temporary Tablespace field.
9.        Click the Roles link, click the Modify button, select DBA in the Available Roles list, and
          then click the move arrow so that DBA appears in the Selected Roles list.
10.       Click OK on the Modify Roles page, and then click OK on the Create User page. A message
          confirms that the object was successfully created.
11.       Click the Logout link at the bottom of the page.
12.       Close the Oracle Enterprise Manager 10g Database Control web page by clicking the X icon
          in the upper right corner of the web page.


                                        ********************

To Login as the User that You Created in the Above Examples

Please Note: In this example you’ll login as user123 with the password abc123

      •   Click Start on the Windows taskbar, point to Programs or All Programs, point to Oracle –
          OraDb10g_home1, point to Application Development, and then click SQL Plus. The Log
          On dialog box opens and requests your user name, password, and host string.

      •   Type user123 in the User Name field, type abc123 in the Password field, leave the Host
          String field blank, click OK. The SQL*Plus program window opens, and the SQL prompt
          appears.


                                        ********************

Starting and Stopping Database Services

After you install Oracle 10g (or 11g) on your computer, you’ll see four Oracle services running.
These services automatically start when you start your computer, and consume a good amount of the
computer’s memory and slow it down. It’s a good idea to have these services set to manual mode,
stop them when you’re not using Oracle, and restart them before using Oracle. Here’s what you
should do:

      •   Start > Control Panel > Administrative Tools > Services
      •   The services are listed alphabetically in the Services window. For each Oracle service, open
          the Properties window by right-clicking, change the Startup Type to Manual and stop the
          service. You can restart a service when needed by right-clicking and selecting Start.
      •   The following services are needed for various client tools:
              o For SQL*Plus: OracleService… (… = database name, such as ORCL)
              o For Oracle SQL Developer: OracleService + Oracle…TNSListener
              o For Enterprise Manager: OracleService + Oracle…TNSListener + OracleDBConsole...

Weitere ähnliche Inhalte

Was ist angesagt?

12 simple steps to prepare your i os app for development and distribution (1)...
12 simple steps to prepare your i os app for development and distribution (1)...12 simple steps to prepare your i os app for development and distribution (1)...
12 simple steps to prepare your i os app for development and distribution (1)...Katy Slemon
 
Ext js user login panel
Ext js user login panelExt js user login panel
Ext js user login panelArun Prasad
 
Introduction to ExtJS
Introduction to ExtJSIntroduction to ExtJS
Introduction to ExtJSArun Prasad
 
Many Problems in SharePoint
Many Problems in SharePointMany Problems in SharePoint
Many Problems in SharePointno NO No
 
Designing an ExtJS user login panel
Designing an ExtJS user login panelDesigning an ExtJS user login panel
Designing an ExtJS user login panelArun Prasad
 
Ernst & Young eDocs add a Subfolder cancel and exit the process
Ernst & Young eDocs add a Subfolder cancel and exit the   processErnst & Young eDocs add a Subfolder cancel and exit the   process
Ernst & Young eDocs add a Subfolder cancel and exit the processMohammed Golam
 
Introduction to ExtJS lesson 01 Part two
Introduction to ExtJS lesson 01 Part twoIntroduction to ExtJS lesson 01 Part two
Introduction to ExtJS lesson 01 Part twoArun Prasad
 
Share point 2010_overview-day4-code
Share point 2010_overview-day4-codeShare point 2010_overview-day4-code
Share point 2010_overview-day4-codeNarayana Reddy
 

Was ist angesagt? (9)

12 simple steps to prepare your i os app for development and distribution (1)...
12 simple steps to prepare your i os app for development and distribution (1)...12 simple steps to prepare your i os app for development and distribution (1)...
12 simple steps to prepare your i os app for development and distribution (1)...
 
Ext js user login panel
Ext js user login panelExt js user login panel
Ext js user login panel
 
Introduction to ExtJS
Introduction to ExtJSIntroduction to ExtJS
Introduction to ExtJS
 
Many Problems in SharePoint
Many Problems in SharePointMany Problems in SharePoint
Many Problems in SharePoint
 
Designing an ExtJS user login panel
Designing an ExtJS user login panelDesigning an ExtJS user login panel
Designing an ExtJS user login panel
 
Dw cs3-introduction
Dw cs3-introductionDw cs3-introduction
Dw cs3-introduction
 
Ernst & Young eDocs add a Subfolder cancel and exit the process
Ernst & Young eDocs add a Subfolder cancel and exit the   processErnst & Young eDocs add a Subfolder cancel and exit the   process
Ernst & Young eDocs add a Subfolder cancel and exit the process
 
Introduction to ExtJS lesson 01 Part two
Introduction to ExtJS lesson 01 Part twoIntroduction to ExtJS lesson 01 Part two
Introduction to ExtJS lesson 01 Part two
 
Share point 2010_overview-day4-code
Share point 2010_overview-day4-codeShare point 2010_overview-day4-code
Share point 2010_overview-day4-code
 

Ähnlich wie Oracle install

Installing Process Oracle 10g Database Software on Windows 10
Installing Process Oracle 10g Database Software on Windows 10Installing Process Oracle 10g Database Software on Windows 10
Installing Process Oracle 10g Database Software on Windows 10Azharul Islam Shopon
 
Odi 11g master and work repository creation steps
Odi 11g master and work repository creation stepsOdi 11g master and work repository creation steps
Odi 11g master and work repository creation stepsDharmaraj Borse
 
Lecture 1 sql {installation & uninstallation}
Lecture 1 sql {installation & uninstallation}Lecture 1 sql {installation & uninstallation}
Lecture 1 sql {installation & uninstallation}Shubham Shukla
 
Pangolin User Guide
Pangolin User GuidePangolin User Guide
Pangolin User Guidemattotamhe
 
From home sql_server_tutorials
From home sql_server_tutorialsFrom home sql_server_tutorials
From home sql_server_tutorialsAravindharamanan S
 
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...Mumbai B.Sc.IT Study
 
130297267 transformations
130297267 transformations130297267 transformations
130297267 transformationsSunil Pandey
 
20 Tips and Tricks with the Autonomous Database
20 Tips and Tricks with the Autonomous Database 20 Tips and Tricks with the Autonomous Database
20 Tips and Tricks with the Autonomous Database Sandesh Rao
 
CIS 246 Massive Success--snaptutorial.com
CIS 246  Massive Success--snaptutorial.comCIS 246  Massive Success--snaptutorial.com
CIS 246 Massive Success--snaptutorial.comsantricksapiens62
 
Cis 246 Success Begins / snaptutorial.com
Cis 246 Success Begins / snaptutorial.comCis 246 Success Begins / snaptutorial.com
Cis 246 Success Begins / snaptutorial.comRobinson067
 
Cis 246 Enthusiastic Study / snaptutorial.com
Cis 246 Enthusiastic Study / snaptutorial.comCis 246 Enthusiastic Study / snaptutorial.com
Cis 246 Enthusiastic Study / snaptutorial.comGeorgeDixon96
 
CIS 246 Technology levels--snaptutorial.com
CIS 246 Technology levels--snaptutorial.comCIS 246 Technology levels--snaptutorial.com
CIS 246 Technology levels--snaptutorial.comsholingarjosh55
 
Windows Server 2008 Active Directory
Windows Server 2008 Active DirectoryWindows Server 2008 Active Directory
Windows Server 2008 Active Directoryanilinvns
 
OBIEE 11g : Repository Creation Steps
OBIEE 11g : Repository Creation StepsOBIEE 11g : Repository Creation Steps
OBIEE 11g : Repository Creation StepsDharmaraj Borse
 
installation and configuration of informatica server
installation and configuration of informatica serverinstallation and configuration of informatica server
installation and configuration of informatica serverketulp
 
Presentation searching oracle database 11g
Presentation    searching oracle database 11gPresentation    searching oracle database 11g
Presentation searching oracle database 11gxKinAnx
 
AutoCount Accounting User Manual
AutoCount Accounting User ManualAutoCount Accounting User Manual
AutoCount Accounting User ManualAngela Shin
 
Creating mass users using e_catt
Creating mass users using e_cattCreating mass users using e_catt
Creating mass users using e_cattsparten369
 

Ähnlich wie Oracle install (20)

Installing Process Oracle 10g Database Software on Windows 10
Installing Process Oracle 10g Database Software on Windows 10Installing Process Oracle 10g Database Software on Windows 10
Installing Process Oracle 10g Database Software on Windows 10
 
Odi 11g master and work repository creation steps
Odi 11g master and work repository creation stepsOdi 11g master and work repository creation steps
Odi 11g master and work repository creation steps
 
Lecture 1 sql {installation & uninstallation}
Lecture 1 sql {installation & uninstallation}Lecture 1 sql {installation & uninstallation}
Lecture 1 sql {installation & uninstallation}
 
154090896 installation-of-oracle-database-12c
154090896 installation-of-oracle-database-12c154090896 installation-of-oracle-database-12c
154090896 installation-of-oracle-database-12c
 
Pangolin User Guide
Pangolin User GuidePangolin User Guide
Pangolin User Guide
 
From home sql_server_tutorials
From home sql_server_tutorialsFrom home sql_server_tutorials
From home sql_server_tutorials
 
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...
 
130297267 transformations
130297267 transformations130297267 transformations
130297267 transformations
 
20 Tips and Tricks with the Autonomous Database
20 Tips and Tricks with the Autonomous Database 20 Tips and Tricks with the Autonomous Database
20 Tips and Tricks with the Autonomous Database
 
CIS 246 Massive Success--snaptutorial.com
CIS 246  Massive Success--snaptutorial.comCIS 246  Massive Success--snaptutorial.com
CIS 246 Massive Success--snaptutorial.com
 
Cis 246 Success Begins / snaptutorial.com
Cis 246 Success Begins / snaptutorial.comCis 246 Success Begins / snaptutorial.com
Cis 246 Success Begins / snaptutorial.com
 
Cis 246 Enthusiastic Study / snaptutorial.com
Cis 246 Enthusiastic Study / snaptutorial.comCis 246 Enthusiastic Study / snaptutorial.com
Cis 246 Enthusiastic Study / snaptutorial.com
 
CIS 246 Technology levels--snaptutorial.com
CIS 246 Technology levels--snaptutorial.comCIS 246 Technology levels--snaptutorial.com
CIS 246 Technology levels--snaptutorial.com
 
Windows Server 2008 Active Directory
Windows Server 2008 Active DirectoryWindows Server 2008 Active Directory
Windows Server 2008 Active Directory
 
OBIEE 11g : Repository Creation Steps
OBIEE 11g : Repository Creation StepsOBIEE 11g : Repository Creation Steps
OBIEE 11g : Repository Creation Steps
 
Oracle EMC 12C Grand Tour
Oracle EMC 12C Grand TourOracle EMC 12C Grand Tour
Oracle EMC 12C Grand Tour
 
installation and configuration of informatica server
installation and configuration of informatica serverinstallation and configuration of informatica server
installation and configuration of informatica server
 
Presentation searching oracle database 11g
Presentation    searching oracle database 11gPresentation    searching oracle database 11g
Presentation searching oracle database 11g
 
AutoCount Accounting User Manual
AutoCount Accounting User ManualAutoCount Accounting User Manual
AutoCount Accounting User Manual
 
Creating mass users using e_catt
Creating mass users using e_cattCreating mass users using e_catt
Creating mass users using e_catt
 

Oracle install

  • 1. Installing and Using Oracle Database 10g To install Oracle Database 10g: 1. Insert the Oracle Database 10g Release 1 (10.1.0.2) CD in your CD-ROM drive. The Oracle Database10g – Autorun dialog box opens. HELP: If the program does not automatically start, start Windows Explorer, navigate to your CD-ROM drive and run setup.exe on the CD. HELP: If at anytime during the installation process, a Windows Security Alert dialog box appears, like the one below, click the Unblock button. 2. Click Install/Deinstall Products. Before the Welcome to the Oracle Universal Installer dialog box opens, Oracle will check your system for the necessary requirements and you will see the following screen.
  • 2. 3. When the Welcome to the Oracle Database 10g Installation page appears, accept the default Basic Installation option and the Oracle Home Location: C:oracleproduct10.1.0Db_1 path. 4. Select the Installation Type Personal Edition, Standard Edition, or Enterprise Edition as directed by your instructor. 5. Accept the default Create Starter Database option and the default Global Database Name: orcl 6. Choose a password for your database. This password is used to login to the database as the SYS, SYSTEM, SYSMAN, or DBSNMP user. Type the password you chose in the Database Password and Confirm Password text boxes. Please be sure to write this password down as you’ll need it to login to the database. NOTE: The following restrictions apply to passwords: • Passwords must be between 4 and 30 characters long. • Passwords cannot be the same as the user name. • Passwords must be from the database character set and can include the underscore (_), dollar ($), and pound sign (#) characters. • Passwords cannot be Oracle reserved words.
  • 3. 7. Click Next. NOTE: The Product Registration page appears. On this page, you are prompted to enter a product registration key. Click the Register button to register your Oracle software with the Oracle Technology Network (OTN) before beginning the installation process. You will be prompted for information about the book that your Oracle CD came with. You will need to know the book title, ISBN, and publisher. HELP: If you have not already obtained an OTN user_id and password you will need to do that to continue the software registration process. There is no charge to become a member of OTN. TIP: If an Error dialog box appears that says: Thrown when the IP address of a host cannot be determined, click the Continue button to use the default value and go on. This may happen several times. 8. The Preparing to Install window appears for a few moments. 9. On the Summary page, click Install. The Install page appears. The installation process will take several minutes. 10. When the Database Configuration Assistant page appears, click the Password Management button to unlock the Scott user. Scroll to the Scott user and uncheck the Lock Account? box. The default password for Scott is tiger, click OK, and then click OK close the Database Configuration Assistant. 11. When the End of Installation page displays and confirms that the installation was successful, click Exit, and then click Yes to confirm exiting. You're now done with basic installation! Using SQL*Plus to Create a New User Please Note: In this example we create a user account with DBA privileges, having user name as user123 and password as abc123. 1. Start SQL*Plus and log in to your system account: • Click Start on the Windows taskbar, point to Programs or All Programs, point to Oracle – OraDb10g_home1, point to Application Development, and then click SQL Plus. The Log On dialog box opens and requests your user name, password, and host string. • Type system in the User Name field, type the password you specified during installation (in step 6 of the installation process described above), leave the Host String field blank, then click OK. The SQL*Plus program window opens, and the SQL prompt appears.
  • 4. 2. Type the following script in Notepad and copy, paste, and execute it in SQL*Plus: create user user123 identified by abc123 default tablespace users temporary tablespace temp quota unlimited on users; grant connect , resource to user123; grant dba to user123; 3. Exit SQL*Plus using File > Exit from the menu or by typing quit ******************** Using Enterprise Manager to Create a New User Please Note: In this example we create a user account with DBA privileges, having user name as user123 and password as abc123. To use the database for user data and for day-to-day tasks such as doing your homework, you should create one or two user accounts and then login as one of these users to do the work. A user account is identified by a user name and password and is associated with an area in the database. 1. Login to the Enterprise Manager as a DBA. Start Oracle Enterprise Manager in a web browser (FireFox or IE): http://localhost:1158/em (Before starting EM, be sure that the following services have been started: OracleService, OracleDBConsole, and OracleTNSListener. You can check for the services that are started/running by going to Start> Control Panel> Administrative Tools> Services) 2. On the Oracle Enterprise Manager Database Control Login page, type SYSMAN as the User Name, enter the password you specified in step 6 during installation, select Normal from "Connect As" drop-down list and then click Login. (Alternatively, you may login by typing SYS, your password, and selecting SYSDBA.) TIP: If you are not on the Oracle Enterprise Manager Database Control Login page, then open a Web Browser and type the following URL: http://localhost:1158/em 3. If the Oracle Database Licensing Information 10g page appears, read the page and scroll to the bottom and then click I Agree. This page appears the first time a new user logs in to the Oracle Enterprise Manager Database Control application. 4. The Oracle Enterprise Manager Database Control Home page will appear. To create a new user for the Oracle database: orcl, click the Administration link. 5. Under the Security heading click the Users link. 6. On the Oracle Enterprise Manager Database Control Users page, click the Create button located on the right hand side of the page.
  • 5. 7. Type user123 in the Name field, abc123 in the Enter Password field, and abc123 once again in the Confirm Password field. 8. Type USERS in the Default Tablespace field and Temp in the Temporary Tablespace field. 9. Click the Roles link, click the Modify button, select DBA in the Available Roles list, and then click the move arrow so that DBA appears in the Selected Roles list. 10. Click OK on the Modify Roles page, and then click OK on the Create User page. A message confirms that the object was successfully created. 11. Click the Logout link at the bottom of the page. 12. Close the Oracle Enterprise Manager 10g Database Control web page by clicking the X icon in the upper right corner of the web page. ******************** To Login as the User that You Created in the Above Examples Please Note: In this example you’ll login as user123 with the password abc123 • Click Start on the Windows taskbar, point to Programs or All Programs, point to Oracle – OraDb10g_home1, point to Application Development, and then click SQL Plus. The Log On dialog box opens and requests your user name, password, and host string. • Type user123 in the User Name field, type abc123 in the Password field, leave the Host String field blank, click OK. The SQL*Plus program window opens, and the SQL prompt appears. ******************** Starting and Stopping Database Services After you install Oracle 10g (or 11g) on your computer, you’ll see four Oracle services running. These services automatically start when you start your computer, and consume a good amount of the computer’s memory and slow it down. It’s a good idea to have these services set to manual mode, stop them when you’re not using Oracle, and restart them before using Oracle. Here’s what you should do: • Start > Control Panel > Administrative Tools > Services • The services are listed alphabetically in the Services window. For each Oracle service, open the Properties window by right-clicking, change the Startup Type to Manual and stop the service. You can restart a service when needed by right-clicking and selecting Start. • The following services are needed for various client tools: o For SQL*Plus: OracleService… (… = database name, such as ORCL) o For Oracle SQL Developer: OracleService + Oracle…TNSListener o For Enterprise Manager: OracleService + Oracle…TNSListener + OracleDBConsole...