Part - 2: Linux Installation
This
is Part - 2 of Oracle E-Business SuiteR12 Installation on Linux in virtual environment series.
4.
Install
Linux
Before installing Linux
in virtual machine, unzip V27571-01.zip to get an iso file OracleLinux-R5-U7-Server-x86_64-dvd.iso
Select newly created virtual
machine “R12” & click “Start” icon.
Select Media Source as OracleLinux-R5-U7-Server-x86_64-dvd.iso,
click “Next” & click “Start”.
Linux installation will
be started soon.
·
Select “Skip” under “CD
Found” screen.
·
Red screen of Oracle
Linux appears then click “Next”.
·
Select “English
(English)” as language & click “Next”.
·
Select “U. S. English”
as keyboard & click “Next”.
·
Select “Yes” for “Would
you like to initialize this drive, erasing ALL DATA?” in Warming window &
click “Next”.
·
Select “Create custom layout”
& click “Next”.
·
Click “New” to add partition
for primary
Mount Point: /
File System Type: ext3
Size (MB): 6000
Force to be primary partition: checked
And click “OK”.
·
Click “New” to add
partition for swap
Mount Point:
File System Type: swap
Size (MB): 4096
Fixed size: checked
Force to be primary partition: checked
And click “OK”.
·
Click “New” to add
partition for EBS
Mount Point: /u01
File System Type: ext3
Size (MB): 4096
Fill to maximum allowable size: checked
& click “OK” & click “Next”
·
Click “Next”, Network
Devices window appear & click “Edit” to add IP address
Enable IPv4 support: checked
Manual configuration: checked
IP Address: 192.168.1.201
Prefix (Netmask): 255.255.255.0
& Click “OK”.
Hostname manually: ebsr12.soft.com
Gateway: 192.168.1.1
And click “Next”.
·
Select “Asia/Kathmandu”
as a region & click “Next”.
·
Enter root password
& click “Next”.
·
Select “Customize now”
& click “Next”.
·
Select followings:
Development >
Development Libraries
Development >
Development Tools
Development > GNOME
Software Development
Development > Java
Development
Development > Legacy
Software Development
Development > X
Software Development
Base System > Base
Base System > Java
Base System > Legacy
Software Support
Base System > System
Tools
Base System > X
Window System
& click “Next”.
It takes time to
complete installation of packages
·
Click “Reboot”.
·
Select the agreement of
license & click “Forward”.
·
Select “Disabled” for
Firewall & click “Forward”, click “Yes” & click “Forward”.
·
Select “Disabled” for
SELinux Setting & click “Forward” ”, click “Yes” & click “Forward”.
·
Click “Forward” in Kdump
window.
·
Select Date and Time
& click “Forward”.
·
Click “Forward” without
creating user.
·
Click “Finish”, System
will be restarted.
·
Login as root user.
·
Select “Install Guest
Additions” from Devices menu to improve graphics and mouse performance. It adds
files in media
·
Navigate to media
through Terminal to install the guest additions packages.:
[root@ebsr12 ~]# cd /media/VBOXADDITIONS_4.3.6_91406/
[root@ebsr12 VBOXADDITIONS_4.3.6_91406]# VBoxLinuxAdditions.run
After installation reboot the virtual machine.
[root@ebsr12 ~]# cd /media/VBOXADDITIONS_4.3.6_91406/
[root@ebsr12 VBOXADDITIONS_4.3.6_91406]# VBoxLinuxAdditions.run
After installation reboot the virtual machine.
5.
Prepare
OS Environment
Ensure /etc/hosts
[root@ebsr12 ~]# vi /etc/hosts
127.0.0.1 localhost.soft.com localhost
192.168.1.201 ebsr12.soft.com ebsr12
:wq!
[root@ebsr12 ~]#
192.168.1.201 ebsr12.soft.com ebsr12
:wq!
[root@ebsr12 ~]#
Ensure etc/resolv.conf
[root@ebsr12 ~]# vi /etc/resolv.conf
nameserver 192.168.1.1
# R12 Recommendations #
options attempts:5
options timeout:15
:wq!
:wq!
[root@ebsr12 ~]#
Set kernel parameters (Edit /etc/sysctl.conf
file):
[root@ebsr12 ~]# vi /etc/sysctl.conf
# Oracle Recommendations for Apps #
kernel.shmall = 268435456
kernel.shmmax = 4294967295
kernel.shmmni = 4096
kernel.sem = 256 32000 100 142
fs.file-max = 327679
net.ipv4.ip_local_port_range = 10000 65000
kernel.msgmni = 2878
kernel.msgmax = 8192
kernel.msgmnb = 65535
net.core.rmem_default = 262144
net.core.wmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_max = 4194304
# Oracle Recommendations for Apps #
:wq!
:wq!
[root@ebsr12 ~]# sysctl –p
Increase user limits:
[root@ebsr12 ~]# vi /etc/security/limits.conf
*
hard nofile 65536
*
soft nofile 4096
*
hard nproc 16384
*
soft nproc 2047
:wq!
6.
Install
Required Packages
Ensure the following RPMs are installed:
[root@ebsr12 ~]# cd /media/OL5.7\ i386\ dvd\ 20110728/Server/
Install following RPM packages:
Install following RPM packages:
rpm -ivh unixODBC-2.2.11-7.1.i386.rpm
rpm -ivh unixODBC-devel-2.2.11-7.1.i386.rpm
rpm -ivh libXp-1.0.0-8.1.el5.i386.rpm
rpm -ivh libXp-devel-1.0.0-8.1.el5.i386.rpm
rpm -ivh openmotif22-2.2.3-18.i386.rpm
rpm -ivh libaio-devel-0.3.106-5.i386.rpm
rpm -ivh sysstat-7.0.2-3.el5_5.1.i386.rpm
rpm -ivh glibc-2.3.4-2.25
rpm -ivh unixODBC-devel-2.2.11-7.1.i386.rpm
rpm -ivh libXp-1.0.0-8.1.el5.i386.rpm
rpm -ivh libXp-devel-1.0.0-8.1.el5.i386.rpm
rpm -ivh openmotif22-2.2.3-18.i386.rpm
rpm -ivh libaio-devel-0.3.106-5.i386.rpm
rpm -ivh sysstat-7.0.2-3.el5_5.1.i386.rpm
rpm -ivh glibc-2.3.4-2.25
rpm -ivh glibc-common-2.3.4-2.25
rpm -ivh binutils-2.15.92.0.2-21
rpm -ivh compat-libstdc++-296-2.96-132.7.2
rpm -ivh gcc-3.4.6-3
rpm -ivh gcc-c++-3.4.6-3
rpm -ivh libgcc-3.4.6-3
rpm -ivh libstdc++-3.4.6-3
rpm -ivh libstdc++-devel-3.4.6-3
rpm -ivh pdksh-5.2.14-30.3
rpm -ivh setarch-1.6-1
rpm -ivh make-3.80-6.EL4
rpm -ivh gnome-libs-1.4.1.2.90-44.1
rpm -ivh compat-db-4.1.25-9
rpm -ivh control-center-2.8.0-12.rhel4.5
rpm -ivh xscreensaver-4.18-5.rhel4.11
Download and Install patch "6078836" from
https://updates.oracle.com/ARULink/PatchDetails/process_form?patch_num=6078836
Make a, iso file or share to Linux.
[root@ebsr12 ~]# cd /media/6078836
[root@ebsr12 6078836]# pwd
/media/6078836
[root@ebsr12 6078836]# ls
libdb.so.2 README.txt
[root@ebsr12 6078836]# ls -l /usr/lib/libdb.so.2
ls: /usr/lib/libdb.so.2: No such file or directory
[root@ebsr12root@oraerp1 6078836]# cp libdb.so.2 /usr/lib/
[root@ebsr12 6078836]# ls -l /usr/lib/libdb.so.2
Make a, iso file or share to Linux.
[root@ebsr12 ~]# cd /media/6078836
[root@ebsr12 6078836]# pwd
/media/6078836
[root@ebsr12 6078836]# ls
libdb.so.2 README.txt
[root@ebsr12 6078836]# ls -l /usr/lib/libdb.so.2
ls: /usr/lib/libdb.so.2: No such file or directory
[root@ebsr12root@oraerp1 6078836]# cp libdb.so.2 /usr/lib/
[root@ebsr12 6078836]# ls -l /usr/lib/libdb.so.2
7.
Create
Required Users
Create OS group and user:
[root@ebsr12 ~]# groupadd dbaerp
[root@ebsr12 ~]# useradd -G dbaerp oraerp
[root@ebsr12 ~]# useradd -G dbaerp oraerp
[root@ebsr12 ~]# useradd -G dbaerp applerp
[root@ebsr12 ~]# passwd oraerp
[root@ebsr12 ~]# passwd applerp
Create directories:
[root@ebsr12 ~]# mkdir /u01/applR12
[root@ebsr12 ~]# mkdir /u01/oraR12
[root@ebsr12 ~]# chmod -R 775 /u01/applR12/
[root@ebsr12 ~]# chmod -R 775 /u01/oraR12
[root@ebsr12 ~]# chown -R applerp:dbaerp
/u01/applR12/
[root@ebsr12 ~]# chown -R oraerp:dbaerp
/u01/oraR12/
8.
Prepare
Staging Area
·
Unzip all zip files of
E-Business required software files into EBSR12Ins folder.
·
Make this folder as a
single iso file (in my case StageR12) using Folder2Iso and attach it to guest machine by navigating
Settings > Storage > select this StageR12.iso file on CD/DVD Drive.
·
Or share EBSR12Ins
folder to guest machine by adding this folder in Settings > Shared Folders >
click “+” icon to share folder.
At Linux Terminal to view folder:
[root@ebsr12 ~]# mount -t vboxsf EBSR12Ins /root/StageR12
At Linux Terminal to view folder:
[root@ebsr12 ~]# mount -t vboxsf EBSR12Ins /root/StageR12
This completes the second
part of Oracle E-Business Suite R12 Installation on Linux in virtual
environment.
Part 1 covers the preparation for Download Required Software, Installation of VirtualBox and creation of virtual machine.
Part 2 covers the installation of Linux & preparation of E-Business Suite installation.
Part 3 covers the actual installation of E-Business Suite and basic post-install steps
Hope this will helpful !
All The Best!
No comments:
Post a Comment