Tuesday, May 1, 2018

Installing Oracle Fusion Middleware 12.2 on Linux 6, Linux 7 and Windows

Oracle Fusion Middleware contains many products, tools, and services, and provides facility of using Java EE and developer tools, integration services, identity services, business intelligence and several other Oracle products.
In this article I would demonstrate how to install Oracle Fusion Middleware 12.2 (I am using 12.2.1.2.0 for this article) on Linux 6 and Linux 7. Following is the official document that I used while writing this article.
http://docs.oracle.com/middleware/12212/lcm/WLSIG/GUID-E4241C14-42D3-4053-8F83-C748E059607A.htm#WLSIG125

Same process is to install fusion Middleware on Windows platform. 

If you want only to run JAVA applications, you don’t actually need Fusion Middleware, and you can install weblogic server with coherence instead.

1)
OS Requirement
For Linux 6, make sure you have following RPMs (having latest version is good) installed.

binutils-2.20.51.0.2-5.28.el6
compat-libcap1-1.10-1
compat-libstdc++-33-3.2.3-69.el6.x86_64
compat-libstdc++-33-3.2.3-69.el6.i686
gcc-4.4.4-13.el6
gcc-c++-4.4.4-13.el6
glibc-2.12-1.7.el6.x86_64
glibc-2.12-1.7.el6.i686
glibc-devel-2.12-1.7.el6.i686
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.x86_64
libstdc++-4.4.4-13.el6.i686
libstdc++-devel-4.4.4-13.el6
libXext.i686
libXtst.i686
openmotif-2.2.3.x86_64
openmotif22-2.2.3.x86_64
sysstat-9.0.4-11.el6

For Linux 7, make sure that following RPMs (having latest version is good)
binutils-2.23.52.0.1
compat-libcap1-1.10
compat-libstdc++-33-3.2.3.x86_64
compat-libstdc++-33-3.2.3.i686
gcc-4.8.2
gcc-c++-4.8.2
glibc-2.17.x86_64
glibc-2.17.i686
glibc-devel-2.17.x86_64
libaio-0.3.109.x86_64
libaio-devel-0.3.109.x86_64
libgcc-4.8.2.x86_64
libgcc-4.8.2.i686
libstdc++-4.8.2.x86_64
libstdc++-4.8.2.i686
libstdc++-devel-4.8.2.x86_64
ksh
make-3.82
sysstat-10.1.5
numactl-2.0.9.x86_64 (Required for OBIEE-Essbase)
numactl-devel-2.0.9.x86_64 (Required for OBIEE-Essbase)
motif-2.3.4-7.x86_64 (Required for Oracle Forms and Reports)
motif-devel-2.3.4-7.x86_64 (Required for Oracle Forms and Reports)


Install these packages from Linux installation media, or from yum repository. I prefer using yum as it would install (or update to) the latest version
yum install binutils

For Windows, you just need to check certification matrix to find out if your host OS is certified for Middleware and Weblogic Server installation.


2)
Create OS group and user to own the software. You can use conventional user “oracle” and OS group “oinstall” that are used during Oracle database software installation.
[root@salman11 ~]# groupadd -g 54321 oinstall
[root@salman11 ~]# useradd -u 54321 -g 54321 oracle
[root@salman11 ~]# passwd oracle
Changing password for user oracle.
New password:
BAD PASSWORD: The password is shorter than 8 characters
Retype new password:
passwd: all authentication tokens updated successfully.

[root@salman11 ~]# su - oracle
[oracle@salman11 ~]$ id
uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023


For Windows, you can use Administrator user, or any other user with Administrator privileges.


3)
Download JDK. I downloaded jdk-8u121-linux-x64.tar.gz from the following URL that is the latest available at this time.
Install JDK. If you download RPM version, install as root and then this JDK can be used by all OS users. If you download .gz file, install using oracle user, and it will be used by only oracle user (and during Weblogic Server installation). I am installing as “oracle” user, and installing JDK under oracle home
tar zxvf jdk-8u121-linux-x64.tar.gz

I have unzipped/installed the jdk under /home/oracle, and $JAVA_HOME is /home/oracle/jdk1.8.0_121
For Windows, download Windows based version and perform the installation.

4)
Download the weblogic software from the following link 
http://www.oracle.com/technetwork/middleware/fusion-middleware/downloads/index.html
For this installation, I have downloaded “Fusion Middleware Infrastructure Installer”. Installation zip file is fmw_12.2.1.2.0_infrastructure_Disk1_10f1.zip. When you will unzip this file, the output will be fmw_12.2.1.2.0_infrastructure.jar file that we will use for the installation. I unzipped the installer to /home/oracle/ directory.
Based on your requirement, you may go for only Weblogic server installation by downloading appropriate zip file. For more details in Fusion Middleware Infrastructure, please see bellow link.
https://docs.oracle.com/middleware/12212/lcm/INFIN/toc.htm#INFIN


5)
Decide about directory structure for installation. I have selected following directory structure for my installation.
-- Home directory. This will contain Fusion Middleware installation binaries. Let’s call it FMW_HOME
/home/oracle/product/12.2.1

-- Weblogic Server home. This will have Weblogic Server installed in it. Let’s call it WLS_HOME
$FMW_HOME/wlserver

-- Configuration directory. This will contain configuration/domains and application data.
/home/oracle/config


6)
To start the installation, log into the system as “oracle” user, and set environment variables JAVA_HOME and PATH, and start installation. Use same method to invoke installation on Windows.
$ cd /home/oracle
$ export JAVA_HOME=/home/oracle/jdk1.8.0_121
$ export PATH=$JAVA_HOME/bin:$PATH

-- Start installation
$ java –jar fmw_12.2.1.2.0_infrastructure_Disk1_1of1.jar
First installation screen appears as follows, click OK


























7)
Click Next































8)
Click Next































9)
Provide home directory location and click Next
.































10)
Select the installation type, click Next






























11)
After clicking on Next from the previous screen, the prerequisite checks will be performed. On this screen, if all OK, click Next
 































12)
Click Next






























13)
Click Install
 































14)
Monitor the installation progress. Once installation is 100%, click Next.
































15)
Click Finish. Installation is complete now.
 

































After successful installation, next step is to do initial configuration of Fusion Middleware

No comments:

Post a Comment

Popular Posts - All Times