0% found this document useful (0 votes)
60 views

11g r2 Installation On Oracle Linux

Installation on Oracle Linux
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
60 views

11g r2 Installation On Oracle Linux

Installation on Oracle Linux
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

11g R2 (11.2.0.1) INSTALLATION ON OEL 5.

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

Exploring the Oracle DBA Technology by Gunasekaran , Thiyagu


11g R2 (11.2.0.1) INSTALLATION ON OEL 5.5

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/

Exploring the Oracle DBA Technology by Gunasekaran , Thiyagu


11g R2 (11.2.0.1) INSTALLATION ON OEL 5.5

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

Exploring the Oracle DBA Technology by Gunasekaran , Thiyagu


11g R2 (11.2.0.1) INSTALLATION ON OEL 5.5

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...

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


11g R2 (11.2.0.1) INSTALLATION ON OEL 5.5

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

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


11g R2 (11.2.0.1) INSTALLATION ON OEL 5.5

Exploring the Oracle DBA Technology by Gunasekaran , Thiyagu

You might also like