Purpose
This tutorial 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.
Approximately 2 hours
Prerequisites
Before you perform this tutorial, you should:
1. | General computer knowledge. | |
2. | Familiarity with basic product installs. |
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.
A | Basic Installation |
B. | Advanced Installation |
Basic Installation
Follow the steps below to install the Oracle software and create a database using the basic installation method.
(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 Oracle’s 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. | |
5. | At the System Class window, select Server Class and click Next. | |
6. | At the Grid Options window, select Single instance database installation and click Next. | |
7. | At the Install Type window, select Typical install and click Next. Note: If you want to change the database character set to one that supports international languages then perform the Advanced Install starting with step 7. | |
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. | |
9. | At the Create Inventory window, accept the defaults and click Next. | |
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. | |
11. | The Execute Fixup Scripts window will appear, providing instructions. | |
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. | |
14. | At the Summary window, click Finish. | |
15. | A progress window will appear. | |
16. | After the software is installed, the Database Configuration Assistant will begin and create your database. | |
17. | The database was created successfully. Click Close. | |
18. | You need to execute a couple of scripts as the root user. | |
19. | Open a terminal window and execute the following commands: su - | |
20. | Return to the Execute Configuration Script window and click OK. | |
21. | Your installation and database creation completed successfully. click Close. |
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 Oracle’s 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. | |
5. | At the System Class window, select Server Class and click Next. | |
6. | At the Grid Options window, select Single instance database installation and click Next. | |
7. | At the Install Type window, select Advanced install and click Next. | |
8. | At the Product Languages window, select the Move All button to select all the languages. | |
9. | Click Next. | |
10. | At the Database Edition window, make sure that Enterprise Edition is selected and click Next. | |
11. | At the Installation Location window, accept the defaults and click Next. | |
12. | At the Create Inventory window, accept the defaults and click Next. | |
13. | At the Configuration Type window, make sure the type of database is set to General Purpose / Transaction Processing and click Next. | |
14. | At the Database Identifier window, accept the defaults and click Next. | |
15. | At the Configuration Options window, for the memory tab, you will accept the defaults. Click the Character sets tab. | |
16. | Change the setting to Use Unicode (AL32UTF8) and click the Security tab. | |
17. | Accept the default and click the Sample Schema tab. | |
18. | Select the Create database with sample schema check box and click Next. | |
19. | At the Management Options window, accept the defaults and click Next. | |
20. | At the Database Storage window, accept the defaults and click Next. | |
21. | At the Backup and Recovery window, accept the defaults and click Next. | |
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. | |
23. | At the Operating System Groups window, accept the defaults and click Next. | |
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. | |
25. | The Execute Fixup Scripts window will appear, providing instructions. | |
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. | |
28. | At the Summary window, click Finish. | |
29. | A progress window will appear. | |
30. | After the software is installed, the Database Configuration Assistant will begin and create your database. | |
31. | The database was created successfully. Click Close. | |
32. | You need to execute a couple of scripts as the root user. | |
33. | Open a terminal window and execute the following commands: su - | |
34. | Return to the Execute Configuration Script window and click OK. | |
35. | Your installation and database creation completed successfully. click Close. |
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 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 a process 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 or Transaction Processing template. Click Next. |
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. |
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. |
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. |
9. | For storage options, select File System, Automatic Storage Management, or Raw Devices as appropriate to your environment. Click Next. |
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. |
11. | Select Sample Schemas if you want to include the Sample Schemas (EXAMPLE) tablespace in your database. Click Next. |
12. | The Memory window appears. Select Typical and enter a Memory Size (SGA and PGA). Click the Sizing tab. |
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. |
14. | The Character Sets window appears. Select the character set for your database. Click the Connection Mode tab. |
15. | The Connection Mode window appears. Select Dedicated Server Mode or Shared Server Mode as appropriate for your environment. Click Next. |
16. | On the Database Storage window, you can specify storage parameters for the database creation. Accept the default values. Click Next. |
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. |
18. | At the Confirmation window, confirm the options that will be installed and click OK. |
19. | Your database is now being created. After the database is created, you can change or unlock your passwords or click Exit. |
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. |
No comments:
Post a Comment