Installing Oracle Database Software and Creating a Database
Installing Oracle Database Software and Creating a Database
Overview
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.
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 Datab ase Installation Guide for your platform for more information about specific
requirements.
Prerequisites
Have access to the Oracle Database distribution media or have downloaded the software from the
Oracle web site
Have general knowledge of product installation
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.
2. 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.
3. 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.
4. 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.
5. The Select Installation Option window appears. Select "Create and configure a database." Click
Next.
7. The Grid Installation Options window appears. Select "Single instance database installation."
Click Next.
8. The Select Install Type window appears. Select "Typical install." Click Next.
9. The Typical Install Configuration window appears. In the "Administrative password" field, specify
10. The Create Inventory window appears. Accept the defaults and click Next.
12. The progress window appears and then the Database Configuration Assistant window apears.
15. Open a terminal window and log in as the rootuser. Execute the scripts as instructed. Close
your terminal window.
16. After executing the scripts in your terminal window, return to the Execute Configuration scripts
window and click OK.
17. 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
1. Log on to your computer as a member of the administrative group that is authorized to install
Oracle Database software and create a database.
2. 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.
3. 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.
4. 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.
5. The Select Installation Option window appears. Select "Create and configure a database." Click
Next.
7. The Grid Installation Options window appears. Select "Single instance database installation."
Click Next.
8. The Select Install Type window appears. Select "Advanced install." Click Next.
9. The Select Product Languages window appears. Accept the default of English or select another
10. The Select Database Edition window appears. Select Enterprise Edition. Click Next.
12. The Create Inventory window appears. Accept the default values. Click Next.
13. The Select Configuration Type window appears. Select "General Purpose/Transaction
Processing." Click Next.
15. The Specify Configuration Options window appears. Accept the default of "Enable Automatic
Memory Management" on the Memory tab. Click the "Character sets" tab.
16. On the "Character sets" tab accept the default of "Use the default." Click the Sample Schemas
tab.
18. The Specify Database Storage Options window appears. Accept the default of File System. Click
Next.
19. The Specify Recovery Options window appears. Select "Enable automated backups." Enter the
password for the oracleuser. Click Next.
20. The Specify Schema Passwords window appears. Specify separate passwords for the SYS,
SYSTEM, and DBSNMPusers or select "Use the same password for all accounts." Enter the
password(s) in the Password and "Confirm password" fields. Click Next.
21. The Privileged Operating System Groups window appears. Select the appropriate operating
system groups for each group. Click Next.
23. The Summary window appears. Review the settings. Click Install to install the Oracle Database
software and create the database.
26. 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.
28. Open a terminal window and log in as the rootuser. Execute the scripts as instructed. Close the
terminal window once you have executed both scripts.
29. After executing the scripts in the terminal window, return to the "Execute Configuration scripts"
window. Click OK to continue.
31. The Finish window appears indicating that the installation of Oracle Database was successful.
Click Close to end the Oracle Universal Installer.
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
1. Log on to your computer as a member of the administrative group that is authorized to install
Oracle Database software and create a database.
3. The Database Operation window appears. Select Create Database. Click Next.
4. The Creation Mode window appears. Select Typical Mode. 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 SYSand SYSTEMusers in the
Administrative Password and Confirm Password fields. Click Next.
7. 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.
Advanced Mode
1. Log on to your computer as a member of the administrative group that is authorized to install
Oracle Database software and create a database.
3. The Database Operation window appears. Select Create Database. Click Next.
4. The Creation Mode window appears. Select Advanced Mode. Click Next.
6. The Database Identification window appears. Enter a value in the Global Database Name field.
Click Next.
7. 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.
9. The Database Options window appears. On the Sample Schemas tab, select Sample Schemas.
Click the "Database Vault & Label Security" tab.
10. 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.
12. 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.
13. 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.
14. On the Connection Mode tab accept the default of Dedicated Server Mode. Click Next.
https://stbeehive.oracle.com/content/dav/st/DB12cR1 Curriculum Development/Public Documents/obe/2daydba_ch2install/12cr1db_ch2install.html 39/43
5/17/13 Installing Oracle Database Software and Creating a Database
15. The Creation Options window appears. Select Create Database. Click Next.
16. The Summary window appears. Review the configuration summary information. Click Finish.
https://stbeehive.oracle.com/content/dav/st/DB12cR1 Curriculum Development/Public Documents/obe/2daydba_ch2install/12cr1db_ch2install.html 40/43
5/17/13 Installing Oracle Database Software and Creating a Database
18. The Database Configuration Assistant window appears indicating the database has been
19. 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)
Resources
Credits