Professional Documents
Culture Documents
Page 1 of 66
Time to Complete
Approximately 2 hours
Topics
This tutorial covers the following topics: Prerequisites Installing the Software Using the Oracle Universal Installer (OUI) Using the Database Configuration Assistant (DBCA) to Create a Database 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.
Prerequisites
Before you perform this tutorial, you should: 1. 2. General computer knowledge. Familiarity with basic product installs. Back to Topic List
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 2 of 66
(Note: The Sample Schemas are not installed by default using the Basic Installation option): 1. Log onto you computer as a member of the administrative group that is authorized to install Oracle software and create and run the database.
2.
Insert the distribution CD for the database into your CD drive. The Autorun window will appear automatically. Note: If you are downloading from Oracles download site, follow the instructions given on the Web site.
3.
At the Configure Security Updates window, enter your e-mail address and Oracle Support password and click Next. If you choose to not supply your email address and Oracle Support password, uncheck the check box, leave both text boxes empty, then click Next. When prompted, click Yes.
4.
At the Installation Option window, select Create and configure a database and click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 3 of 66
5.
At the System Class window, select Server Class and click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 4 of 66
6.
At the Grid Options window, select Single instance database installation and click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 5 of 66
7.
At the Install Type window, select Typical install and click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 6 of 66
8.
At the Typical Installation window, enter an Administrative Password. Enter it a second time to confirm the password and click Next. Note that the password is evaluated to make sure that it conforms to Oracle recommended standards. If it is not, you will receive an error window asking if you would like to proceed.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 7 of 66
9.
At the Create Inventory window, accept the defaults and click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 8 of 66
10. At the Prerequisite Checks window, you see a list of issues that were not met. Issues which can be resolved by the OUI are listed with Yes in the Fixable column. To allow the OUI to generate a script to fix the fixable issues, click Fix and Check Again.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 9 of 66
11. The Execute Fixup Scripts window will appear, providing instructions.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 10 of 66
12. Open a terminal. Change to the OS user root. Then execute the script. su - root /tmp/CVU_11.2.0.0.2_oracle/runfixup.sh
13. Return to the Execute Fixup Scripts window and click OK.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 11 of 66
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 12 of 66
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 13 of 66
16. After the software is installed, the Database Configuration Assistant will begin and create your database.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 14 of 66
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 15 of 66
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 16 of 66
19. Open a terminal window and execute the following commands: su <root password> /u01/app/oraInventory/orainstRoot.sh /u01/app/oracle/product/11.2.0/dbhome_1/root.sh
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 17 of 66
20. Return to the Execute Configuration Script window and click OK.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 18 of 66
21. Your installation and database creation completed successfully. click Close.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 19 of 66
Back to Topic Advanced Installation Follow the steps below to install the Oracle software and create a database using the advanced installation method. Note: If you performed the Basic Installation steps, you do not need to complete this section. 1. Log onto you computer as a member of the administrative group that is authorized to install Oracle software and create and run the database.
2.
Insert the distribution CD for the database into your CD drive. The Autorun window will appear automatically. Note: If you are downloading from Oracles download site, follow the instructions given on the Web site.
3.
At the Configure Security Updates window, enter your e-mail address and Oracle Support password and click Next. If you choose to not supply your email address and Oracle Support password, uncheck the check box, leave both text boxes empty, then click Next. When prompted, click Yes.
4.
At the Installation Option window, select Create and configure a database and click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 20 of 66
5.
At the System Class window, select Server Class and click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 21 of 66
6.
At the Grid Options window, select Single instance database installation and click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 22 of 66
7.
At the Install Type window, select Advanced install and click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 23 of 66
8.
At the Product Languages window, select the Move All button to select all the languages.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 24 of 66
9.
Click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 25 of 66
10. At the Database Edition window, make sure that Enterprise Edition is selected and click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 26 of 66
11. At the Installation Location window, accept the defaults and click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 27 of 66
12. At the Create Inventory window, accept the defaults and click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 28 of 66
13. At the Configuration Type window, make sure the type of database is set to General Purpose / Transaction Processing and click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 29 of 66
14. At the Database Identifier window, accept the defaults and click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 30 of 66
15. At the Configuration Options window, for the memory tab, you will accept the defaults. Click the Character sets tab.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 31 of 66
16. Change the setting to Use Unicode (AL32UTF8) and click the Security tab.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 32 of 66
17. Accept the default and click the Sample Schema tab.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 33 of 66
18. Select the Create database with sample schema check box and click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 34 of 66
19. At the Management Options window, accept the defaults and click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 35 of 66
20. At the Database Storage window, accept the defaults and click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 36 of 66
21. At the Backup and Recovery window, accept the defaults and click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 37 of 66
22. At the Schema Passwords window, select Use the same password for all accounts and enter an Oracle Recommended password and confirm password and click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 38 of 66
23. At the Operating System Groups window, accept the defaults and click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 39 of 66
24. At the Prerequisite Checks window, you see a list of issues that were not met. Issues which can be resolved by the OUI are listed with Yes in the Fixable column. To allow the OUI to generate a script to fix the fixable issues, click Fix and Check Again.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 40 of 66
25. The Execute Fixup Scripts window will appear, providing instructions.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 41 of 66
26. Open a terminal. Change to the OS user root. Then execute the script. su - root /tmp/CVU_11.2.0.0.2_oracle/runfixup.sh
27. Return to the Execute Fixup Scripts window and click OK.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 42 of 66
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 43 of 66
30. After the software is installed, the Database Configuration Assistant will begin and create your database.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 44 of 66
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 45 of 66
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 46 of 66
33. Open a terminal window and execute the following commands: su <root password> /u01/app/oraInventory/orainstRoot.sh /u01/app/oracle/product/11.2.0/dbhome_1/root.sh
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 47 of 66
34. Return to the Execute Configuration Script window and click OK.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 48 of 66
35. Your installation and database creation completed successfully. click Close.
Back to Topic
2.
Launch the DBCA on a Linux or UNIX operating system by entering the following at a command prompt: dbca
3.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 49 of 66
4.
Select Create a Database in the Operations window to begin a process that enables you to configure and create a database. Click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 50 of 66
5.
On the Database Templates window, select the type of database template to be used in creating the database. You can click Show Details to see the configuration for each type of database. Choose the template suited to the type of workload your database will support. If you are not sure, select the default General Purpose or Transaction Processing template. Click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 51 of 66
6.
On the Database Identification window, enter a Global Database Name and SID. Click Next. Note: If you created a database as part of your installation of the Oracle software and you are creating a second database with DBCA, you must choose a different global database name and SID for your second database.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 52 of 66
7.
The Management Options window appears. To use Enterprise Manager, select Configure Enterprise Manager. Select Configure Database Control for local management to manage your database locally as appropriate to your configuration. Click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 53 of 66
8.
On the Database Credentials window, you can choose to use different administrative passwords or use the same password for all accounts. Select one of the options and enter your password data. Click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 54 of 66
9.
For storage options, select File System, Automatic Storage Management, or Raw Devices as appropriate to your environment. Click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 55 of 66
10. Select Specify Flash Recovery Area and enter a directory location and size. You may also choose to Enable Archiving to place your database in ARCHIVELOG mode. Click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 56 of 66
11. Select Sample Schemas if you want to include the Sample Schemas (EXAMPLE) tablespace in your database. Click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 57 of 66
12. The Memory window appears. Select Typical and enter a Memory Size (SGA and PGA). Click the Sizing tab.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 58 of 66
13. The Sizing window appears. Specify the smallest block size and the maximum number of operating system user processes that can simultaneously connect to the database. Note: You cannot specify the block size if you are using a template. Click the Character Sets tab.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 59 of 66
14. The Character Sets window appears. Select the character set for your database. Click the Connection Mode tab.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 60 of 66
15. The Connection Mode window appears. Select Dedicated Server Mode or Shared Server Mode as appropriate for your environment. Click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 61 of 66
16. On the Database Storage window, you can specify storage parameters for the database creation. Accept the default values. Click Next.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 62 of 66
17. On the Creation Options window, select Create Database to create your database. You can also select Save as a Database Template to save your configuration. Click Finish.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 63 of 66
18. At the Confirmation window, confirm the options that will be installed and click OK.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 64 of 66
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 65 of 66
After the database is created, you can change or unlock your passwords or click Exit.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012
Page 66 of 66
Summary
In this tutorial, you learned how to: Install the basic version of the database. Install the advanced version of the database including running the Database Configuration Assistant. Create a database using the Database Configuration Assistant. Back to Topic List Place the cursor over this icon to hide all screenshots.
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/2day_dba/install/i...
10/16/2012