Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle [email protected] ...

45
Rajeev Kumar Jha, Domain Head Oracle [email protected] http://rajeevjhaoracle.wordpress.com Page 1 Installing Oracle Database Software 12c and Creating a Database Overview Installing Oracle Database Software There are two types of Oracle Database installations: basic (also known as typical) and advanced. Choose the typical installation to quickly install the software with minimal input. The advanced installation enables you to perform a custom installation. Please note that the values displayed in the screenshots may vary from your installation values due to differences in disk space and memory. Basic (Typical) Installation Log on to your computer as a member of the administrative group that is authorized to install Oracle Database software and create a database. If you are installing from distribution media, insert the distribution media for Oracle Database into your computer. The Autorun feature opens the Select a Product to install window automatically. If you have downloaded the installation software from the Oracle Web site, follow the instructions on the site to invoke the Oracle Universal Installer.

Transcript of Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle [email protected] ...

Page 1: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 1

Installing Oracle Database Software 12c and Creating a Database

Overview

Installing Oracle Database Software

There are two types of Oracle Database installations: basic (also known as typical) and advanced. Choose the typical installation to quickly install the software with minimal input. The advanced installation enables you to perform a custom installation.

Please note that the values displayed in the screenshots may vary from your installation values due to differences in disk space and memory.

Basic (Typical) Installation

Log on to your computer as a member of the administrative group that is authorized to install Oracle Database software and create a database.

If you are installing from distribution media, insert the distribution media for Oracle Database into your computer. The Autorun feature opens the Select a Product to install window automatically. If you have downloaded the installation software from the Oracle Web site, follow the instructions on the site to invoke the Oracle Universal Installer.

Page 2: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 2

The Configure Security Updates window appears. Enter your email address and My Oracle Support password to receive security issue notifications via email. If you do not wish to receive notifications via email, deselect "I wish to receive security updates via My Oracle Support".

Click Next to continue. Click "Yes" in the confirmation window.

Page 3: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 3

The Download Software Updates window appears. Select "Use My Oracle Support credentials for download" to download and apply the latest software updates. Select "Use pre-downloaded software updates" to apply software updates that you previously downloaded. Select "Skip software updates" if do not want to apply any updates.

Click Next to continue.

Page 4: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 4

The Select Installation Option window appears. Select "Create and configure a database."

Click Next.

Page 5: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 5

The System Class window appears. Select Desktop Class or Server Class depending on the type of system you are using. In this scenario, we have chosen Server Class. If you choose Desktop Class, the windows that appear may vary slightly from what is shown in this example.

Click Next.

Page 6: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 6

The Grid Installation Options window appears. Select "Single instance database installation."

Click Next.

Page 7: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 7

The Select Install Type window appears. Select "Typical install."

Click Next.

Page 8: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 8

The Typical Install Configuration window appears. In the "Administrative password" field, specify the password to be used for the SYS, SYSTEM, SYSMAN, and DBSNMP accounts. (A warning is displayed if the password does not meet oracle password standards) De-select Create as Container Database.

Click Next.

Page 9: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 9

Page 10: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 10

The prerequisite checks are performed and a Summary window appears. Review the settings and click Install.

Page 11: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 11

The progress window appears.

Page 12: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 12

The Database Configuration Assistant creates the database.

Page 13: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 13

After the Database Configuration Assistant creates the database, you can click "Password Management" to unlock accounts. You can also unlock these accounts after the installation process completes.

Click OK to continue.

Page 14: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 14

The Finish window appears indicating the installation of Oracle Database software and creation of the database was successful.

Click Close to exit the Oracle Universal Installer.

Page 15: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 15

Congratulation you database is now ready to use.

Now login to your database using command prompt.

Page 16: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 16

Find the OEM screen of database. Here you will surprise lots of feature removed which

was available in database console in Oracle 11g. I am disappointed with database

express 12c console.

Use your user name and password.

Page 17: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 17

You will get below similar screen.

Page 18: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 18

Page 19: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 19

Creating an Oracle Database

If you chose to install the Oracle Database software only and did not create a database, or if you want to create additional databases, you can do so by using the Database Configuration Assistant (DBCA). DBCA offers two modes: typical and advanced. If you choose Advanced Mode, you can customize storage locations, initialization parameters, management options, database options, and different passwords for administrator user accounts.

