Vous êtes sur la page 1sur 28

2/5/2018 Installing Oracle Database 10<em>g</em> on Windows

Installing Oracle Database 10g on Windows

Purpose

In this tutorial, you learn how to install Oracle Database 10g on Windows.

Topics

This tutorial covers the following topics:

Overview
Installing Oracle Database 10g on Windows
Post Installation Tasks
Testing Your Installation
Summary

Viewing Screenshots

Place the cursor over this icon to load and view all the screenshots for this tutorial. (Caution: This action loads all screenshots
simultaneously, so response time may be slow depending on your Internet connection.)

Note: Alternatively, you can place the cursor over an individual icon in the following steps to load and view only the screenshot associated with that
step. You can hide an individual screenshot by clicking it.

Overview

Using the Oracle Universal Installer, you install the Oracle Database 10g software and create a database.

Back to Topic List

Installing Oracle Database 10g on Windows

To install the Oracle software, you must use the Oracle Universal installer.

1. For this installation you need either the DVDs or a downloaded version of the DVDs. In this tutorial, you install from the
downloaded version. From the directory where the DVD files were unzipped, double-click setup.exe.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/prod/install/wininst/wininst_otn.htm 1/28
2/5/2018 Installing Oracle Database 10<em>g</em> on Windows

2. The Oracle Universal Installer starts.

3. You will perform a basic installation with a starter database. Enter orclfor the Global Database Name and oraclefor the
Database Password and Confirm Password. Then click Next.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/prod/install/wininst/wininst_otn.htm 2/28
2/5/2018 Installing Oracle Database 10<em>g</em> on Windows

4. The installer now verifies that the system meets all the minimum requirements for installing and configuring the chosen
product. Please correct any reported errors (warnings are OK) before continuing. When the check successfully completes
(with or without warnings), click Next.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/prod/install/wininst/wininst_otn.htm 3/28
2/5/2018 Installing Oracle Database 10<em>g</em> on Windows

5. If you received any warnings, you can proceed. Click Yes.

6. Review the Summary window to verify what is to be installed. Then, click Install.

7. The progress window appears.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/prod/install/wininst/wininst_otn.htm 4/28
2/5/2018 Installing Oracle Database 10<em>g</em> on Windows

8. The Configuration Assistants window appears.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/prod/install/wininst/wininst_otn.htm 5/28
2/5/2018 Installing Oracle Database 10<em>g</em> on Windows

9. Your database is now being created.

10. When the database has been created, you can unlock the users you want to use. Click Password Management.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/prod/install/wininst/wininst_otn.htm 6/28
2/5/2018 Installing Oracle Database 10<em>g</em> on Windows

11. Unlock SH, OE and HR users by clicking on the check mark in the Lock Account? column. Enter the same name as the
user in the New Password and Confirm Password fields. For example, to unlock SH user, enter SHin the New
Password and Confirm Password fields. Then, click OK.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/prod/install/wininst/wininst_otn.htm 7/28
2/5/2018 Installing Oracle Database 10<em>g</em> on Windows

12. Click OK again.

13. Click Exit.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/prod/install/wininst/wininst_otn.htm 8/28
2/5/2018 Installing Oracle Database 10<em>g</em> on Windows

14. Click Yes to confirm exit.

Back to Topic List

Post Installation Tasks

For additional functionality within DB Control, functionality such as starting and stopping the database, an operating system user must belong to the
ORA_DBA group. An existing user can be used or a new user can be created. This topic shows you how to create the operating system user oracle
and make the user part of the ORA_DBA group:

Note: The following steps outlined were done in a Windows XP environment. The steps will be slightly different in a Windows NT or 2000
environment.

1. Click Start > Settings > Control Panel. Select Administrative Tools.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/prod/install/wininst/wininst_otn.htm 9/28
2/5/2018 Installing Oracle Database 10<em>g</em> on Windows

2. Select Computer Management.

3. Select Local Users and Groups.


http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/prod/install/wininst/wininst_otn.htm 10/28
2/5/2018 Installing Oracle Database 10<em>g</em> on Windows
3. Select Local Users and Groups.

4. In the right hand panel, right click Users. Select New User ...

