Oracle WebLogic Server Download and Installation

To install Oracle WebLogic server:

  1. (Optional) It is recommended to update the system with latest security patch.

›_ Console

# dnf -y update
  1. Install/Open Oracle JDK.

Refer to the Oracle WebLogic support matrix for the version of java compatible with WebLogic 12c and 14c.

For java 8:

›_ Console

# tar -xvf jdk-8u361-linux-x64.tar.gz

# export PATH =/usr/lib/java/jdk1.8.0_361/

For java 11:

›_ Console

# tar -xvf jdk-11.0.6_linux-x64_bin.tar.gz

# export PATH=/home/oracle/jdk-11.0.6/bin:$PATH
  1. Download the Generic Installer for Oracle WebLogic server from the Oracle official site https://www.oracle.com/middleware/technologies/weblogic-server-installers-downloads.html.

  2. Pre-installation tasks:

›_ Console

# groupadd -g 1001 oinstall

# usermod -u 1001 -g oinstall oracle
  1. Create a directory to install the WebLogic software and set the necessary permissions.

›_ Console

# mkdir -p /u01/app/oracle/product/<WebLogic_Version> # chown -R oracle:oinstall /u01/app

# chmod -R 775 /u01
  1. Log in to Oracle user.

  2. Edit .bash_profile of Oracle user in vim text editor and add following environment variables in this file.

›_ Console

export JAVA_HOME=/usr/lib/java/jdk1.8.0_361/ export JRE_HOME=/usr/lib/java/jdk1.8.0_361/jre export PATH=$PATH:/usr/lib/java/jdk1.8.0_361/ export ORACLE_BASE=/u01/app/oracle

export MW_HOME=$ORACLE_BASE/product/14.1.1 export WLS_HOME=$MW_HOME/wlserver

export WL_HOME=$WLS_HOME

export DOMAIN_BASE=$ORACLE_BASE/config/domain export DOMAIN_HOME=$DOMAIN_BASE/admin/admindomain

Change the values according to your system configuration.

  1. Source/Execute the .bash_profile script to set environment variables for the current Linux shell.

›_ Console

$ . ~/.bash_profile
  1. Execute the unzip command to extract the WebLogic Generic Installer.

›_ Console

[oracle@orcl-weblogic ~]$ unzip fmw_<version>_wls_lite_Disk1_1of1.zip
tmpz20h8l50.jpg

Unzipping the Installer

  1. Execute the Generic Installer JAR file by using the following java command with Oracle user.

›_ Console

$ java -jar fmw_<version>_wls_lite_generic.jar
  1. A window will appear asking for installation related information. Follow the prompt and finish the installation.

  2. Open http://<oracle_weblogic_-server-ip>:7001 in any web browser and verify if the Oracle WebLogic page is visible. Log in with the Administrative user which was created in the installation and configuration steps.

tmp7v4c8fdf.jpg

Browser output over page 7001