Installing Oracle Database Software and Creating a Database
Overview
- Minimum of 1 GB of physical memory
- Sufficient paging space
- Installation of appropriate service packs and/or patches
- Use of appropriate file system format
- Have access to the Oracle Database distribution media or have downloaded the software from the Oracle web site
- Have general knowledge of product installation
Purpose
This tutorial shows you how to use the Oracle Universal Installer (OUI) to install Oracle Database software and create a database. You will also learn how you can use the Database Configuration Assistant (DBCA) to create additional databases.
Time to Complete
Approximately 1 hour
Introduction
The Oracle Universal Installer (OUI) is used to install Oracle Database software. OUI is a graphical user interface utility that enables you to view the Oracle software that is installed on your machine, install new Oracle Database software, and delete Oracle software that you no longer need to use. Online Help is available to guide you through the installation process. One of the installation options is to create a database. If you select database creation, OUI automatically starts Oracle Database Configuration Assistant (DBCA) to guide you through the process of creating and configuring a database. If you do not create a database during installation, you must invoke DBCA after you have installed the software to create a database. You can also use DBCA to create additional databases.
Hardware and Software Requirements
Before installing the software, OUI performs several automated checks to ensure that your computer fulfills the basic hardware and software requirements for an Oracle Database installation. If your computer does not meet a requirement, then an error message is displayed. The requirements may vary depending upon the type of computer and operating system you are using, but include the following:
Refer to the Oracle Database Installation Guide for your platform for more information about specific requirements.
Prerequisites
Before starting this tutorial, you should:
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 are downloading the installation software from the Oracle Web site, follow the instructions on the site to invoke the Oracle Universal Installer.
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" and click "Yes" in the confirmation window. Click Next to continue.
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.
The Select Installation Option window appears. Select "Create and configure a database." Click Next.
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.
The Grid Installation Options window appears. Select "Single instance database installation." Click Next.
The Select Install Type window appears. Select "Typical install." Click Next.
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. De-select Create as Container Database. Click Next.
The Create Inventory window appears. Accept the defaults and click Next.
The Summary window appears. Review the settings and click Install.
The progress window appears.
The Execute Configuration Scripts window appears.
Open a terminal window and log in as the root user. Execute the scripts as instructed. Close your terminal window.
After executing the scripts in your terminal window, return to the Execute Configuration scripts window and click OK.
The Database Configuration Assistant creates the database.
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.
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.
Advanced 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 are downloading the installation software from the Oracle Web site, follow the instructions on the site to invoke the Oracle Universal Installer.
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" and click "Yes" in the confirmation window. Click Next to continue.
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 you do not want to apply any updates. Click Next to continue.
The Select Installation Option window appears. Select "Create and configure a database." Click Next.
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.
The Grid Installation Options window appears. Select "Single instance database installation." Click Next.
The Select Install Type window appears. Select "Advanced install." Click Next.
The Select Product Languages window appears. Accept the default of English or select another language as appropriate. Click Next.
The Select Database Edition window appears. Select Enterprise Edition. Click Next.
The Specify Installation Location window appears. Accept the default values or change as appropriate to your installation. Click Next.
The Create Inventory window appears. Accept the default values. Click Next.
The Select Configuration Type window appears. Select "General Purpose/Transaction Processing." Click Next.
The Specify Database Identifiers window appears. Accept the default values or change as necessary for your installation. De-select the Create as Container Database option. Click Next.
The Specify Configuration Options window appears. Select the "Enable Automatic Memory Management" option on the Memory tab. Click the "Character sets" tab.
On the "Character sets" tab accept the default of "Use the default." Click the Sample Schemas tab.
On the Sample Schemas tab, select "Create database with sample schemas." Click Next.
The Specify Database Storage Options window appears. Accept the default of File System. Click Next.
The Specify Management Options window appears. Click Next.
The Specify Recovery Options window appears. Select "Enable Recovery." Click Next.
The Specify Schema Passwords window appears. Specify separate passwords for the SYS, SYSTEM, and DBSNMP users or select "Use the same password for all accounts." Enter the password(s) in the Password and "Confirm password" fields. Click Next.
The Privileged Operating System Groups window appears. Select the appropriate operating system groups for each group. Click Next.
The Perform Prerequisite Checks window appears. After the prerequisite checks complete, the Installer advances to the next window.
The Summary window appears. Review the settings. Click Install to install the Oracle Database software and create the database.
The Install Product window appears.
The "Execute Configuration scripts" window appears.
Open a terminal window and log in as the root user. Execute the scripts as instructed. Close the terminal window once you have executed both scripts.
After executing the scripts in the terminal window, return to the "Execute Configuration scripts" window. Click OK to continue.
The Database Configuration Assistant window appears.
After the Database Configuration Assistant completes, a window appears providing database information. You can click Password Management to view and unlock the accounts. You can also unlock them at a later time. Click OK to proceed.
The Finish window appears indicating that the installation of Oracle Database was successful. Click Close to end the Oracle Universal Installer.
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.
The Database Operation window appears. Select Create Database. Click Next.
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.
The Summary window appears. Review the information. Click Finish.
The Progress Page window appears.
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.
The Progress Page window reappears indicating that the database creation is complete. Click Close to close the window and exit DBCA.
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.
The Creation Mode window appears. Select Advanced Mode. Click Next.
The Database Template window appears. Select "General Purpose or Transaction Processing." Click Next.
The Database Identification window appears. Enter a value in the Global Database Name field. Click Next.
The Management Options window appears. Accept the defaults and click Next.
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.
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.
The Database Options window appears. On the Sample Schemas tab, select Sample Schemas. Click the "Database Vault & Label Security" tab.
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.
The Initialization Parameters window appears. Accept the default value of Typical and select Use Automatic Memory Management. Modify the value in Memory Size if necessary for your installation . Click the Sizing tab.
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.
On the Character Sets tab accept the default of "Use the default" or change it as appropriate for your installation. Click the Connection Mode tab.
On the Connection Mode tab accept the default of Dedicated Server Mode. Click Next.
The Creation Options window appears. Select Create Database. Click Next.
The Summary window appears. Review the configuration summary information. Click Finish.
The Progress Page window appears.
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.
The Progress Page window reappears indicating that the database creation is complete. Click Close to close the window and exit DBCA.
Summary
- Install Oracle Database software and create a database by using the Oracle Universal Installer (OUI)
- Create a database by using the Database Configuration Assistant (DBCA)
- Oracle® Database 2 Day DBA 12c Release 1 (12.1)
- Lead Curriculum Developer: Donna Keesling
- Other Contributors: Bert Rich
In this tutorial, you have learned how to:
Resources
Credits
To help navigate this Oracle by Example, note the following:
- Hiding Header Buttons:
- Click the Title to hide the buttons in the header. To show the buttons again, simply click the Title again.
- Topic List Button:
- A list of all the topics. Click one of the topics to navigate to that section.
- Expand/Collapse All Topics:
- To show/hide all the detail for all the sections. By default, all topics are collapsed
- Show/Hide All Images:
- To show/hide all the screenshots. By default, all images are displayed.
- Print:
- To print the content. The content currently displayed or hidden will be printed.
To navigate to a particular section in this tutorial, select the topic from the list.