Oracle Database 11g Release 1 (11.1) Installation on Oracle Enterprise Linux 5.0 By Md.Samiuzzaman Khan (Tamim) Database Administrator DNS Group Cell-Phone – 8801552379 598 Email – [email protected]This article describes the installation of Oracle Database 11g Release 1 (11.1) on Oracle Enterprise Linux 5.0. Here I simulate the installation process based on my PC based server which has following hardware configuration: 1.Intel 2.4 GHz x86 Processor. 2.80 GB SATA HDD 3.GB physical memory To make an easy and convenient installation process we documented installation Process in two phases. First of on we have to install Oracle Enterprise Linux Server 5.0 with required package and system parameter. After that in the second phase we simulated installation Process of Oracle 11g with respective screen shot which will help the beginner Administrator to understand their jobs easily. I hope, this article will help the novice and mid level Database/ System Administrator to understand what is the production standard installation of Oracle 11g for mid level traffic processing generally which will done by General Purpose or Transaction processing database template. Its me a great pleasure if this installation cook help someone meet their company requirement. If you have further query please drop message to our forum section at http://oracleboss.comn or mail me [email protected]Part-1: Installing Oracle Enterprise Linux 5.0 Part-2: Configuring Linux for Oracle 1.Creating the Oracle Group and User Account 2.Creating Required Directories and Change the Owner Ship 3.Verify Hardware Requirements •Main Memory Requirements •Disk Space Requirements 4. Software Requirements Checking Kernel Requirements Package Requirements 5. Configuring Kernel Parameters 6. Configuring the oracle User's Environment 7. Installing Oracle Database 8. Post Instillation Task1
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
This article describes the installation of Oracle Database 11g Release 1 (11.1) on Oracle
Enterprise Linux 5.0. Here I simulate the installation process based on my PC basedserver which has following hardware configuration:
1. Intel 2.4 GHz x86 Processor.2. 80 GB SATA HDD
3. GB physical memory
To make an easy and convenient installation process we documented installation Process
in two phases. First of on we have to install Oracle Enterprise Linux Server 5.0 with
required package and system parameter. After that in the second phase we simulatedinstallation Process of Oracle 11g with respective screen shot which will help the
beginner Administrator to understand their jobs easily. I hope, this article will help the
novice and mid level Database/ System Administrator to understand what is the
production standard installation of Oracle 11g for mid level traffic processing generallywhich will done by General Purpose or Transaction processing database template.
Its me a great pleasure if this installation cook help someone meet their companyrequirement. If you have further query please drop message to our forum section at
You may download Oracle Enterprise Linux 5.0 from oracle technology network. Todownload Oracle Enterprise Linux 5.0 Enterprise Edition uses the following link.
http://edelivery.oracle.com/linux
Installation Process:
1. Boot the server using the first CD.o You may need to change your BIOS settings to allow booting from the CD.
2. The boot screen appears with the boot: prompt at the bottom of the screen.
o Select Enter to continue with a graphical install on the console.
3. CD Found
o Skip these options.
4. Click on Next.
5. What language could you like to use during the installation process.
o Accept the default.
6. Select the appropriate keyboard for the system Configuration
o Accept the default. (U.S English).
7. Disk Portioning Step
o Select Remove all partition on Selected device and create default layout thesystem and Click on Next
o The disk on the first controller (/dev/sda) will hold all Linux software and
contains the following partitions:
o /boot partition - 256MB
o Swap Partition -2 GB [Set this to at least twice the amount of RAM in the system
But if the Physical RAM equal to 4 GB or greater then choose swap size exactly
as memory size.]
o root (/) partition - 19 GB This partition will be used for everything, including
/usr, /tmp, /opt, /home, and more. This approach is purely to simplify installation
for the purposes of this guide. A more robust partitioning scheme would separate
these directories onto separate file systems.
o /u01 – 18 GB - For Oracle Home Directoryo /u02 - 18GB - For Oracle Data Directory.
o /var – 19 GB
o Click on Next
o Click on Next
8. Required installation media
o Three CD Required to Successful installation of Oracle Enterprise Linux.
o If you have three disk then Click on Continue
9. Boot Loader Configuration
o Accept the default and Click on Next.
10. Network Configuration
o It is usually best to configure database servers with a static IP address. To do so,
click on Edit.o A pop-up window appears. Uncheck the Configure using DHCP box, and enter
the IP Address and NetMask for the server. Be sure that Activate on boot is
checked, and click on OK.
o Enter Static IP Address , Prefix (Net Mask) in your required IP Block
o In the Hostname box, select manually and enter the hostname.
o In the Miscellaneous Settings box, enter the remaining network settings.
You may download Oracle 11g from oracle technology network. To download Oracle
Database 11g Release 1 (11.1.0.6.0)
Standard Edition, Standard Edition One, and Enterprise Edition use the following link.http://www.oracle.com/technology/software/products/database/oracle11g/111060_linuxs
oft.html
1. Creating the Oracle Group and User Account
• Use the following command to add The Oracle Inventory group (oinstall) andOSDBS (dba) Group:[root@testdb ~]# groupadd oinstall
[root@testdb ~]# groupadd dba
• Use the following command to add a user whish is The Oracle software owner(oracle)[root@testdb ~]# useradd oracle
• Use the following command to specify oinstall as the primary group and dba as
the secondary group for oracle User.[root@testdb ~]# usermod -g oinstall -G dba oracle
• Finaly use the following command to Check the Oracle user and user group:[root@testdb ~]# id oracleuid=500(oracle) gid=500(oinstall) groups=500(oinstall),501(dba)
• Use the following command to set the password of the oracle user:[root@testdb ~]# passwd oracle
• Oracle Recommand that the base directory and data file directory will be differentmount point. if you do not create the mount point during the operation system
installation then use the following command to create a directory.mkdir -p /mount_point/app/
For example :[root@testdb ~]# mkdir -p /u01/app
• To set the appropriate owner, group use the following command :[root@testdb ~]# chown -R oracle.oinstall /u01
[root@testdb ~]# chown -R oracle.oinstall /u02
• To permissions on the directory use the following command :[root@testdb ~]# chmod -R 775 /u01
[root@testdb ~]# chmod -R 775 /u02
3. Verify Hardware Requirements• Main Memory Requirements
• Disk Space Requirements
Main Memory Requirements
• At least 1 GB of Physical RAM Requirement , To determine the physical RAMsize, use the following command: [root@testdb ~]# cat /proc/meminfo | grep Mem
MemTotal: 1018368 kB
MemFree: 43884 kB
• Swap SpaseFor 512 MB RAM,Swap Space Required Double the size of RAMFor 1024 MB RAM, Swap Space Required 1.5 times the size of RAM
• To determine the physical RAM size, use the following command:[root@testdb ~]# cat /proc/meminfo | grep SwapTotal
SwapTotal: 2096472 kB
Disk Space Requirements
• Oracle Recommend For Enterprise Edition you may need 3.47 GB, Enterprise
Edition require 1.5 GB of disk Space for Data file. To determine the amount of free disk space in MB on the system, use the following command :
[root@testdb ~]# df -m /u01/
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/hda7 17439 3624 12915 22% /u01
[root@testdb ~]# df -m /u02/
Filesystem 1M-blocks Used Available Use% Mounted on