Oracle DBA, How To, Error, Cause and Action

Oracle 11g Installation on Enterprise Linux 32-bit (1/5)

Oracle 11g Installation on Enterprise Linux 32-bit (1/5) [You are here]
Oracle 11g Installation on Enterprise Linux 32-bit (2/5)
Oracle 11g Installation on Enterprise Linux 32-bit (3/5)
Oracle 11g Installation on Enterprise Linux 32-bit (4/5)
Oracle 11g Installation on Enterprise Linux 32-bit (5/5)


You need to have following requirement in order to install Oracle Database Server 11g on Oracle Enterprise Linux 5

- At least 1 GB RAM
- SWAP space at least twice of your RAM
- x86 CPU compatibility
- 32-bit Oracle Database Server 11g for 32-bit Oracle Enterprise Linux 5, and 64-bit Oracle Database Server 11g for 64-bit Oracle Enterprise Linux 5

If you do not have above system requirement, you will face problem in this process or at least different result.

Before we install Oracle Database Server 11g on Oracle Enterprise Linux 5 following tasks need to be perform by root user.

1. Packages required by Oracle Database Server 11g can be install using following command

Mount disk 1, and run following command

yum -y install binutils-2.*
yum -y install elfutils-libelf-0.*
yum -y install glibc-2.5*
yum -y install glibc-common-2.*
yum -y install libaio-0.*
yum -y install libgcc-4.*
yum -y install libstdc++-4.*
yum -y install make-3.*

Mount disk 2, run following command

cd /media/cdrom/Server
yum -y install elfutils-libelf-devel-0.*
yum -y install glibc-devel-2.*
yum -y install gcc-4.*
yum -y install gcc-c++-4.*
yum -y install libstdc++-devel-4.*
cd /
eject

Mount disk 3, run following command

cd /media/cdrom/Server
yum -y install compat-libstdc++-33*
yum -y install sysstat-7.*
yum -y install unixODBC*
yum -y install libaio-devel-0.*
cd /
eject


In my case, I am using the Oracle Enterprise Linux DVD, so I do not have to locate each of the packages in separate CDs or iso files.

I am using yum command which is similar with rpm

cd /media/*/Server

yum -y install binutils-2.* elfutils-libelf-0.* glibc-2.5* glibc-common-2.* libaio-0.* libgcc-4.* libstdc++-4.* make-3.* elfutils-libelf-devel-0.* glibc-devel-2.* gcc-4.* gcc-c++-4.* libstdc++-devel-4.* compat-libstdc++-33* sysstat-7.* unixODBC* libaio-devel-0.*




You need to make sure all the packages required are installed, you may run the yum command multiple times.


2. Once you installed all packages edit /etc/sysctl.conf add add (amend) following lines
You may carefully copy the setting and paste it in the configuration files.

kernel.shmmni = 4096
# following line for semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=4194304
net.core.rmem_max=4194304
net.core.wmem_default=262144
net.core.wmem_max=262144

Edit /etc/security/limits.conf add (amend) following lines

oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536


Edit /etc/pam.d/login add (amend) following lines

session required /lib/security/pam_limits.so
session required pam_limits.so




3. Now we will create Oracle user and groups (you need to key in oracle user), fun following commands

groupadd oinstall; groupadd dba; groupadd oper; groupadd asmadmin
useradd -g oinstall -G dba,oper,asmadmin oracle
passwd oracle <- you will need to key in new password for oracle





4. Create Oracle Home, Oracle Home is a path where Oracle Software is going to be installed.

mkdir -p /u01/app/oracle/product/11.1.0/db_1
chown -R oracle:oinstall /u01
chmod -R 775 /u01




Oracle 11g Installation on Enterprise Linux 32-bit (1/5) [You are here]
Oracle 11g Installation on Enterprise Linux 32-bit (2/5)
Oracle 11g Installation on Enterprise Linux 32-bit (3/5)
Oracle 11g Installation on Enterprise Linux 32-bit (4/5)
Oracle 11g Installation on Enterprise Linux 32-bit (5/5)

1 comment:

Thanks for your comment.