Pre install steps Oracle 11g r2 on debian

I was looking for lot of articles to install Oracle 11g r2 Standard Edition One, but i couldn’t fine one article where all steps were mentioned properly. It took me lot of time to gather all the steps and install oracle on my debian machine.

Oracle 11g Installation Steps:

Do steps 1-8 as root:

1. Install mandatory packages

apt-get install binutils autoconf automake bzip2 doxygen gcc less libc6-dev make libstdc++5 unzip zlibc build-essential libaio1

2. Unzip oracle packages

unzip linux.x64_11gR2_database_1of2.zip
unzip linux.x64_11gR2_database_2of2.zip

3. Change kernel parameters:

cat >> /etc/sysctl.conf < 

4. Change some limits

cat >>/etc/security/limits.conf < 

5. Add groups and users:

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

6. Separate software, database files and recovery files so i put them in /u01 /u02 /u03

mkdir -p /u01/app/oracle
mkdir -p /u02/oradata
mkdir -p /u03/flash_recovery_area
chown -R oracle:oinstall /u01 /u02 /u03
chmod -R 775 /u01 /u02 /u03

7. These steps prevent errors when the installer links some libraries

ln -s /usr/bin/awk /bin/awk
ln -s /usr/bin/basename /bin/basename

8. Schedule reboot Oracle machine and exit quick

shutdown -r +1;exit

9. Change user to oracle:

su oracle
Tags: , , ,
Subscribe to Comments RSS Feed in this post

3 Responses

  1. Please let me know the most comprehensive way to learn to install applications on Debian. applications like 11g(thank you for the update) and oracle ebiz. I am wondering if you ever installed oracle ebiz.

    Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*