Wednesday, 18 October 2017

Weblogic 12c installation script

Weblogic 12c installation script

This script we can use to Install WLS Infra for 12c FMW versions.

 silent_install_WLS.rsp

[ENGINE]

#DO NOT CHANGE THIS.
Response File Version=1.0.0.0.0

[GENERIC]

#The oracle home location. This can be an existing Oracle Home or a new Oracle Home
ORACLE_HOME=/home/soa/srinfo01/Oracle/Middleware/Oracle_Home


#Set this variable value to the Installation Type selected. e.g. WebLogic Server, Coherence, Complete with Examples.
INSTALL_TYPE=WebLogic Server

#Provide the My Oracle Support Username. If you wish to ignore Oracle Configuration Manager configuration provide empty string for user name.
MYORACLESUPPORT_USERNAME=

#Provide the My Oracle Support Password
MYORACLESUPPORT_PASSWORD=

#Set this to true if you wish to decline the security updates. Setting this to true and providing empty string for My Oracle Support username will ignore the Oracle Configuration Manager configuration
DECLINE_SECURITY_UPDATES=true

#Set this to true if My Oracle Support Password is specified
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false

#Provide the Proxy Host
PROXY_HOST=

#Provide the Proxy Port
PROXY_PORT=

#Provide the Proxy Username
PROXY_USER=

#Provide the Proxy Password
PROXY_PWD=

#Type String (URL format) Indicates the OCM Repeater URL which should be of the format [scheme[Http/Https]]://[repeater host]:[repeater port]

COLLECTOR_SUPPORTHUB_URL=

oraInst.loc

inventory_loc=/home/soa/srinfo01/app/oraInventory

inst_group=soa

installWLS.sh

#!/bin/sh


# Install WLS Infra

export JAVA_HOME=/home/soa/srinfo01/Oracle/Java/jdk1.8.0_71
export FMWJAR_HOME=/home/soa/srinfo01/app/softwares/FMW
export RESPONSEFILE_HOME=/home/soa/srinfo01/app/ResponseFiles
export INVENTORY_HOME=/home/soa/srinfo01/app/oraInventory


$JAVA_HOME/bin/java -jar $FMWJAR_HOME/fmw_12.2.1.1.0_wls.jar  -silent -responseFile $RESPONSEFILE_HOME/silent_install_WLS.rsp -invPtrLoc $INVENTORY_HOME/oraInst.loc

No comments:

Post a Comment