http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/prod/install/wininst/wininst_otn.htm 11/28
2/5/2018 Installing Oracle Database 10<em>g</em> on Windows

5. In the New User window enter:

User name: oracle


Description: Oracle Administration User

Password: <a secure password>


Confirm: <a secure password>

For this example the password oracleis used.

Deselect User must change password at next logon

Click Create.

6. Another New User window appears. Click Close to close the window.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/prod/install/wininst/wininst_otn.htm 12/28
2/5/2018 Installing Oracle Database 10<em>g</em> on Windows

7. Double-click Groups.

8. Double click ora_dba.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/prod/install/wininst/wininst_otn.htm 13/28
2/5/2018 Installing Oracle Database 10<em>g</em> on Windows

9. In the ora_dba Properties screen, click Add.

10. In the Select Users screen, click Advanced.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/prod/install/wininst/wininst_otn.htm 14/28
2/5/2018 Installing Oracle Database 10<em>g</em> on Windows

11. Click Find Now.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/prod/install/wininst/wininst_otn.htm 15/28
2/5/2018 Installing Oracle Database 10<em>g</em> on Windows

12. Shift-select BATCH and the oracle user from the list at the bottom of the window. Then click OK.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/prod/install/wininst/wininst_otn.htm 16/28
2/5/2018 Installing Oracle Database 10<em>g</em> on Windows

13. Click OK.

14. Click OK.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/prod/install/wininst/wininst_otn.htm 17/28
2/5/2018 Installing Oracle Database 10<em>g</em> on Windows

15. Close the Computer Management window.

16. You also need to add the oracle to the Security Policy Log on as a batch job. Double-click on Local Security Policy.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/prod/install/wininst/wininst_otn.htm 18/28
2/5/2018 Installing Oracle Database 10<em>g</em> on Windows

17. Double-click on Log on as a batch job.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/prod/install/wininst/wininst_otn.htm 19/28
2/5/2018 Installing Oracle Database 10<em>g</em> on Windows

18. Click Add User or Group ...

http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/prod/install/wininst/wininst_otn.htm 20/28
2/5/2018 Installing Oracle Database 10<em>g</em> on Windows

19. Click Advanced...

20. Click Find Now.


http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/prod/install/wininst/wininst_otn.htm 21/28
2/5/2018 Installing Oracle Database 10<em>g</em> on Windows

21. Select oracle from the list and click OK.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/prod/install/wininst/wininst_otn.htm 22/28
2/5/2018 Installing Oracle Database 10<em>g</em> on Windows

22. Click OK.

23. Click OK again.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/prod/install/wininst/wininst_otn.htm 23/28
2/5/2018 Installing Oracle Database 10<em>g</em> on Windows

24. Close the Local Security Policy window.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/prod/install/wininst/wininst_otn.htm 24/28
2/5/2018 Installing Oracle Database 10<em>g</em> on Windows

25. Close the Administrative Tools window.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/prod/install/wininst/wininst_otn.htm 25/28
2/5/2018 Installing Oracle Database 10<em>g</em> on Windows

Back to Topic List

Testing Your Installation

To test that your installation completed successfully, perform the following:

1. When you click exit from the previous section, a browser opens and the Database Control URL is already launched. If this does not happen, open a
browser and enter the following URL:

http://<hostname>:1158/em

Enter systemas the User Name and oracleas the Password and click Login.

2. The Licensing window appears. Scroll to the bottom and click I agree.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/prod/install/wininst/wininst_otn.htm 26/28
2/5/2018 Installing Oracle Database 10<em>g</em> on Windows
2. The Licensing window appears. Scroll to the bottom and click I agree.

3. The Database Control Home Page appears. Your Installation was successful.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/prod/install/wininst/wininst_otn.htm 27/28
2/5/2018 Installing Oracle Database 10<em>g</em> on Windows

Back to Topic List

Summary

In this tutorial, you learned how to install and test the Oracle Database 10g installation on windows.

Back to Topic List

Move your mouse over this icon to hide all screenshots.

http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/10g/r2/prod/install/wininst/wininst_otn.htm 28/28

Vous aimerez peut-être aussi