4.1.1.1.0 How do I Install a Standalone Oracle Database?
How do I Install a Standalone Oracle Database?
Applies to:
RHEL 5.x, RHEL6.x
Author:
Kamal
Problem:
How do I install a Standalone Oracle Database?
Solution:
Before you install the Oracle 11g R2 Grid Infrastructure software for a Standalone Server on your system:
- Ensure that you have already configured your operating system, network, and storage based on the steps from the previous sections within this document.
- Locate your Oracle 11g R2 media kit.
- Log in as root
- If you are not in a graphical environment, start the X Window System by typing: startx
- Open a terminal window and type: xhost +
- Mount the Oracle Grid Infrastructure media.
- Log in as grid user, for example: su - grid.
- Type the following command to start the Oracle Universal Installer:<CD_mountpoint>/runInstaller
- In the Download Software Updates window, enter your My Oracle Support credentials to download the latest patch updates. If you choose not to download the latest patches, select Skip software updates.
In the Select Installation Option window, select Install and Configure Grid Infrastructure for a Standalone Server and click Next. In the Create ASM Disk Group window, enter the following information: NOTE: If no candidate disks are displayed, click Change Discovery Path and enter ORCL:*or /dev/oracleasm/disks/*. Ensure that you have marked your Oracle ASM disks, for more informations see,"Using ASMLib to Mark the Shared Disks as Candidate Disks". Click on Use Same Passwords for these accounts & Click Next Leave the Operating System Groups to be default, Ignore the Warning and Click Next Choose the Oracle Base and Software Location, and Click Next. The Prerequisite Checks are performed& the summary screen is presented. Click Next on the summary screen. The Installation proceeds. And the Progress is seen in the setup screen. After the installation is complete, the Execute Configuration Scripts wizard is displayed. Complete the instructions in the wizard and click Ok. Now that the Grid Infrastructure is installed, let’s now install the Database. The following steps are for node 1 of your cluster environment, unless otherwise specified.Installing Oracle 11g R2 Database (RDBMS) Software
su - oracle
<CD_mount>/runInstaller
Support credentials to receive security updates, else click Next.







- Specify the location of your Oracle Base configured within the Dell oracle utilities RPM.
- NOTE: The default locations used within the Dell Oracle utilites RPM are as follows:
- Oracle Base—/u01/app/oracle
- Software Location—/u01/app/oracle/product/11.2.0/db_1



- If any prerequisites fail and have the status as Fixable, click the Fix & Check Again button.
- Execute the runfixup.sh script provided by the Oracle OUI.
NOTE: If there are other prerequisites that display status Error, repeat step 13, If the Error status still persists after all changes have been fixed, select Ignore All.


- In the Summary window, select Install.
- On completion of the installation process, the Execute Configuration scripts wizard is displayed. Follow the instructions in the wizard and click Ok.
- In the Finish window, click Close.
Creating Database Using DBCA
- Login as oracle user.
- From $<ORACLE_HOME>, run the DBCA utility by typing:
$<ORACLE_HOME>/bin/dbca & - In the Welcome window, select Oracle Single Instance Database and click Next.
In the operations window, select Create Database, and Click Next Select Custom Database Option the Database Templates Screen In the Database Identification window: In the Management Options window, select the default values and click Next. In the Database Credentials window, enter the appropriate credentials for your Database. In the Database File Location window, select: In the Select Disk Group sub window, Select the Disk Group In the Recovery Configuration window, a) Specify Fast Recovery Area b) Enable Archiving Choose these options according to your environment and click Next In the Database Content Window, Click Next In the Initialization Parameters window: