Install WebLogic Server 12.2.1.4
Setup
Package | Version | Install Location |
---|---|---|
WebLogic | 12.2.1.4 | /opt/weblogic/12.2.1.4.0 |
Java | jdk1.8.0_241 | /opt/jdk1.8.0_241 |
Prerequisites
- Access as root user or user having root privileges
- Latest version of Java 8
- Create a new user and group "weblogic". This user will be used to run weblogic services
Download Java 8 latest version from Oracle official website and install on server
# /opt/jdk1.8.0_241/bin/java -version
java version "1.8.0_241"
Java(TM) SE Runtime Environment (build 1.8.0_241-b07)
Java HotSpot(TM) 64-Bit Server VM (build 25.241-b07, mixed mode)
Set /opt/weblogic as home directory for weblogic user. This directory will also be used as WebLogic installed files
# useradd -d /opt/weblogic weblogic
# id weblogic uid=1003(weblogic) gid=1003(weblogic) groups=1003(weblogic)
# id weblogic uid=1003(weblogic) gid=1003(weblogic) groups=1003(weblogic)
Download WebLogic Server
- Login as root user or with user having root privileges
- Download WebLogic Server 12.2.1.4 from the official website using the following link.
Download WebLogic Server 12.2.1.4
# ls -l fmw_12.2.1.4.0_wls.jar
-r-xr-xr-x 1 root root 866733871 Aug 29 15:13 fmw_12.2.1.4.0_wls.jar
WebLogic Server Pre-Install Setup
- Open a new SSH terminal and login as weblogic user
- Set weblogic user environment variables
- Create response file for WebLogic Install
- Create inventory response file
# vi .bash_profile
export MW_HOME=/opt/weblogic/12.2.1.4.0
export WLS_HOME=$MW_HOME/wlserver
export WL_HOME=$WLS_HOME
# Set to the appropriate JAVA_HOME.
export JAVA_HOME=/opt/jdk1.8.0_241
export PATH=$JAVA_HOME/bin:$PATH
export DOMAIN_BASE=$WL_HOME/config/domains
export DOMAIN_HOME=$DOMAIN_BASE/ltsDOMAIN
# vi /tmp/fmw_infr.rsp
[ENGINE]
Response File Version=1.0.0.0.0
[GENERIC]
ORACLE_HOME=/opt/weblogic/12.2.1.4.0
INSTALL_TYPE=WebLogic Server
MYORACLESUPPORT_USERNAME=
MYORACLESUPPORT_PASSWORD=
DECLINE_SECURITY_UPDATES=true
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
PROXY_HOST=
PROXY_PORT=
PROXY_USER=
PROXY_PWD=
COLLECTOR_SUPPORTHUB_URL=
# vi /tmp/oraInst.loc
inventory_loc=/opt/weblogic/oraInventory
inst_group=weblogic
WebLogic Server Pre-Install Setup
- Open a new SSH terminal and login as weblogic user
- Install WebLogic Server
- WebLogic Server Install is complete.
# java -jar /tmp/fmw_12.2.1.4.0_wls.jar -silent -responseFile /tmp/fmw_infr.rsp -invPtrLoc /tmp/oraInst.loc
Launcher log file is /tmp/OraInstall2021-08-29_04-27-11PM/launcher2021-08-29_04-27-11PM.log.
Extracting the installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done
Checking if CPU speed is above 300 MHz. Actual 2903.996 MHz Passed
Checking swap space: must be greater than 512 MB. Actual 1023 MB Passed
Checking if this platform requires a 64-bit JVM. Actual 64 Passed (64-bit not required)
Checking temp space: must be greater than 300 MB. Actual 3656 MB Passed
Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2021-08-29_04-27-11PM
Log: /tmp/OraInstall2021-08-29_04-27-11PM/install2021-08-29_04-27-11PM.log
Copyright (c) 1996, 2019, Oracle and/or its affiliates. All rights reserved.
Reading response file..
Skipping Software Updates
Starting check : CertifiedVersions
Expected result: One of oracle-6, oracle-7, redhat-7, redhat-6, SuSE-11, SuSE-12, SuSE-15
Actual Result: redhat-7.6
Check complete. The overall result of this check is: Passed
CertifiedVersions Check: Success.
Starting check : CheckJDKVersion
Expected result: 1.8.0_191
Actual Result: 1.8.0_241
Check complete. The overall result of this check is: Passed
CheckJDKVersion Check: Success.
Validations are enabled for this session.
Verifying data
Copying Files
Percent Complete : 10
Percent Complete : 20
Percent Complete : 30
Percent Complete : 40
Percent Complete : 50
Percent Complete : 60
Percent Complete : 70
Percent Complete : 80
Percent Complete : 90
Percent Complete : 100
The installation of Oracle Fusion Middleware 12c WebLogic Server and Coherence 12.2.1.4.0 completed successfully.
Logs successfully copied to /opt/weblogic/oraInventory/logs.