26.4. Using Oracle Universal Installer (OUI)
The following example shows how to install x86 Oracle 10g Release 1 Database Software and a "General Purpose" database. Please note, the screens and questions will look different if you install 10g R2 or 64 bit 10g R1 database.
- Welcome Screen:
- Basic Installation: Check for the default - Oracle Home Location: Use default: /u01/app/oracle/product/10.1.0/db_1 - Installation Type: Enterprise Edition - UNIX DBA Group: Use default: dba - Create Starter Databases: Check it which is the default - Global Database Name: orcl - Database password: Type in the password for SYS, SYSTEM, SYSMAN, and DBSNMP accounts - Advanced Installation: Not checked it this example Click Next
- Specify Inventory directory and credentials:
- Full path of the inventory directory: Use the default: /u01/app/oracle/oraInventory - Specify Operating System group name: Use default: oinstall
- A window pops up to run the
Run the script in another terminal:
su - root # /u01/app/oracle/oraInventory/orainstRoot.sh Creating the Oracle inventory pointer file (/etc/oraInst.loc) Changing groupname of /u01/app/oracle/oraInventory to oinstall. #
Then click Continue
- Product-specific Prerequisite Checks:
Verify that all checks have been passed.
Make sure that the status of each Check is set to "Succeeded".
On Red Hat Enterprise Linux AS 4 ignore the warnings for binutils, gcc, and openmotif and proceed.
If a check fails, see Chapter 29, Oracle 10g and Linux Installation Errors and Troubleshooting.
The "Retry" button does not work after you have fixed one of the failed checks.
- Select Database Configuration then select "General Purpose".
- Specify Database Configuration Options:
- Global Database Name: for example use "orcl". - SID: for example use "orcl".
- Select Database Management Option then select "Use Database Control for Database Management".
- Specify Database File Storage Option
Select "File System" in this example. - File System - Specify Database file location: /u01/app/oracle/oradata/ If you want to comply with OFA, you might want to select another mount point than '/u01', for example /u02/oradata.
- Specify Backup and Recovery Options then select "Do no enable Automated Backups" for this example.
- Specify Database Schema Passwords
Make sure that the passwords do not start with a number. this will cause an error message "ORA-00988 missing or invalid password" or something similar later.
If Enterprise Manager configuration fails due to port allocation problems, read Chapter 29, Oracle 10g and Linux Installation Errors and Troubleshooting.
When a window pops up to run the
root.shscript, execute the script in another terminal as root:
su - root # /u01/app/oracle/product/10.1.0/db_1/root.sh Running Oracle10 root.sh script... The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /u01/app/oracle/product/10.1.0/db_1 Enter the full path name of the local bin directory: [/usr/local/bin]: Copying dbhome to /usr/local/bin ... Copying oraenv to /usr/local/bin ... Copying coraenv to /usr/local/bin ... Creating /etc/oratab file... Adding entry to /etc/oratab file... Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created. Finished running generic part of root.sh script. Now product-specific root actions will be performed. /var/opt/oracle does not exist. Creating it now. /etc/oracle does not exist. Creating it now. Successfully accumulated necessary OCR keys. Creating OCR keys for user 'root', privgrp 'root'.. Operation successful. Oracle Cluster Registry for cluster has been initialized Adding to inittab Checking the status of Oracle init process... Expecting the CRS daemons to be up within 600 seconds. CSS is active on these nodes. mars CSS is active on all nodes. Oracle CSS service is installed and running under init(1M) #
You have now reached the end of the Installation, click the Exit button.