This chapter shows you how to use the Oracle Universal Installer (OUI) to install your Oracle database software and create a starter database. You will also learn how you can use the Database Configuration Assistant (DBCA) to create additional databases.
The following topics are discussed:
Installing the Software Using the Oracle Universal Installer (OUI) | |
Using the Database Configuration Assistant (DBCA) to Create a Database |
Move your mouse over this icon to show all screenshots. You can also move your mouse over each individual icon to see only the screenshot associated with it.
You can use the Oracle Universal Installer (OUI) to install your Oracle software . The OUI is a GUI tool that enables you to view the Oracle software that is installed on your machine, install new Oracle software, and delete Oracle software that you no longer intend to use. There are two methods that you can use to install the Oracle software: basic and advanced. Choose the basic installation method to quickly the install the software with minimal user input. The advanced installation method enables you to perform a custom installation.
Basic Installation | ||
Advanced Installation |
Follow the steps below to install the Oracle software and create a database using the basic installation method:
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. Select Install/Deinstall Products. Note: If you are downloading from Oracle’s download site, follow the instructions given on the Web site.
|
3. | The Select Installation Method window appears. Select Basic Installation. Specify the Oracle Home location, Installation Type, and Unix DBA Group appropriate for your environment. Select Create Starter Database and accept the default Global Database Name of orcl or supply another database name appropriate for your environment. Supply the database password of oracle or a password of your choice. Click Next to begin the installation of your software.
|
4. | On UNIX and Linux installations, the Specify Inventory directory and credentials window appears. Enter the full path of the directory in which to install the Oracle software or accept the default. Enter the name of an operating system group that has write permission to the directory. Click Next.
|
5. | The Product-Specific Prerequisites Checks window appears. After all checks are completed, click Next.
|
6. | The Summary window appears containing a list of the products to be installed. Click Install to begin the installation.
|
7. | The Install progress window is displayed.
|
8. | The Configuration Assistants window appears. Allow the assistants to execute. They configure your network, start an Oracle Net Services listener process for connecting to the database, create the database and configure management tools.
|
9. | The Database Configuration Assistant window showing a progress bar for database creation appears.
|
10. | When the database creation is finished, a window containing information about your database appears. Review this list. You may click Password Management if you want to unlock or change passwords for database accounts. Otherwise click OK.
|
11. | The Configuration Assistants window appears again. The Execute Configuration scripts dialog box appears. Open a new terminal window, log in as root, and execute the orainstRoot.sh and root.sh scripts as described in the dialog page. When the scripts finish, return to the Oracle Universal Installer page and click OK.
|
12. | The End of Installation page appears with important information about Web application port numbers. Click Exit to exit. Click Yes. You have now completed the installation of Oracle software and database creation.
|
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. Select Install/Deinstall Products. Note: If you are downloading from Oracle’s download site, follow the instructions given on the Web site.
|
3. |
The Select Installation Method window appears. Select Advanced Installation and click Next to begin the installation of your software.
|
4. |
On UNIX and Linux installations, the Specify Inventory directory and credentials window appears. Enter the full path of the directory in which to install the Oracle software or accept the default. Enter the name of an operating system group that has write permission to the directory. Click Next.
|
5. |
The Select Installation Type window appears. Select Enterprise Edition or Standard Edition as appropriate for your environment. Click Next.
|
6. |
The Specify Home Details window appears. Enter the Oracle home name and directory path in which to install the Oracle software or accept the default. Click Next.
|
7. |
The Oracle Universal Installer will now verify that your system meets all the minimum requirements for installing and configuring the chosen products. Correct any reported issues before continuing. Click Next.
|
8. |
The Select Configuration Option window appears. Select Create a Database and click Next.
|
9. |
The Select Database Configuration window appears. Select the starter database type of General Purpose, Transaction Processing, or Data Warehouse. Click Next.
|
10. |
The Specify Database Configuration Options window appears. Enter the Global Database Name and SID in the Database Naming section. Select the character set in the Database Character Set section. Select Create database with sample schemas to install the Sample schemas. Click Next.
|
11. |
The Select Database Management Option window appears. Select Use Database Control for Database Management. Click Next.
|
12. |
The Specify Database Storage Option window appears. Select File System, Automatic Storage Management, or Raw Devices as appropriate to your environment. Click Next.
|
13. |
The Specify Backup and Recovery Options window appears. Select Do not enable Automated backups to configure your own backup schedule. Click Next.
|
14. |
The Specify Database Schema Passwords window appears. Select Use different passwords for these accounts and enter passwords for the administrative users or select Use the same password for all the accounts and enter the password. Click Next.
|
15. |
The Summary window appears containing a list of the products to be installed. Click Install to begin the installation.
|
16. |
The Install progress window is displayed.
|
17. |
The Configuration Assistants window appears. Allow the assistants to execute. They configure your network, start an Oracle Net Services listener process for connecting to the database, create the database and configure management tools.
|
18. |
The Database Configuration Assistant window showing a progress bar for database creation appears.
|
19. |
When the database creation is finished, a window containing information about your database appears. Review this list. You may click Password Management if you want to unlock or change passwords for database accounts. Otherwise click OK.
|
20. |
The Configure Assistants window reappears and then the Execute Configuration scripts dialog box appears. Open a new terminal window, log in as root, and run the orainstRoot.sh and root.sh scripts as described in the dialog page. When the scripts finish, return to the Oracle Universal Installer window and click OK.
|
21. |
The End of Installation window appears with important information about Web application port numbers. Click Exit to exit.
|
22. | The Exit dialog box appears. Click Yes to exit. You have now completed the installation of Oracle software and database creation.
|
If you choose to install software only and later create a database, or if you want to create additional databases using the software that you just installed, you can do so by using the Database Configuration Assistant (DBCA).
Note: If you created a database as part of the Basic Installation or Advanced Installation, you do not need to complete this section.
Follow the steps below to create a new database or a second database if you created a database as part of the software installation:
1. |
Log onto your computer as a member of the administrative group that is authorized to install Oracle software and create and manage the database.
|
2. |
Launch the DBCA on a Windows operating system as follows: Start > Programs > Oracle - home_name > Configuration and Migration Tools > Database Configuration Assistant Launch the DBCA on a Linux or UNIX operating system by entering the following at a command prompt: dbca
|
3. |
The Welcome window appears. Click Next.
|
4. |
Select Create a Database in the Operations window to begin an interview that enables you to configure and create a database. Click Next.
|
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 template. Click Next.
|
6. |
On the Database Identification window, enter the 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.
|
7. |
The Management Options window appears. To use Enterprise Manager, select Configure the Database with Enterprise Manager. Select Use Database Control for Database Management to manage your database locally or select Use Grid Control for Database Management as appropriate to your configuration. Click Next.
|
8. |
Enter passwords for the administrative users. Click Next.
|
9. |
Select File System, Automatic Storage Management, or Raw Devices as appropriate to your environment. Click Next.
|
10. |
Specify the location for the creation of the datafiles. Choose one of the following:Use Database File Locations from Template, Use Common Location for All Database Files, or Use Oracle-Managed Files. Click Next.
|
11. |
Select Flash Recovery Area and specify a directory location and size. Select Enable Archiving to place your database in ARCHIVELOG mode. Click Next.
|
12. |
Click the Sample Schemas tab. Select Sample Schemas if you want to include the Sample Schemas (EXAMPLE) tablespace in your database. Click Next.
|
13. |
The Memory window appears. Select Typical and enter a percentage value. Click the Sizing tab.
|
14. |
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.
|
15. |
The Character Sets window appears. Select the character set for your database. Click the Connection Mode tab.
|
16. |
The Connection Mode window appears. Select Dedicated Server or Shared Server as appropriate for your environment. Click Next.
|
17. |
The Database Storage window appears. Accept the configuration or make changes as needed. Click Next.
|
18. |
Select Create Database to create your database. You can also select Save as a Database Template to save your configuration. Click Finish.
|
19. |
At the Confirmation window, confirm the options that will be installed and click OK.
|
20. |
Your database is now being created.
|
21. |
After the database is created, you can change or unlock your passwords or click Exit.
|
Move your mouse over this icon to hide all screenshots