You are on page 1of 44

Author A.

Kishore/Sachin
http://appsdba.info

Contents
1. Vmware Settings for Oracle Enterprise Linux4

Page 2 - 8

2. Oracle Enterprise Linux 4 Update 5 Installation

Page 9 - 42

3. Oracle R11i/R12 Pre Installations Tasks

Page 43 - 44

Author A.Kishore/Sachin
http://appsdba.info

VMWARE Settings For Oracle Enterprise Linux 4 Update 5 Installation


We can use Vmware workstation/Server to install OEL 4. First we need to create new
virtual machine to install OEL4.
Step1 : First create new virtual machine

Author A.Kishore/Sachin
http://appsdba.info

Step2 : Locate location for Bootable cd /iso file .

Author A.Kishore/Sachin
http://appsdba.info

Step3: Select the guest operating system. In our case we we will select Linux and version
is Redhat Enterprise Linux4

Author A.Kishore/Sachin
http://appsdba.info

Step 4 : Write the Virtual machine name and set the location of virtual machine.

Author A.Kishore/Sachin
http://appsdba.info
Step5: Specify the Capacity of Virtual machine .Here it is set to 200GB.

Author A.Kishore/Sachin
http://appsdba.info
Step6: Click on Customize hardware button .

Step 7: Set the memory to at least 2gb. Set Network adaptor to bridged.

Author A.Kishore/Sachin
http://appsdba.info
Step 8 : After customizing the hardware ,click ok and finish button.Vmware started

Author A.Kishore/Sachin
http://appsdba.info

Oracle Enterprise Linux 4 Installation (update 5)


Download the software from the below site
http://edelivery.oracle.com/linux

Author A.Kishore/Sachin
http://appsdba.info

Use bootable CD or iso file in virtual machine


Press Enter key

10

Author A.Kishore/Sachin
http://appsdba.info

Click Skip to continue or OK to do a media check

11

Author A.Kishore/Sachin
http://appsdba.info

Click Next to continue

12

Author A.Kishore/Sachin
http://appsdba.info

Click Next to continue

13

Author A.Kishore/Sachin
http://appsdba.info

Select U.S English and click Next to continue

14

Author A.Kishore/Sachin
http://appsdba.info

Select Manually partition with Disk Druid then select Next to continue

15

Author A.Kishore/Sachin
http://appsdba.info

click yes

Create directory structure as follows:


/ 10GB
swap 4GB
/d01/oracle 100GB
/d01/software 50GB

16

Author A.Kishore/Sachin
http://appsdba.info

Root partition

17

Author A.Kishore/Sachin
http://appsdba.info

Swap partition

18

Author A.Kishore/Sachin
http://appsdba.info

/d01/oracle Partition

19

Author A.Kishore/Sachin
http://appsdba.info

/d01/software

20

Author A.Kishore/Sachin
http://appsdba.info

Click Next to Continue

21

Author A.Kishore/Sachin
http://appsdba.info

Click Next to continue

22

Author A.Kishore/Sachin
http://appsdba.info

Click Edit and make the entries as shown and also uncheck Configure using DHCP. Get
the IP address from your network administrator if it is in a network

23

Author A.Kishore/Sachin
http://appsdba.info

Enter the Hostname and the domain name and gateway address is required if the
machine is on the network

24

Author A.Kishore/Sachin
http://appsdba.info

Click continue

25

Author A.Kishore/Sachin
http://appsdba.info

Select No firewall and click to continue

26

Author A.Kishore/Sachin
http://appsdba.info

Click proceed to continue

27

Author A.Kishore/Sachin
http://appsdba.info

Click Next to continue

28

Author A.Kishore/Sachin
http://appsdba.info

Select Time zone and Next to continue

29

Author A.Kishore/Sachin
http://appsdba.info

Enter the root password

30

Author A.Kishore/Sachin
http://appsdba.info

Select Customize software packages to be installed

31

Author A.Kishore/Sachin
http://appsdba.info

Select the following packages to install


1> Development Tools
2> X software Development
3> Legacy Software Development

32

Author A.Kishore/Sachin
http://appsdba.info

Click Next to continue

33

Author A.Kishore/Sachin
http://appsdba.info

Select Continue

Place the 2nd CD or iso .

34

Author A.Kishore/Sachin
http://appsdba.info

Click Reboot to continue

Click Next to continue

35

Author A.Kishore/Sachin
http://appsdba.info

Select Yes and Click Next to continue

36

Author A.Kishore/Sachin
http://appsdba.info

Set the Date and Time and Click Next to continue

37

Author A.Kishore/Sachin
http://appsdba.info

Click Next to continue

38

Author A.Kishore/Sachin
http://appsdba.info

Create account or Click continue

39

Author A.Kishore/Sachin
http://appsdba.info

Click Next to continue

40

Author A.Kishore/Sachin
http://appsdba.info

Click Next to continue

Enter Username

41

Author A.Kishore/Sachin
http://appsdba.info

Enter password

OEL R4-U5 Screen Looks like this

42

Author A.Kishore/Sachin
http://appsdba.info

Oracle R11i (11.5.10.2)/R12 Pre Installation Tasks


Install below packages. These packages are come with OEL4(Update 5) CD.
rpm -Uvh libaio-devel-0.3.105-2.i386.rpm
rbm -Uvh libaio-0.3.105-2.i386.rpm
rpm -Uvh openmotif21-2.1.30-11.RHEL4.6

Download the patch 4198954 from metalink or we can download the following rpms
compat-oracle-rhel4-1.0.5.i386.rpm
combat-libcwait-2.1-1.i386.rpm
from the site http://oss.oracle.com/projects/compat-oracle/files/Enterprise_Linux
and apply the rpms as stated below
rpm -Uvh compat-oracle-rhel4-1.0-5.i386.rpm
rpm Uvh combat-libcwait-2.1-1.i386.rpm
Shared memory and semaphore setting
echo "kernel.shmmax=2147483648" >> /etc/sysctl.conf
echo "kernel.sem=250 32000 100 128" >> /etc/sysctl.conf
echo "fs.file-max=65536" >> /etc/sysctl.conf
echo "net.ipv4.ip_local_port_range = 2024 65000" >> /etc/sysctl.conf
Modify number of open descriptors
echo "hard nofile 65535" >> /etc/security/limits.conf
echo "soft nofile 4096" >> /etc/security/limits.conf
Now we can reboot or run sysctl p
OS Users and group creation
# Add the group and users
groupadd dba
useradd oracle -g dba

useradd applmgr -g dba


passwd oracle (ask the password for oracle)

43

Author A.Kishore/Sachin
http://appsdba.info
passwd applmgr (ask the password for applmgr)

As I will use external disk to install Oracle R11i/R12 ,I need to do the following
Create /u01 directory to mount the external disk
mkdir /u01
Run fdisk -l to get the partition for external disk
mount /dev/sdc2 -t ext3 /u01
cd /u01
mkdir /oracle

Permissions are given oracle and applmgr so that they can write to /u01/oracle
chgrp dba /u01/oracle
chmod g+w /u01/oracle
Note: Please check whether oracle and applmgr are able to write to /u01/oracle
su oracle
cd /u01/oracle
touch test.file
rm test.file
su applmgr
cd /u01oracle
touch test.file
rm test.file
Check that the /etc/hosts entries are as follows
127.0.0.1 localhost.localdomain localhost
<ip address> <hostname>.<domainname> aliasname
My entries are written as follows
127.0.0.1 localhost.localdomain localhost
192.168.114.135 linux4.com linux4
Restart the server as follows
Run command reboot

Now we are ready to Install Oracle 11i or R12

44

You might also like