11g R2 (11.2.0.1) INSTALLATION ON OEL 5.5
Exploring the Oracle DBA Technology by Gunasekaran , Thiyagu
ORACLE 11g R2 ON ORACLE ENTERPRISE LINUX 5.5
This document prepared just for informative and learning purposes for beginners. This is
based on a server installation with a minimum of 2G swap.
# root $ oracle
REQUIRED PACKAGES FOR ORACLE DESKTOP ENVIRONMENTS
GNOME Desktop Environment
APPLICATIONS
Editors
Graphical Internet
DEVELOPMENT
Development Libraries
Development Tools
GNOME Software Development
Java Development
Legacy Software Development
X Software Development
SERVERS
Server Configuration Tools BASE SYSTEM
Administration Tools
Base
Java
Legacy Software Support (select compat-db)
SYSTEM TOOLS
X Window System
11g R2 (11.2.0.1) INSTALLATION ON OEL 5.5
Exploring the Oracle DBA Technology by Gunasekaran , Thiyagu
DISABLE SECURE LINUX BY EDITING THE "/etc/selinux/config" FILE
SELINUX=disabled
ORACLE INSTALLATION PRE – REQUISITES To use the "oracle-validated" 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. All necessary prerequisites will be performed automatically.
# cd /etc/yum.repos.d
# rm -f public-yum-el5.repo
# wget http://public-yum.oracle.com/public-yum-el5.repo
Triggers the Installation of oracle 11g Preinstall & Setup
# yum -y install oracle-validated
Updates System to Currently last Update & Patches.
# yum update
If we have NOT used the "oracle-validated” package to perform all prerequisites, we need
to manually install required rpms as per installation doc.
CREATE REQUIRED NUMBER OF GROUPS & USER
# groupadd oinstall
# groupadd dba
# useradd -g oinstall -G dba oracle
# passwd oracle
CREATE THE DIRECTORIES , ORACLE SOFTWARE WILL BE INSTALLED.
# mkdir -p /u01/app/oracle/product/11.2.0/dbhome_1
# mkdir -p /u01/app/oracle/oraInventory
# chown -R oracle:oinstall /u01
# chmod -R 775 /u01/app/oracle/
11g R2 (11.2.0.1) INSTALLATION ON OEL 5.5
Exploring the Oracle DBA Technology by Gunasekaran , Thiyagu
ORACLE 10G REQUIRED KERNEL PARAMETER SETTINGS
In this location vi /etc/sysctl.conf" file
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmmax = 2147483648
kernel.shmall = 2097152
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 6815744
fs.aio-max-nr = 1048576
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 1048576
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
RUN THE FOLLOWING COMMAND
To Set the Current Kernel Parameters without Rebooting the System.
# /sbin/sysctl -p
# /sbin/sysctl -a | grep <param-name> # values can be tested , if we wish to check.
CHANGE vi /etc/pam.d/login FILE & ADD THE FOLLOWING LINE
session required pam_limits.so
11g R2 (11.2.0.1) INSTALLATION ON OEL 5.5
Exploring the Oracle DBA Technology by Gunasekaran , Thiyagu
SET THE LIMITS FOR ORACLE USER
in this loction # vi /etc/security/limits.conf oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
# xhost +
access control disabled, clients can connect from any host
UNZIP DATABASE SOFTWARE $ unzip linux.x64_11gR2_database_1of2.zip
$ unzip linux.x64_11gR2_database_2of2.zip
We can get a Single directory called "database" containing installation files.
$ cd database
[oracle@SERVER1 database] $ ./runInstaller
Starting Oracle Universal Installer...
11g R2 (11.2.0.1) INSTALLATION ON OEL 5.5
Exploring the Oracle DBA Technology by Gunasekaran , Thiyagu
11g R2 (11.2.0.1) INSTALLATION ON OEL 5.5
Exploring the Oracle DBA Technology by Gunasekaran , Thiyagu
11g R2 (11.2.0.1) INSTALLATION ON OEL 5.5
Exploring the Oracle DBA Technology by Gunasekaran , Thiyagu
11g R2 (11.2.0.1) INSTALLATION ON OEL 5.5
Exploring the Oracle DBA Technology by Gunasekaran , Thiyagu
11g R2 (11.2.0.1) INSTALLATION ON OEL 5.5
Exploring the Oracle DBA Technology by Gunasekaran , Thiyagu
***************************************** **************************** **************************** **************************** ****************************
11g R2 (11.2.0.1) INSTALLATION ON OEL 5.5
Exploring the Oracle DBA Technology by Gunasekaran , Thiyagu
11g R2 (11.2.0.1) INSTALLATION ON OEL 5.5
Exploring the Oracle DBA Technology by Gunasekaran , Thiyagu
11g R2 (11.2.0.1) INSTALLATION ON OEL 5.5
Exploring the Oracle DBA Technology by Gunasekaran , Thiyagu
CONFIGURE .bash_profile for oracle user
$ vi .bash_profile
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH=$ORACLE_HOME/bin:$PATH
EXECUTE .bash_profile as ‘oracle’ user
$ . .bash_profile # xhost + Access control disabled, clients can connect from any host
$ dbca
11g R2 (11.2.0.1) INSTALLATION ON OEL 5.5
Exploring the Oracle DBA Technology by Gunasekaran , Thiyagu
11g R2 (11.2.0.1) INSTALLATION ON OEL 5.5
Exploring the Oracle DBA Technology by Gunasekaran , Thiyagu
11g R2 (11.2.0.1) INSTALLATION ON OEL 5.5
Exploring the Oracle DBA Technology by Gunasekaran , Thiyagu
11g R2 (11.2.0.1) INSTALLATION ON OEL 5.5
Exploring the Oracle DBA Technology by Gunasekaran , Thiyagu
11g R2 (11.2.0.1) INSTALLATION ON OEL 5.5
Exploring the Oracle DBA Technology by Gunasekaran , Thiyagu
11g R2 (11.2.0.1) INSTALLATION ON OEL 5.5
Exploring the Oracle DBA Technology by Gunasekaran , Thiyagu
11g R2 (11.2.0.1) INSTALLATION ON OEL 5.5
Exploring the Oracle DBA Technology by Gunasekaran , Thiyagu
11g R2 (11.2.0.1) INSTALLATION ON OEL 5.5
Exploring the Oracle DBA Technology by Gunasekaran , Thiyagu