WebLogic Server Installation on the Linux OS: step by step instruction


This post describes the installation of the WebLogic Server Version

The following tasks are performed and described:

  • Preparing the Operating System for the installation of the WebLogic Server
  • Installation JDK 1.8 and the WebLogic Server

The installation will be proceeding on two servers (OS OEL 6.7):

  • host01.example.com
  • host02.example.com

Pre-installation Tasks

This chapter describes some tasks of preparation for the Operating System and the Database.

For more information please refer to the document System requirements

Install and configure the database

The WebLogic Server needs a preinstalled database. Please create a database and configure it according to documentation:

Link to Oracle Documentation

Note: All preparation tasks described below must be running on both servers: host01 and host02

Create user oracle and group oinstall (as OS User root)
[root@host01 ~]# groupadd -g 501 oinstall
[root@host01 ~]# useradd -u 500 -g oinstall oracle
[root@host01 ~]# usermod -g oinstall oracle
[root@host01 ~]# id oracle
uid=500(oracle) gid=501(oinstall) groups=501(oinstall)

[root@host01 ~]# mkdir /u01/app/oracle
[root@host01 ~]# chown -R oracle:oinstall /u01/app/oracle
Enable Unicode Support

Your operating system configuration can influence the behavior of characters supported by Oracle Fusion Middleware products.

On UNIX operating systems, Oracle highly recommends that you enable Unicode support by setting the LANG and LC_ALL environment variables to a locale with the UTF-8 character set. This enables the operating system to process any character in Unicode

Check if Unicode is enabled on the Server:

[root@host01 ]# locale





Kernel Parameter

Set the Value for the Parameter SHMMAX to min. 4294967295 in the file /etc/sysctl.conf (as root):

kernel.shmmax = 4294967295

Apply changes:

/sbin/sysctl -p
OS Packages

Supported Linux Oracle Linux 6 (Update 6) x86 64-bit Operating System Versions, Packages, and Patches: Link to Oracle Documentation

Kernel: 2.6.32-100.2 8.5.el6

compat-libstdc++-33-3.2.3-69.el6 for x86_64
compat-libstdc++-33-3.2.3-69.el6 for i686
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
libstdc++-4.4.4-13.el6 for x86_64
libstdc++-4.4.4-13.el6 for i686
libXext for i386
libXtst for i386
openmotif-2.2.3 for x86_64
openmotif22-2.2.3 for x86_64

Check if the packages are already installed (as root):

rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' binutils
binutils-    .el6 (x86_64)

rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' compat-libcap1
compat-libcap1-1.10-1 (x86_64)

rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' compat-libstdc++-33
compat-libstdc++-33-3.2.3-69.el6 (x86_64)
compat-libstdc++-33-3.2.3-69.el6 (i686)

rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' gcc
gcc-4.4.7-11.el6 (x86_64)

rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' gcc-c++
gcc-c++-4.4.7-11.el6 (x86_64)

rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' glibc
glibc-2.12-1.149.el6 (x86_64)
glibc-2.12-1.149.el6 (i686)

rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' glibc
glibc-2.12-1.149.el6 (x86_64)
glibc-2.12-1.149.el6 (i686)

rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' glibc-devel
glibc-devel-2.12-1.149.el6 (x86_64)
glibc-devel-2.12-1.149.el6 (i686)

rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' libaio
libaio-0.3.107-10.el6 (x86_64)

rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' libaio-devel
libaio-devel-0.3.107-10.el6 (x86_64)

rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' libgcc
libgcc-4.4.7-11.el6 (x86_64)

rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' libstdc++
libstdc++-4.4.7-11.el6 (x86_64)
libstdc++-4.4.7-11.el6 (i686)

rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' libstdc++-devel
libstdc++-devel-4.4.7-11.el6 (x86_64)

rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' libXext
libXext-1.3.2-2.1.el6 (x86_64)
libXext-1.3.2-2.1.el6 (i686)

rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' libXtst
libXtst-1.2.2-2.1.el6 (x86_64)
libXtst-1.2.2-2.1.el6 (i686)

rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' openmotif
openmotif-2.3.3-8.el6 (x86_64)

rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' openmotif22
openmotif22-2.2.3-19.el6 (x86_64)

rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' sysstat
sysstat-9.0.4-27.el6 (x86_64)

If some packages are missed:

Find the package with „yum search <package name>“ and the install the package with „yum install …“

NTPL Installation

If you plan to use the Oracle HTTP Server, the operating system needs to set Native POSIX Threads Library (NPTL) as the default threads-implementation. To check for this, run the following command:


