Oracle Database 1 1 g Release 2 (1 1 .2) Installation On Oracle Linux 6

This article describes the installation of Oracle
Database 1 1 g Release 2 (1 1 .2) (64­bit) on Oracle
Linux 6 (http://edelivery.oracle.com/linux) (64­bit).
The article is based on a server installation with a
minimum of 2G swap, with SELinux set to
permissive and the firewall disabled. The following
package groups were included for this installation.


Base System > Base
Base System > Client management tools
Base System > Compatibility libraries
Base System > Hardware monitoring utilities
Base System > Large Systems Performance
Base System > Network file system client
Base System > Performance Tools
Base System > Perl Support
Servers > Server Platform
Servers > System administration tools
Desktops > Desktop
Desktops > Desktop Platform
Desktops > Fonts
Desktops > General Purpose Desktop
Desktops > Graphical Administration Tools
Desktops > Input Methods
Desktops > X Window System
Development > Additional Development
Development > Development Tools
Applications > Internet Browser



Download Software

Download the Oracle software from OTN or MOS depending on your support status.
   OTN: Oracle Database 11g Release 2 (11.2.0.1) Software (64-bit) - For unsupported installation.
   MOS: Oracle Database 11g Release 2 (11.2.0.3) Software (64-bit) - For supported installation.

Unpack Files
Unzip the files.
# 11. 2. 0. 1
unzip linux. x64_11gR2_database_1of2. zip
unzip linux. x64_11gR2_database_2of2. zip


#11. 2. 0. 2
unzip p10098816_112020_Linux‐x86‐64_1of7. zip
unzip p10098816_112020_Linux‐x86‐64_2of7. zip


 #11. 2. 0. 3
unzip p10404530_112030_Linux‐x86‐64_1of7. zip
unzip p10404530_112030_Linux‐x86‐64_2of7. zip


 #11. 2. 0. 4
unzip p13390677_112040_Linux‐x86‐64_1of7. zip
unzip p13390677_112040_Linux‐x86‐64_2of7. zip

You should now have a single directory called "database" containing installation files.

Hosts File

The "/etc/hosts" file must contain a fully qualified name for the server.
(IP-address) (fully-qualified-machine-name) (machine-name)

For example.
127.0.0.1 localhost.localdomain localhost
192.168.0.181 ol6-112.localdomain ol6-112

Oracle Installation Prerequisites

Perform either the Automatic Setup or the Manual Setup to complete the basic prerequisites. The Additional Setup is required for all installations.

Automatic Setup

If you plan to use the "oracle-rdbms-server-11gR2-preinstall" package to perform all your prerequisite setup, follow the instructions at http://public-yum.oracle.com/ to setup the yum repository for OL, then perform the following command.
# yum install oracle-rdbms-server-11gR2-preinstall
All necessary prerequisites will be performed automatically.
It is probably worth doing a full update as well, but this is not strictly speaking necessary.
# yum update
Manual Setup
If you have not used the "oracle-rdbms-server-11gR2-preinstall" package to perform all prerequisites, you will need to manually perform the following setup tasks.
Oracle recommend the following minimum parameter settings.
fs.suid_dumpable = 1
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048586

The current values can be tested using the following command.
/sbin/sysctl -a | grep (param-name)
Add or amend the following lines in the "/etc/sysctl.conf" file.
fs.suid_dumpable = 1
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default=262144
net.core.rmem_max=4194304
net.core.wmem_default=262144
net.core.wmem_max=1048586
Run the following command to change the current kernel parameters.


                      (This post is under working..)

Post a Comment