Assuming that all of the prerequisites are met for the OMS and management repository, this recipe describes the installation of the Oracle 11g software for the OEM repository database
Before you start, ensure that the server is connected to the network, and an SSH or a telnet client is available. Also, make sure you have access to the Unix server as a root user or as a privileged user and a Unix user.
To install the RDBMS software, the X Windows server needs to be started. X Windows helps in providing a graphical user interface from the Unix server. Xming is used in this example, although any Windows software, such as Hummingbird Exceed, can also be used.
Download the Oracle software.
The Oracle RDBMS version used for the installation is 11.2.0.2. The software can be downloaded from the Oracle's metalink site. 11.2.0.2.5 Patch Set Update (patch13343424) is OS-specific and will be used to patch the database to ensure no patch bundles.
p10098816_112020_Linux-x86-64_1of7.zip p10098816_112020_Linux-x86-64_2of7.zip p10098816_112020_Linux-x86-64_3of7.zip p10098816_112020_Linux-x86-64_4of7.zip p10098816_112020_Linux-x86-64_5of7.zip p10098816_112020_Linux-x86-64_6of7.zip p10098816_112020_Linux-x86-64_7of7.zip p13343424_112020_Linux-x86-64.zip
After downloading the software, copy the software to a staging directory on the server using scp. Unzip the software in the staging directory. In this example mount point/spare is created to be used as a staging directory.
cd /spare unzip p10098816_112020_Linux-x86-64_1of7.zip unzip p10098816_112020_Linux-x86-64_2of7.zip chown -R oracle:oinstall /spare/database
Create the
oraInventory
directory if it does not alredy exist on the server.# mkdir -p /home/oraInventory # chown -R oracle:oinstall /home/oraInventory
Change the ownership of the ORACLE_BASE directory (in this example,
/dboracle
) to useroracle
.# chown -R oracle:oinstall /dboracle
Now, start a new session with SSH and connect as user
oracle
. In this example the user has usedoracle
.cd /spare/database $ export ORACLE_BASE=/dboracle $ export TEMP=/u01/tmp $ ./runInstaller
Select the I wish to receive security updates via My Oracle Support checkbox if you wish to receive security updates. In this example, we have left the option unchecked.
Click on the Next button.
Select the Skip software updates button on the next screen. Other options available are Use My Oracle Support Credentials for download or Use pre-downloaded software updates. Choose one of the options as per the requirement.
Click on the Next button.
Select the Install database software only option.
Click on the Next button.
Select the Single instance database installation option. Other options available for high availability are Oracle Real Application Cluster database installation and Oracle RAC One Node database installation.
Click on the Next button.
Select the default language as English, and then click on the Next button.
Select Enterprise Edition.
Click on the Next button.
The Oracle base location is selected automatically, as Oracle base is set in the Unix environment before installation. Specify or review the Oracle Base field and the Software Location field.
Click on the Next button.
The Oracle Inventory path will be detected by the installer automatically if any previous installation exists. In this example, it's a new installation, so you need to specify the Inventory Directory field.
The Oracle inventory group install will be selected by default.
Click on the Next button.
Database Administrator Group
dba
and Database Operator groupoper
are chosen by default.Click on the Next button.
Pre-requisites Checks screen is displayed. If any of the checks appear as failed (for example, if the minimum swap space available is 16 GB and the server has only, say, 12 GB), then resolve the issue before proceeding.
Click on the Next button.
Review the Summary screen of the software installation.
Click on the Install button.
The installation begins and will take some time to complete. The following screen is displayed. Log in to the server in another telnet session and execute the script as a root user or a privileged user with root privileges.
The following script appears in the preceding screenshot:
# . /home/oraInventory/orainstRoot.sh #. /dboracle/product/11.2.0/dbhome_1/root.sh
Click on OK after the execution of the script as a root user.
Click on the Close button. This marks the completion of the Oracle RDBMS 11gR2 installation.
Apply required patch set update.
The patch set update compatible with the Oracle 11.2.0.2 RDBMS software for the OEM repository database is 11.2.0.2.5 and needs to be installed. Also, ensure that you use the OPatch utility Version 11.2.0.1.3 or later.
If 11.2.0.3 is being installed, then apply the latest compatible patch set update.