Note: If you created a database as part of the Basic (Typical) Installation or Advanced Installation, you do not need to perform the tasks in this topic.

Typical Mode

Log on to your computer as a member of the administrative group that is authorized to install Oracle Database software and create a database.

Invoke DBCA as appropriate to your operating system.

Page 20: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 20

The Database Operation window appears. Select Create Database.

Click Next.

Page 21: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 21

The Creation Mode window appears. Ensure that Create a database with default configuration is selected. Enter a value in the Global Database Name field. Select File System in the Storage Type menu. Accept the default values for Database Files

Location and Fast Recovery Area. Enter a password for the SYS and SYSTEM users in

the Administrative Password and Confirm Password fields.

Click Next.

Page 22: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 22

The Summary window appears. Review the information.

Click Finish.

Page 23: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 23

The Progress Page window appears.

Page 24: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 24

The Database Configuration Assistant window appears indicating that the database has been successfully created. You can click Password Management to unlock the user accounts or you can perform this task at a later time.

Click Exit to close the window.

Page 25: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 25

The Progress Page window reappears indicating that the database creation is complete. Click Close to close the window and exit DBCA.

Page 26: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 26

Advanced Mode

Log on to your computer as a member of the administrative group that is authorized to install Oracle Database software and create a database.

Invoke DBCA as appropriate to your operating system.

The Database Operation window appears. Select Create Database. Click Next.

Page 27: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 27

The Creation Mode window appears. Select Advanced Mode.

Click Next.

Page 28: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 28

The Database Template window appears. Select "General Purpose or Transaction Processing."

Click Next.

Page 29: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 29

The Database Identification window appears. Enter a value in the Global Database Name field.

Click Next.

Page 30: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 30

The Management Options window appears. Accept the defaults and click Next.

Page 31: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 31

The Database Credentials window appears. Select "Use the Same Administrative Password for All Accounts." Enter your password in the Password and Confirm Password fields.

Click Next.

Page 32: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 32

The Network Configuration window appears. This page is displayed only if there are any listeners in the current home.

Click Next.

Page 33: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 33

The Storage Locations window appears. In the Database Files region, select File System in the Storage Type menu. Select "Use Database File Locations from Template." In the Recovery Related Files regions, select File System in the Storage Type menu. Accept the default value for the Fast Recovery Area.

Click Next.

Page 34: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 34

The Database Options window appears. On the Sample Schemas tab, select Sample Schemas. Click the "Database Vault & Label Security" tab.

Page 35: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 35

View the selections on the "Database Vault & Label Security" tab. Select Configure Database Vault and/or Configure Label Security if appropriate for your installation.

Click Next.

Page 36: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 36

The Initialization Parameters window appears. Accept the default value of Typical Settings and Use Automatic Memory Management. Modify the value in Memory Size if necessary for your installation.

Click the Sizing tab.

Page 37: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 37

On the Sizing tab accept the default value in the Processes field or change it as appropriate for your installation. Click the Character Sets tab.

Page 38: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 38

On the Character Sets tab accept the default of "Use the default" or change it as appropriate for your installation.

Page 39: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 39

Click the Connection Mode tab.

Page 40: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 40

On the Connection Mode tab accept the default of Dedicated Server Mode.

Click Next.

The Creation Options window appears. Review the details and click Next.

Page 41: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 41

Page 42: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 42

The Summary window appears. Review the configuration summary information.

Click Finish.

The Progress Page window appears.

Page 43: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 43

Page 44: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 44

The Database Configuration Assistant window appears indicating the database has been created. Select Password Management to unlock the user accounts or perform this task at a later time.

Click Exit.

Page 45: Rajeev Kumar Jha, Domain Head Oracle...Rajeev Kumar Jha, Domain Head Oracle spirosoft@gmail.com  Page 1 Installing Oracle Database Software 12c and Creating a Database ...

Rajeev Kumar Jha, Domain Head Oracle

[email protected] http://rajeevjhaoracle.wordpress.com Page 45

The Progress Page window reappears indicating that the database creation is complete. Click Close to close the window and exit DBCA.

In this tutorial, you have learned how to:

o Install Oracle Database software and create a database by using the Oracle

Universal Installer (OUI)

o Create a database by using the Database Configuration Assistant (DBCA)