In my earlier post I shoed you the steps to install Oracle database 10gR2 installation in RedHat 5.4 (64-bit).Now in this post I will guide with the steps and the pre-requisites required for the installation of Oracle 11gR2 in Red Hat 6.2 (32-bit)
Pre-requisites before installing database
- GUI Environment
# yum groupinstall "GNOME Desktop Environment" "X Window System"
- Memory Requirements
RAM
|
Swap
Space
|
Between 1024 MB and 2048 MB
|
1.5
times the size of RAM
|
Between 2049 MB and 16384 MB
|
Equal to the size
of RAM
|
More than 16 GB
|
16
GB
|
# free -m total used free shared buffers cached Mem: 4392 4352 39 0 149 3828 -/+ buffers/cache: 374 4018 Swap: 6399 0 6399
- Disk Space Requirements
# dh -h /tmp
- Display Requirements
- Operating system and Kernel Requirement
- Package Requirement
binutils-2.20.51.0.2-5.11.el6.i686 compat-libcap1-1.10-1.i686 compat-libstdc++-33-3.2.3-69.el6.i686 gcc-4.4.4-13.el6.i686 gcc-c++-4.4.4-13.el6.i686 glibc-2.12-1.7.el6.i686 glibc-devel-2.12-1.7.el6.i686 pdksh-5.2.14-1.i386 libgcc-4.4.4-13.el6.i686 libstdc++-4.4.4-13.el6.i686 libstdc++-devel-4.4.4-13.el6.i686 libaio-0.3.107-10.el6.i686 libaio-devel-0.3.107-10.el6.i686 make-3.81-19.el6.i686 sysstat-9.0.4-11.el6.i686 unixODBC-2.2.14-11.el6.i686 or later unixODBC-devel-2.2.14-11.el6.i686 or later
- Kernel parameters
# vi /etc/sysctl.conf fs.aio-max-nr = 1048576 fs.file-max = 6815744 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 = 1048576
# sysctl -pTo view all the kernel parameters
# sysctl -aSet the proper upper and lower limits in your machine. Add these lines in the given file as shown below
oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536 oracle soft stack 10240
- Hostname
# vi /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 10.10.20.42 test test.example.com
# hostname test.example.com
- User and Group
# useradd oracle # passwd oracle # groupadd dba # usermod -G dba oracle
- Create home directory
# mkdir -p /u01/app/oracle/product/11.2.0/dbhome_1/ # mkdir /u01/app/oraInventory # chown -R /u01/ # chmod -R oracle:dba /u01/We will use the standard format for creating the oracle database. Create a directory with the name used above.
- Specify the Display protocol
# su - oracle $ export $DISPLAY=localhost:0.0
- Installation
# su - oracle
$ cd /database11gr2/database/ $ ./runInstaller
Select the specified directory in your machine
Next the set up will verify all the pre-requisites. In case you are warned for any error or missing package, make sure you correct and move ahead or else you might face issues after or during the installation.
Click on Finish to start the installation





