1. Log in as 'oracle'.  Confirm that your ORACLE_HOME and PATH
   environment variables refer to your 11g database software
   installation directory, and to no other oracle locations (such
   as any pre-existing 10g installation), changing them if necessary.

     su - oracle
     env | grep -i oracle
     export ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1
     export PATH=$ORACLE_HOME/bin:$PATH

   Note: This would be a good time to enter these environment variable
         settings in the 'oracle' account's ~/.profile or ~/.bash_profile.

2. Run the Database Configuration Assistant.

     dbca

   Welcome: [Next]
   Step 1: Operations
           Select "Create a Database". [Next]
   Step 2: Database Templates
           Select "General Purpose or Transaction Processing". [Next]
   Step 3: Database Identification
           Fill in the Global Database Name as 'o11g' (the SID will
           automatically copy this). [Next]
   Step 4: Management Options
           Select "Configure Enterprise Management"
           Select "Configure Database Control for Local Management". [Next]
   Step 5: Database Credentials
           Select "Use the Same Administrative Passwords for All Accounts".
           Set the password to 'oracle'. [Next]
   Step 6: Storage Options
           Select "File System". [Next]
   Step 7: Database File Locations
           Select "Use Database File Locations from Template". [Next]
   Step 8: Recovery Configuration
           Select "Specify Flash Recovery Area".
           Change "Flash Recovery Area Size" to 20000 M Bytes. [Next]
           Select "Enable Archiving". [Next]
   Step 9: Database Content
           On the "Sample Schemas" tab:
           - Select "Sample Schemas".
           [Next]
   Step 10: Initialization Parameters
            Set "Memory Size (SGA and PGA)" to 250 MB.
            Make sure the "Automatic Memory Management" box is checked.
            Note: You can select "Custom", and enter sizes for SGA and PGA
                  that total to 250MB.  With "Automatic Memory Management"
                  selected, the installed will adjust the SGA and PGA sizes to
                  different values that total 250MB.
            [Next]
   Step 11: Security Settings
            Select "Keep the Enhanced 11g Security Settings". [Next]
   Step 12: Automatic Maintenance Tasks
            Select "Enable Automatic Maintenance Tasks". [Next]
   Step 13: Database Storage
            Examine the default File Location Variables.
            Review the database file locations.
            [Next]
   Step 14: Creation Options
            Select "Create Database".
            Select "Generate Database Creation Scripts".
            [Finish]
   Confirmation: Review the summary. [OK]
   Database Configuration Assistant:
      After database creation begins, watch for the "The generation of
      the script...  was successful" dialog.  Note the location of the
      database creation scripts.  Close the dialog so database creation
      can continue. [OK]

While the database is being created, go to the directory where the creation
scripts were generated.  Examine the contents of the scripts, starting with
o11g.sh.

After the DBCA completes database creation, READ the Database Creation
Assistant "Database creation complete" dialog before closing it.
Note:
- Locations of log files.
- The URL of the Enterprise Manager.
- Details of the Enterprise Manager repository.
- Information on default database accounts.
