Installing Oracle WebLogic Server 12c

Installing Oracle WebLogic Server 12c

Introduction

This article demonstrates how to install WebLogic Server 12c on Red Hat Linux 6.

Environment

Platform: x86-64
Operating System: Red Hat Linux 6
Software: WebLogic Server 12.1.3

Prerequisites

Packages:

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

Downloads

– ORACLE WebLogic Server 12.1.3.0.0 (link: http://download.oracle.com/otn/nt/middleware/12c/wls/1213/fmw_12.1.3.0.0_wls.jar)
– JAVA SE – JDK 7 (Available on My Oracle Support)

Setting

The following actions must be performed with the “root” user.

Check the “/etc/hosts” file contains entries for “localhost” and “hostname”:

 
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 
192.168.56.103 ol6.localdomain ol6 

Create the group “oinstall” and the user “oracle”:

 
$ groupadd -g 1000 oinstall 
$ useradd -u 1100 -g oinstall oracle 
$ passwd oracle 

Create the directories where WebLogic will be installed:

 
mkdir -p /u01/app/oracle/jdk/ 
mkdir -p /u01/app/oracle/middleware 
mkdir -p /u01/app/oracle/config/domains 
mkdir -p /u01/app/oracle/config/applications 
chown -R oracle:oinstall /u01 
chmod -R 775 /u01/ 

Run the following commands to set up the environment and change the “/home/oracle/.bash_profile” file:

 
export ORACLE_HOME="/u01/app/oracle/middleware" 
export BASE_DOMAIN="/u01/app/oracle/domains" 
source /u01/app/oracle/middleware/wlserver/server/bin/setWLSEnv.sh 
export MW_HOME=/u01/app/oracle/middleware export WLS_HOME=$MW_HOME/wlserver 
export WL_HOME=$WLS_HOME

# Configure JAVA_HOME
export JAVA_HOME="/u01/app/oracle/jdk/jdk-current" 
export PATH="${ORACLE_HOME}/OPatch:${JAVA_HOME}/bin:/sbin:${PATH}" 

Installation

Extract the installer files “jdk-7u91-linux-x64.tar.gz” in “/u01/app/oracle/jdk/” directory. A “jdk1.7.0_91” directory will be created. Move that directory to “jdk_current”.

Go to the directory where the WebLogic installer “fmw_12.1.3.0.0_wls.jar” is located and run the command below to start the installation:

 
$ java -jar fmw_12.1.3.0.0_wls.jar 

 

Note: After typing the command above, a test will be performed to verify the minimum requirements of the server where the installation will be performed.

 

1. Set the Oracle Inventory directory (oraInventory) and click “Ok”:

2. The installer welcome screen will appear. Click on “Next”:

3. Define the installation directory:

4. Define the installation “WebLogic Server” and click “Next”:

5. Screen for checking prerequisites:

6. Email and “Security Updates” setup:

 

7. Warning screen will be displayed. Click “Yes”:

8. The Installation Summary screen will appear. Click “Install”:

9. Wait for the installation to complete and click “Next”:

10. Installation completion screen:

 

References

Fusion Middleware Installing and Configuring Oracle WebLogic Server and Coherence. Avalilable at: https://docs.oracle.com/middleware/1213/core/WLSIG/install_gui.htm#WLSIG125