Oracle WebLogic Server Download and Installation

To install Oracle WebLogic server:

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

›_ Console

# dnf -y update
  1. Install or 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-8u211-linux-x64.tar.gz

For Java 11:

›_ Console

C:\> cngtool ListKeys# tar -xvf jdk-11.0.6_linux-x64_bin.tar.gz
  1. Download Generic Installer for Oracle WebLogic server from the official Oracle site:

https://www.oracle.com/middleware/technologies/weblogic-server-installers-downloads.html.

  1. Pre-installation tasks.

›_ Console

# groupadd -g 1001 oinstall

# usermod -u 1001 -g oinstall oracle
  1. Create a directory to install WebLogic software and to set 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.

›_ Console

# vim .bash_profile

Add following environment variables in /home/oracle/.bash_profile.

›_ Console

export JAVA_HOME=/home/oracle/jdk1.8.0_211 export JRE_HOME=/home/oracle/jdk1.8.0_211/jre export PATH=$PATH:/home/oracle/jdk1.8.0_211/bin/ 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

export CLASSPATH=/opt/utimaco/lib/CryptoServerJCE.jar

Change the values according to your system configuration.

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

›_ Console

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

›_ Console

$ unzip fmw_<version>_wls_lite_Disk1_1of1.zip
tmpdzxbj5kj.jpg

Unzipping the installer

  1. Execute the Generic Installer JAR file by using 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 Oracle WebLogic page is visible. Login with the Administrative user which was created in the installation and configuration steps.

tmp_ztqjtsw.jpg

Browser output over page 7001