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

    # cd /tmp
    # wget
  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

  1. Move the downloaded file 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 WLS_HOME=$MW_HOME/wlserver
    export DOMAIN_BASE=$ORACLE_BASE/config/domains
    export DOMAIN_HOME=$DOMAIN_BASE/mydomain
  1. Extract using unzip command.
  2. $ cd /tmp
    $ unzip
  1. Execute fmw_12. 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: [email protected]
    Admin Server: weblogic
    Port 7001 - 7002
    $ java -jar fmw_12.
  1. Open Firewall ports if firewall is running
  2. # firewall-cmd --permanent --add-port=7001/tcp
    # firewall-cmd --reload
  1. Configure for easier Weblogic Startup.
  2. $ mkdir -p $DOMAIN_HOME/servers/weblogic/security/
    $ echo "username=weblogic" > $DOMAIN_HOME/servers/weblogic/security/
    $ echo "[email protected]" >> $DOMAIN_HOME/servers/weblogic/security/
  1. Start Weblogic Server.
  2. $ $DOMAIN_HOME/  & 
  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 [email protected] and we will share the discount coupon with you.

Take a look at the Courses offered with Course Contents at

September 20, 2019

0 responses on "Install Weblogic Server on CentOS 7"

Leave a Message

WhatsApp chat