SOA Suite 11.1.1.7 on OEL 6 Update 3 Installation Tips

Step 1: Install the RPMs which are missing, the following are required as per oracle document:
rpm -q binutils-2.20.51.0.2-5.28.el6 compat-libcap1-1.10-1 compat-libstdc++-33-3.2.3-69.el6 compat-libstdc++-33-3.2.3-69.el6 gcc-4.4.4-13.el6 gcc-c++-4.4.4-13.el6 glibc-2.12-1.7.el6 glibc-2.12-1.7.el6 glibc-devel-2.12-1.7.el6 libaio-0.3.107-10.el6 libaio-devel-0.3.107-10.el6 libgcc-4.4.4-13.el6 libstdc++-4.4.4-13.el6  libstdc++-4.4.4-13.el6  libstdc++-devel-4.4.4-13.el6 libXext  libXtst  openmotif-2.2.3  openmotif22-2.2.3  redhat-lsb-core-4.0-7.el6  sysstat-9.0.4-11.el6 uln-internal-setup-1.0.1-1.el6.noarch.rpm

The query will result in several rpm saying as unavailable, most of them have a new version so we will be fine.

package binutils-2.20.51.0.2-5.28.el6 is not installed
package gcc-4.4.4-13.el6 is not installed
package gcc-c++-4.4.4-13.el6 is not installed
package glibc-2.12-1.7.el6 is not installed
package glibc-2.12-1.7.el6 is not installed
package glibc-devel-2.12-1.7.el6 is not installed
package libaio-devel-0.3.107-10.el6 is not installed
package libgcc-4.4.4-13.el6 is not installed
package libstdc++-4.4.4-13.el6 is not installed
package libstdc++-4.4.4-13.el6 is not installed
package libstdc++-devel-4.4.4-13.el6 is not installed
package openmotif-2.2.3 is not installed
package openmotif22-2.2.3 is not installed
package redhat-lsb-core-4.0-7.el6 is not installed
package sysstat-9.0.4-11.el6 is not installed
package uln-internal-setup-1.0.1-1.el6.noarch.rpm is not installed

Step 2: Install JDK, you should check the certification matrix for the list of JDKs certified. I am using JRockit  jrockit-jdk1.6.0_37-R28.2.5-4.1.0-linux-x64.bin

chmod +x jrockit-jdk1.6.0_37-R28.2.5-4.1.0-linux-x64.bin
./jrockit-jdk1.6.0_37-R28.2.5-4.1.0-linux-x64.bin

I have created a folder u01 for the jdk so my java location is /u01/jrockit-jdk1.6.0_37-R28.2.5-4.1.0

By default java is installed on the linux in the following location

[root@soadev jrockit-jdk1.6.0_37-R28.2.5-4.1.0]# which java
/usr/bin/java

Step 3: Change the default java


[root@soadev bin]# /usr/sbin/alternatives --install /usr/bin/java java /u01/jrockit-jdk1.6.0_37-R28.2.5-4.1.0/bin/java 2
[root@soadev bin]# /usr/sbin/alternatives --config java

There are 2 programs which provide 'java'.

  Selection    Command
-----------------------------------------------
*+ 1           /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java
   2           /u01/jrockit-jdk1.6.0_37-R28.2.5-4.1.0/bin/java

Enter to keep the current selection[+], or type selection number: 2
[root@soadev bin]# javac -version


javac 1.6.0_24
[root@soadev bin]# java -version
java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06)
Oracle JRockit(R) (build R28.2.5-20-152429-1.6.0_37-20120927-1915-linux-x86_64, compiled mode)


Step 4: Create Groups

groupadd -g 1000 oinstall
groupadd -g 2000 dba

Step 6: Create Users
useradd -u 1101 -g oinstall -G dba weblogic
passwd weblogic

useradd -u 1102 -g oinstall -G dba soa
passwd soa


useradd -u 1103 -g oinstall -G dba osb
passwd osb

Step 7: Create folders for weblogic, soa doamin, and osb domain


mkdir -p /u02/app/oracle/middleware
chown -R weblogic:oinstall /u02
chmod -R 775 /u02/


mkdir -p /u03/app/oracle/middleware
chown -R soa:oinstall /u03
chmod -R 775 /u03/

mkdir -p /u04/app/oracle/middleware
chown -R osb:oinstall /u04
chmod -R 775 /u04/



Step 8: Install database, i am going to install XE
rpm -ivh oracle-xe-11.2.0-1.0.x86_64.rpm

Step 9: Change the database parameters

sqlplus sys as sysdba
alter system reset sessions scope=spfile sid='*';
alter system set processes=1000 scope=spfile;

shutdown immediate
startup

Step 10: Login as weblogic and install weblogic server in the directory /u02/app/oracle/middleware

Rest coming soon...

Comments

Popular posts from this blog

ORA-44412: XE edition memory parameter invalid or not specified

How to mount a WD Book Live as NFS in OEL6U3

BPEL Engine Exceptions ORABPEL 02000 - 02179