Professional Documents
Culture Documents
Kishore/Sachin
http://appsdba.info
Contents
1. Vmware Settings for Oracle Enterprise Linux4
Page 2 - 8
Page 9 - 42
Page 43 - 44
Author A.Kishore/Sachin
http://appsdba.info
Author A.Kishore/Sachin
http://appsdba.info
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
Author A.Kishore/Sachin
http://appsdba.info
10
Author A.Kishore/Sachin
http://appsdba.info
11
Author A.Kishore/Sachin
http://appsdba.info
12
Author A.Kishore/Sachin
http://appsdba.info
13
Author A.Kishore/Sachin
http://appsdba.info
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
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
21
Author A.Kishore/Sachin
http://appsdba.info
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
26
Author A.Kishore/Sachin
http://appsdba.info
27
Author A.Kishore/Sachin
http://appsdba.info
28
Author A.Kishore/Sachin
http://appsdba.info
29
Author A.Kishore/Sachin
http://appsdba.info
30
Author A.Kishore/Sachin
http://appsdba.info
31
Author A.Kishore/Sachin
http://appsdba.info
32
Author A.Kishore/Sachin
http://appsdba.info
33
Author A.Kishore/Sachin
http://appsdba.info
Select Continue
34
Author A.Kishore/Sachin
http://appsdba.info
35
Author A.Kishore/Sachin
http://appsdba.info
36
Author A.Kishore/Sachin
http://appsdba.info
37
Author A.Kishore/Sachin
http://appsdba.info
38
Author A.Kishore/Sachin
http://appsdba.info
39
Author A.Kishore/Sachin
http://appsdba.info
40
Author A.Kishore/Sachin
http://appsdba.info
Enter Username
41
Author A.Kishore/Sachin
http://appsdba.info
Enter password
42
Author A.Kishore/Sachin
http://appsdba.info
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
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
44