Expected min. value: „NTPL 2.3.4“

[root@host01 ]# getconf GNU_LIBPTHREAD_VERSION

NPTL 2.12
Set the OS Limits (as root)

Add following rows to the file /etc/security/limits.conf:

* soft nofile 4096
* hard nofile 65536
* soft nproc 2047
* hard nproc 16384

Add following rows to the file /etc/security/limits.d/90-nproc.conf:

* soft nofile 4096
* hard nofile 65536
* soft nproc 2047
* hard nproc 16384
Prepare the installation media (as OS User oracle)

Download the following software from the Oracle Software Delivery Cloud:

  • Oracle Fusion Middleware Infrastructure

Download the Java Development Kit from the OTN:

  • jdk-8u91-linux-x64.tar.gz
Create directories and copy the installation media into directories (as OS User oracle)
[oracle@host01 oracle]$ mkdir -p /u01/app/oracle/software/
[oracle@host01 oracle]$ mkdir -p /u01/app/oracle/software/JDK
[oracle@host01 oracle]$ mkdir –p /u01/app/oracle/software/WLS
[oracle@host01 oracle]$ cp jdk-8u91-linux-x64.tar.gz /opt/oracle/software/JDK
[oracle@host01 oracle]$ cp V138469-01.zip /opt/oracle/software/WLS
Prepare the directory structure for the WebLogic (as OS User oracle):
[oracle@host01 ~]# cd /u01/app/oracle/product
[oracle@host01 oracle]$ mkdir -p /u01/app/oracle/product/JAVA
[oracle@host01 oracle]$ mkdir -p /u01/app/oracle/product/FMW
Set the variable umask to 0027 (as OS User oracle):
[oracle@host01 oracle]$ echo "umask 027" >> ~oracle/.bash_profile

Installation JDK 1.8.0_91 (as OS User oracle)

Note: The Installation of JDK and WebLogic Server described below must be running on both servers: host01 and host02

[oracle@host01~]$ cd /u01/app/oracle/product/JAVA
[oracle@host01 oracle]$ tar xvfz /u01/app/oracle/software/JDK/jdk-8u91-linux-x64.tar.gz
[oracle@host01 oracle]$ mv jdk1.8.0_91 jdk
[oracle@host01 oracle]$ ln -s jdk jdk1.8.0_91

Verify JDK Version:

[oracle@host01 oracle]$ /u01/app/oracle/product/JAVA/jdk/bin/java -version
java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)

Installation WebLogic Server (as OS User oracle)

Note: The Installation of JDK and WebLogic Server described below must be running on both servers: host01 and host02

Navigate to software directory, extract the WebLogic software, set anenvironment and start the installation:

[oracle@host01 ~]$ cd /u01/app/oracle/software/WLS
[oracle@host01 ~]$ unzip ./V138469-01.zip
[oracle@host01 ~]$ export JAVA_HOME=/u01/app/oracle/product/JAVA/jdk
[oracle@host01 ~]$ export PATH=$JAVA_HOME/bin:$PATH
[oracle@host01 ~]$ java -jar ./fmw_12.

Installation screenshots:

Set Inventory Directory to /u01/app/oraInventory

The „Welcome“ page is displayed, click „Next“:

Step 2: Enable „Skip Auto Updates“:

Step 3: Set Oracle Home: /u01/app/oracle/product/FMW/Oracle_Home:

Step 4: Activate „Fusion Middleware Infrastructure“:

Step 5: The Prerequisite Checks must be completed without any errors and warnings:

Step 6: Disable the box „I wish to receive security updates…“:

Step 7: Verify the Summary of the Installation and click the button „Install“:

Step 8: Verify Installation and click „Next“:

Step 9: Check installed components and „Finish“:

The Installation Fusion Middleware Infrastructure is now completed


Autor: Neselovskyi, Borys

Oracle Database / Middleware / Engineered System Solution Architect

6 Kommentare zu „WebLogic Server Installation on the Linux OS: step by step instruction“

Kommentar verfassen

Trage deine Daten unten ein oder klicke ein Icon um dich einzuloggen:


Du kommentierst mit Deinem WordPress.com-Konto. Abmelden / Ändern )


Du kommentierst mit Deinem Twitter-Konto. Abmelden / Ändern )


Du kommentierst mit Deinem Facebook-Konto. Abmelden / Ändern )

Google+ Foto

Du kommentierst mit Deinem Google+-Konto. Abmelden / Ändern )

Verbinde mit %s