Sequence 1. Download and Install JDK required for Weblogic Server

 

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. Check if you have Java Edition later than 1.8.0_191. If not Download JDK from
# cd /tmp # rpm -ivh jdk-8u191-linux-x64.rpm
  1. Install jdk-8u191-linux-x64.rpm using rpm command.
echo "export JAVA_HOME=/usr/java/jdk1.8.0_191-amd64" >> /etc/profile
  1. Add Environment Variable to /etc/profile so that Java is available for all users.
# 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. Verify Java Version

https://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html

  1. Download Generic Installer for Oracle WebLogic Server and Oracle Coherence from
# groupadd -g 1001 oinstall # useradd -u 1001 -g oinstall oracle # passwd oracle
  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
# mkdir -p /u01/app/oracle/product/12.2.0
  1. Create necessary Directories
# mkdir -p /u01/app/oracle/config/{domains,applications}
  1. Make Directory for Oracle Weblogic Server Installation
# chown -R oracle:oinstall /u01/app # chmod -R 775 /u01
  1. Set Necessary Permissions
# su - oracle
  1. Logout and Login as “oracle” user.
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. Set/Add following environment variables in ~/.bash_profile. Be careful if you have existing installation. Make necessary changes keeping in mind the existing Values.
$ cd /tmp $ unzip fmw_12.2.0.3.0_wls_Disk1_1of1.zip
  1. Extract fmw_12.2.0.3.0_wls_Disk1_1of1.zip using unzip command.
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. 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.
# firewall-cmd --permanent --add-port=7001/tcp # firewall-cmd --reload
  1. Open Firewall ports if firewall is running
$ 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. Configure boot.properties for easier Weblogic Startup.
$ $DOMAIN_HOME/startWebLogic.sh &
  1. Start Weblogic Server.
  1. Access your Weblogic Server at https://: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/