26 October 2015

Step by step installation of Oracle WebLogic Server 12c R3 (12.1.3) On RHEL 5

Step by step installation of Oracle WebLogic Server 12c (12.1.3) On RHEL 5


This post will cover the  brief overview of installing Oracle WebLogic Server (WLS) 12cR1 (12.1.3) on RHEL 5. 

Download the Weblogic Server 12c software from Oracle Technology Network:

>> Java Development Kit (I used 7u60 jdk-7u60-linux-x64.tar.gz) 

>> WebLogic Server 12c Release 3 - Generic WebLogic Server and Coherence Installer (881M)


Create a group and user:

groupadd -g 54321 oinstall
useradd -u 54321 -g oinstall oracle
passwd oracle

Create the directories in which the Oracle software will be installed.

mkdir -p /u01/app/oracle/product/fmw12cr3
mkdir -p /u01/app/oracle/config/domains
mkdir -p /u01/app/oracle/config/applications
chown -R oracle:oinstall /u01
chmod -R 775 /u01/

Append the following entries into the "/home/oracle/.bash_profile" file.

# Adjust paths as required.
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/fmw12cr3
export MW_HOME=$ORACLE_HOME
export WLS_HOME=$MW_HOME/wlserver
export WL_HOME=$WLS_HOME
export DOMAIN_BASE=$ORACLE_BASE/config/domains
export DOMAIN_HOME=$DOMAIN_BASE/mydomain
export JAVA_HOME=/u01/app/oracle/jdk1.7.0_60
export PATH=$JAVA_HOME/bin:$PATH

Install the JDK:

$ su - oracle
$ cd $ORACLE_BASE
$ tar -xvzf /tmp/jdk-7u60-linux-x64.tar.gz


Install WebLogic Server (WLS) 12c 12.1.3

















Click the "Next" button on the welcome screen.

















Enter the middleware home ("/u02/app/oracle/product/fmw12cr3") and click the "Next" button.



















Accept the "WebLogic Server Installation" option by clicking the "Next" button.



















Wait for the prerequisite checks to complete. If there are failures, correct them and rerun the checks. If there are no failures, click the "Next" button.































click the "Install" button.


















Wait for the installation to complete, then click the "Next" button.



















On the installation complete screen, click the "Finish" button to launch the Configuration Wizard.



















>> Create Domain

If you have not chosen to launch the Configuration Wizard as part of the installation, you can do it manually.
$ $WLS_HOME/common/bin/config.sh

















Select the required product template and click the "Next" button.















Enter the administrator credentials and click the "Next" button.
Password:@@@@@@@@@
















Enter the domain mode and JDK details, then click the "Next" button.



















Select any required advanced configuration options. For this example I ignored the advanced configuration. Click the "Next" button.
















If you are happy with the configuration summary screen, click the "Create" button. 



















 


Once the domain is created, click the "Next" button.

















Note of the Admin Server URL & click the "Finish" button.
http://hostname:7001/console




















>> Post-Installation:

If you chose the "Production Mode" options for the domain, you will need to create a "boot.properties" file for the scripts referred to later to work without credentials. Adjust the DOMAIN_HOME and credentials appropriately.
$ export DOMAIN_HOME=$ORACLE_BASE/config/domains/mydomain

$ mkdir -p $DOMAIN_HOME/servers/AdminServer/security

$ echo "username=weblogic" > $DOMAIN_HOME/servers/AdminServer/security/boot.properties

$ echo "password=Password1" >> $DOMAIN_HOME/servers/AdminServer/security/boot.properties









Its done.....!!!!!!!!!!!




No comments:

Post a Comment