STEP 1:
INSTALL ORACLE ENTERPRISE LINUX
In my scenario it is OEL 5.1 i.e
While installing OEL , do not forget to select following
packages :
X Window System
X Window System
GNOME Desktop
Environment
Editors
Graphical Internet
Server Configuration Tools
Development Tools
Administration Tools
System Tools
Text-based Internet
Development Libraries
Base
Editors
Graphical Internet
Server Configuration Tools
Development Tools
Administration Tools
System Tools
Text-based Internet
Development Libraries
Base
Disable FIREWALL and
SELINUX while installating.
[root@r12apps ~]# uname -a
Linux r12apps.localdomain 2.6.18-8.el5PAE #1 SMP Tue Jun 5
23:39:57 EDT 2007 i686 i686 i386 GNU/Linux
STEP 2:
DOWNLOAD E-BUSINESS SUITE 12.1.1.
Sign in and select :
Click on Go…
And select ….
Click on continue…
Download all files except..
Above files are not
needed for the installation purpose.
STEP 3:
INSTALL RPMs ON INTENDED
MACHINE…
As per my machine I
installed
gcc-4.1.2-14.el5.i386.rpm
gcc-c++-4.1.2-14.el5.i386.rpm
glibc-2.5-24.i386.rpm
glibc-common-2.5-24.i386.rpm
glibc-devel-2.5-24.i386.rpm
kernel-headers-2.6.18-128.el5.i386.rpm
libgcc-4.1.2-14.el5.i386.rpm
libstdc++-devel-4.1.2-14.el5.i386.rpm
libstdc++-4.1.2-14.el5.i386.rpm
libXp-1.0.0-8.1.el5.i386.rpm
libgomp-4.1.2-14.el5.i386.rpm
sysstat-7.0.0-3.el5.i386.rpm
libaio-devel-0.3.106-5.i386.rpm
unixODBC-devel-2.2.11-7.1.i386.rpm
libgomp-4.3.2-7.el5.i386.rpm
unixODBC-2.2.11-7.1.i386.rpm
glibc-2.5-24.i386.rpm
glibc-common-2.5-24.i386.rpm
glibc-devel-2.5-24.i386.rpm
kernel-headers-2.6.18-128.el5.i386.rpm
libgcc-4.1.2-14.el5.i386.rpm
libstdc++-devel-4.1.2-14.el5.i386.rpm
libstdc++-4.1.2-14.el5.i386.rpm
libXp-1.0.0-8.1.el5.i386.rpm
libgomp-4.1.2-14.el5.i386.rpm
sysstat-7.0.0-3.el5.i386.rpm
libaio-devel-0.3.106-5.i386.rpm
unixODBC-devel-2.2.11-7.1.i386.rpm
libgomp-4.3.2-7.el5.i386.rpm
unixODBC-2.2.11-7.1.i386.rpm
The following i386 packages are not part of the OS distribution media and must be downloaded separately (from http://oss.oracle.com/projects/compat-oracle/files/Enterprise_Linux for both Oracle Linux 5 and RHEL 5) and installed manually:
openmotif21-2.1.30-11.EL5.i386.rpm
xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm
binutils-2.17.50.0.6-6.0.1.el5.i386.rpm
binutils-2.17.50.0.6-6.0.1.el5.i386.rpm
However , you can get all
the platform specific and rpm information regarding your installation on
Metalink ID 405565.1 shown as :
In my scenario I
selected document 761564.1 and got all information of RPMs needed to install.
Run
[root@r12apps ~]# ldconfig
–v
after you install all
RPMs.
STEP 4:
CHECK THE PERL VERSION :
[root@r12apps ~]# perl -v
This is perl, v5.8.8 built for i386-linux-thread-multi
Copyright 1987-2006,
Larry Wall
Perl may be copied
only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl
5 source kit.
Complete
documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc
perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the
Perl Home Page.
[root@r12apps ~]#
You must have
perl 5.0053 or higher installed
STEP 5 :
APPLY OS
Library Patch for Oracle HTTP Server
In my scenario it
is patch
6078836 i.e p6078836_101330_LINUX.zip
Just unzip it and u
will get below two files
[root@r12apps
6078836]# ls -lrt
total 16
-rw-r--r-- 1 root
root 5825 Oct 4 2007 libdb.so.2
-rw-rw-r-- 1 root
root 4819 Oct 4 2007 README.txt
View README.txt ,
so according to readme :
I copied libdb.so.2
to /usr/lib
[root@ r12apps
6078836]# cp libdb.so.2 /usr/lib
STEP 6 :
6.1)
[root@r12apps ~]#
vi /etc/security/limits.conf
And add
*
hard nofile 65535
*
soft nofile 4096
*
hard nproc 16384
*
soft nproc 2047
6.2)
[root@r12apps ~]#
vi /etc/sysctl.conf
And add
kernel.shmall =
268435456
kernel.shmmax =
4294967295
kernel.shmmni =
4096
kernel.sem = 256
32000 100 142
fs.file-max =
131072
net.ipv4.ip_local_port_range
= 1024 65000
net.core.rmem_default
= 262144
net.core.rmem_max =
4194304
net.core.wmem_default
= 262144
net.core.wmem_max =
262144
NOTE:
Kernel.shmmax must be half the size of the physical memory (in
bytes), and at least 2147483648)
Run :
[root@r12apps ~]# /sbin/sysctl –p
6.3)
[root@r12apps ~]# vi /etc/hosts
Verify that the /etc/hosts file is formatted as
follows:
127.0.0.1 localhost.localdomain localhost
[ip_address] [node_name].[domain_name]
[node_name]
6.4)
[root@r12apps ~]# vi /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=[node_name].[domain_name]
6.5)
If the /etc/sysconfig/networking/profiles/default/network file exists, then remove it.
6.6)
Two Domain Name System (DNS) resolver parameters (timeout and attempts) are set by default to low values when the operating system is installed. These low values may cause attempted network connections to an Oracle database to fail. If this happens, add or update the following entries to these minimum settings in the /etc/resolv.conf file on each server node:
[root@r12apps ~]# vi /etc/resolv.conf
Add:
options timeout:15
options timeout:15
6.7)
CHECK OPMN port conflict
Check if the port 6000
is being used ("netstat -a | grep 6000")
If so, you should
disable the graphics console login process on the Linux server. This can be
accomplished by logging in as root and issuing the following commands:
Find the process that uses port 6000 by the command "lsof -i TCP:6000".
Use "kill -9" to abort the process found in the previous step
Confirm that nothing is listening at port 6000 ("netstat -a | grep 6000")
Modify /etc/inittab by changing "id:5:initdefault:" to "id:3:initdefault:"
Run "/sbin/init 3" to restart dtlogin
Find the process that uses port 6000 by the command "lsof -i TCP:6000".
Use "kill -9" to abort the process found in the previous step
Confirm that nothing is listening at port 6000 ("netstat -a | grep 6000")
Modify /etc/inittab by changing "id:5:initdefault:" to "id:3:initdefault:"
Run "/sbin/init 3" to restart dtlogin
STEP 7:
RESTART THE SERVER
STEP 8:
ADDING USERS AND GROUP
[root@r12apps ~]# groupadd
oinstall
[root@r12apps ~]#
useradd –G oinstall oracle
[root@r12apps ~]#
useradd –G oinstall apps
[root@r12apps ~]# passwd oracle
[root@r12apps ~]# passwd apps
Note: “oracle” user is for database and “apps”
user is for application and part of the same group “oinstall”.
STEP 9:
MAKING DIRECTORIES AND GIVING PERMISSION
[root@r12apps ~]# mkdir –p /u01/applR12/inst
[root@r12apps ~]# mkdir –p /u01/oraR12
[root@r12apps ~]# chmod –R 775 /u01/applR12
[root@r12apps ~]# chmod –R 775 /u01/oraR12
[root@r12apps ~]# chown –R apps:oinstall
/u01/applR12
[root@r12apps ~]# chown –R oracle:oinstall
/u01/oraR12
STEP 10:
INSTALL E-BUSINESS SUITE R12.1.1
10.1)
After you unzip all the files downloaded at step
no. 2
You will get 5 folders:
In my scenario , I copied all the above software into USB and mounted it on my linux machine at location /u01/media :
First I ran fdisk –l
After knowing the my USB is at /dev/sdb1, I
executed
[root@r12apps ~]# mount /dev/sdb1 /u01/media
10.2)
Running the installer :
[root@r12apps ~]# cd /u01/media/startCD/Disk1/rapidwiz
[root@r12apps ~]# ./rapidwiz
So, after this finishes, just login :
http://<hostname>.localdomain:8000
or
http://<hostname>.localdomain:8000/OA_HTML/AppsLogin
and you will get:
See my next blog to access the application through remote machine and solution to some errors you may get while doing so.
http://www.oracledbasagar.blogspot.in/2012/12/frm-92050-failed-to-connect-to-server.html
Do not forget to share your views, always there
to help you out in the same.