Vous êtes sur la page 1sur 2

Oracle WebLogic Server (WLS) 12cR2 (12.2.

1) Installation on Oracle Linux 6 and 7

This article presents a brief overview of installing Oracle WebLogic Server (WLS)
12cR2 (12.2.1) on Oracle Linux 6 and 7.

Assumptions
Download Software
Setup
Installation
Create Domain
Post-Installation
Patching WebLogic Server

Related articles.

WebLogic 12c Silent Installation


Oracle Forms and Reports 12c (12.2.1) Installation on Oracle Linux 6 and 7
WebLogic Server 12cR1 (12.1.2 and 12.1.3) : WebLogic Server 12cR2 (12.2.1) :
ADF Application Development Runtime - Repository Configuration Utility (RCU)
Forms and Reports Services 12c (12.2.1) : Create a New Domain

Assumptions

This article assumes you have an existing server (real or virtual) with either
Oracle Linux 6.x or 7.x installed on it. For instruction on how to do this check
out the following articles.

Oracle Linux 6 (OL6) Installation


Oracle Linux 7 (OL7) Installation

I picked the "Desktop" option for the OL6 installation and the "Server with GUI"
option for OL7, so I would have a graphical interface without having to select
separate package groups. Everything in the installation will be 64-bit.
Software

Download the Weblogic Server 12c software from Oracle Technology Network.

Java Development Kit (I used 8u144 jdk-8u144-linux-x64.tar.gz)


Fusion Middleware Infrastructure Installer (1.4G)

Remember, you will need the infrastructure version of WebLogic if you plan to do an
Oracle Forms and Reports Services installation.
Setup

The following actions should be performed by the "root" user.

Make sure the "/etc/hosts" file contains correct entries for both the "localhost"
and real host names.

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4


192.168.56.133 ol6.localdomain ol6

Create a new group and user.

groupadd -g 54321 oinstall


useradd -u 54321 -g oinstall oracle
passwd oracle

Create the directories in which the Oracle software will be installed.


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

Append the following entries into the "/home/oracle/.bash_profile" file.

# Adjust paths as required.


export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/12.2.1
export MW_HOME=$ORACLE_HOME
export WLS_HOME=$MW_HOME/wlserver
export WL_HOME=$WLS_HOME
export DOMAIN_BASE=$ORACLE_BASE/config/domains
export DOMAIN_HOME=$DOMAIN_BASE/mydomain
export JAVA_HOME=/u01/app/oracle/jdk1.8.0_144
export PATH=$JAVA_HOME/bin:$PATH

Install the JDK.

# su - oracle
$ cd $ORACLE_BASE
$ tar -xvzf /tmp/jdk-8u144-linux-x64.gz

For Oracle Linux 6, as specified in MOS Note [ID 1487773.1], amend the
"/etc/security/limits.d/90-nproc.conf" file, making the following change.

# From
* soft nproc 1024

#To
* - nproc 16384

Installation

The images were originally captured from a 12.2.1.0 installation. The process is
the same for 12.2.1.2.

Run the installer as the "oracle" user.

$ unzip fmw_12.2.1.2.0_infrastructure_Disk1_1of1.zip
$ $JAVA_HOME/bin/java -jar fmw_12.2.1.2.0_infrastructure.jar

If this is is the first installation on the machine you will need to specify an
inventory location. Enter the inventory location, like "/u01/app/oraInventory" and
click the "OK" button.

Reference : https://oracle-base.com/articles/12c/weblogic-installation-on-oracle-
linux-6-and-7-1221

Vous aimerez peut-être aussi