Install Oracle 11gR2 Database Server on CentOS 5.7 Final

Environment :
CentOS 5.7 Final

I think we must upgrade kernel and dependency package first

yum install kernel kernel-devel
yum install compat-libstdc++-33.x86_64 binutils compat-libstdc++ elfutils-libelf elfutils-libelf-devel glibc glibc-common glibc-devel glibc-headers gcc gcc-c++ libaio-devel libaio libgcc libstdc++ libstdc++ make sysstat unixODBC unixODBC-devel


Usually Oracle use pdksh package for shell

wget ftp://rpmfind.net/linux/centos/5.8/os/x86_64/CentOS/pdksh-5.2.14-37.el5.x86_64.rpm
rpm -ivh pdksh-5.2.14-37.el5.x86_64.rpm

For make sure all package, i upgrade all

yum upgrade

Start to build Oracle
Create group and user which needed by oracle

groupadd oinstall
groupadd dba
useradd -m -g oinstall -G dba -s /bin/bash oracle
passwd oracle

Parameter requirement in system

nano /etc/sysctl.conf

add line below

Verify system

sysctl -p

nano /etc/security/limits.conf

or

nano /etc/pam.d/login

nano /etc/profile.d/custom.sh

chmod +x /etc/profile.d/custom.sh
–run it
/etc/profile.d/custom.sh

Leave a Reply