11g r2 Installation On Oracle Linux
11g r2 Installation On Oracle Linux
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
DESKTOP ENVIRONMENTS
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
SELINUX=disabled
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
If we have NOT used the "oracle-validated” package to perform all prerequisites, we need
to manually install required rpms as per installation doc.
# groupadd oinstall
# groupadd dba
# useradd -g oinstall -G dba oracle
# passwd oracle
# 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/
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
# /sbin/sysctl -p
# /sbin/sysctl -a | grep <param-name> # values can be tested , if we wish to check.
# xhost +
access control disabled, clients can connect from any host
$ unzip linux.x64_11gR2_database_1of2.zip
$ unzip linux.x64_11gR2_database_2of2.zip
*****************************************
****************************
****************************
****************************
****************************
$ 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
$ . .bash_profile
# xhost +
Access control disabled, clients can connect from any host
$ dbca