Install Weblogic Server on CentOS 7

Sequence 1. Download and Install JDK required for Weblogic Server

  1. Check if you have Java Edition later than 1.8.0_191. If not Download JDK from
  2. https://repo.huaweicloud.com/java/jdk/8u191-b12/jdk-8u191-linux-x64.rpm

    # cd /tmp
    # wget https://repo.huaweicloud.com/java/jdk/8u191-b12/jdk-8u191-linux-x64.rpm
  1. Install jdk-8u191-linux-x64.rpm using rpm command.
  2. #  cd /tmp
    # rpm -ivh jdk-8u191-linux-x64.rpm
  1. Add Environment Variable to /etc/profile so that Java is available for all users.
  2. echo  "export JAVA_HOME=/usr/java/jdk1.8.0_191-amd64" >> /etc/profile
  1. Verify Java Version
  2. # java -version
    java version "1.8.0_191"
    Java(TM) SE Runtime Environment (build 1.8.0_191-b12)

    Sequence 2. Download and Install Oracle Weblogic Server
  1. Download Generic Installer for Oracle WebLogic Server and Oracle Coherence from
  2. https://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html

  1. Move the downloaded file fmw_12.2.0.3.0_wls_Disk1_1of1.zip to /tmp
  2. If you have Oracle 12c Installed, Jump to Step 6.
  3. Add Oracle Users and Groups
  4. # groupadd -g 1001 oinstall
    # useradd -u 1001 -g oinstall oracle
    # passwd oracle
  1. Create necessary Directories
  2. # mkdir -p /u01/app/oracle/product/12.2.0
  1. Make Directory for Oracle Weblogic Server Installation
  2. # mkdir -p /u01/app/oracle/config/{domains,applications}
  1. Set Necessary Permissions
  2. # chown -R oracle:oinstall /u01/app
    # chmod -R 775 /u01
  1. Logout and Login as “oracle” user.
  2. #  su - oracle
  1. Set/Add following environment variables in ~/.bash_profile. Be careful if you have existing installation. Make necessary changes keeping in mind the existing Values.
  2. export  ORACLE_BASE=/u01/app/oracle
    export ORACLE_HOME=$ORACLE_BASE/product/12.2.0
    export MW_HOME=$ORACLE_HOME
    export WLS_HOME=$MW_HOME/wlserver
    export DOMAIN_BASE=$ORACLE_BASE/config/domains
    export DOMAIN_HOME=$DOMAIN_BASE/mydomain
  1. Extract fmw_12.2.0.3.0_wls_Disk1_1of1.zip using unzip command.
  2. $ cd /tmp
    $ unzip fmw_12.2.0.3.0_wls_Disk1_1of1.zip
  1. Execute fmw_12.2.0.3.0_wls.jar using java command. To install Weblogic Server 12c in Graphical mode, you should be running CentOS 7 server in Graphical target.
  2. Use these credentials when asked
    User: weblogic
    Password: weblogic@12
    Admin Server: weblogic
    Port 7001 - 7002
    $ java -jar fmw_12.2.0.3.0_wls.jar
  1. Open Firewall ports if firewall is running
  2. # firewall-cmd --permanent --add-port=7001/tcp
    # firewall-cmd --reload
  1. Configure boot.properties for easier Weblogic Startup.
  2. $ mkdir -p $DOMAIN_HOME/servers/weblogic/security/
    $ echo "username=weblogic" > $DOMAIN_HOME/servers/weblogic/security/boot.properties
    $ echo "password=weblogic@12" >> $DOMAIN_HOME/servers/weblogic/security/boot.properties
  1. Start Weblogic Server.
  2. $ $DOMAIN_HOME/startWebLogic.sh  & 
  1. Access your Weblogic Server at https://<ip address or hostname>:7002/console

Complete this lab successfully and avail 80% discount on any course on this website. Drop a mail with screenshot at admin@theskillpedia.com and we will share the discount coupon with you.

Take a look at the Courses offered with Course Contents at https://www.theskillpedia.com/category/course-contents/

September 20, 2019

0 responses on "Install Weblogic Server on CentOS 7"

Leave a Message

Designed by  © Alliance Softech Pvt Ltd. All rights reserved.
WhatsApp chat
X