cinqict

Monday, August 10, 2015

Basic Weblogic Installation 12.1.3 silent mode

In this article we are going to install (not configure) a basic installation of the Oracle Weblogic 12.1.3 server.

The software can be downloaded from oracle.com and is the generic installer file called fmw_12.1.3.0.0_wls.jar

We are using an Oracle Linux 6 server with a java 7 jdk running in /w001/app/jdk

Create a oraInst.loc file

vi /w001/app/oraInst.loc

with the following content:

inventory_loc=/w001/app/oraInventory
inst_group=oraoas

Run the following command to start the silent installer:

java -jar fmw_12.1.3.0.0_wls.jar -invPtrLoc /w001/app/oraInst.loc -silent -responseFile /w001/software/oracle_fusion/weblogic/generic/wl1213_responsefile

In this command, the invPrtLoc points to the created oraInst.loc file.

Make sure you use the full path to the response file in the responseFile option, otherwise it will not find the responsefile.

The output will show something like this

Reading response file..
Starting check : CertifiedVersions
Expected result: One of enterprise-4,enterprise-5,enterprise-6,redhat-6,redhat-4,redhat-5,SuSE-11
Actual Result: enterprise-6
Check complete. The overall result of this check is: Passed
CertifiedVersions Check: Success.
Starting check : CheckJDKVersion
Expected result: 1.7.0_15
Actual Result: 1.7.0_51
Check complete. The overall result of this check is: Passed
CheckJDKVersion Check: Success.
Validations are enabled for this session.
Verifying data......
Copying Files...
You can find the log of this install session at:
/tmp/OraInstall2015-08-10_05-13-44PM/install2015-08-10_05-13-44PM.log
-----------20%----------40%----------60%----------80%--------100%

The installation of Oracle Fusion Middleware 12c WebLogic Server and Coherence 12.1.3.0.0 completed successfully.
Logs successfully copied to /w001/app/oraInventory/logs.

The response file that was used in this example is listed below and installs the same Oracle Home as the gui installation which found elsewhere on this blog

 

[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=/w001/app/mwhome_01

#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=<SECURE VALUE>

#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=<SECURE VALUE>

#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=

No comments:

Post a Comment