Thursday, December 21, 2017

Oracle Weblogic Server 12.2.1.2.0 installation in linux server

Oracle Weblogic Server 12.2.1.2.0 installation in Linux server


Follow the pre-requisite steps as per my previous blog. I am giving commands without detail description.




http://psadmintasks.blogspot.com/2017/03/oracle-weblogic-12-server-installation.html




$ export JAVA_HOME=/Java/jdk1.8.0_151
$ export ORACLE_HOME=/weblogic




$ $JAVA_HOME/bin/java -jar fmw_12.2.1.2.0_wls.jar -silent -response /wls1221.rep -invPtrLoc /oraInst.loc
Launcher log file is /tmp/OraInstall2017-12-21_11-26-35PM/launcher2017-12-21_11-26-35PM.log.
Option "-response" is deprecated; use "-responseFile" instead.
Extracting the installer . . . . . . Done
Checking if CPU speed is above 300 MHz.   Actual 2596.502 MHz    Passed
Checking swap space: must be greater than 512 MB.   Actual 7975 MB    Passed
Checking if this platform requires a 64-bit JVM.   Actual 64    Passed (64-bit not required)
Checking temp space: must be greater than 300 MB.   Actual 2050 MB    Passed

Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2017-12-21_11-26-35PM
Log: /tmp/OraInstall2017-12-21_11-26-35PM/install2017-12-21_11-26-35PM.log
Copyright (c) 1996, 2016, Oracle and/or its affiliates. All rights reserved.
Reading response file..
Skipping Software Updates
Starting check : CertifiedVersions
Expected result: One of oracle-6,oracle-7,redhat-7,redhat-6,SuSE-11,SuSE-12
Actual Result: redhat-7.2
Check complete. The overall result of this check is: Passed
CertifiedVersions Check: Success.

Starting check : CheckJDKVersion
Expected result: 1.8.0_101
Actual Result: 1.8.0_151
Check complete. The overall result of this check is: Passed
CheckJDKVersion Check: Success.

Validations are enabled for this session.
Verifying data
Copying Files
Percent Complete : 10
Percent Complete : 20
Percent Complete : 30
Percent Complete : 40
Percent Complete : 50
Percent Complete : 60
Percent Complete : 70
Percent Complete : 80
Percent Complete : 90
Visit http://www.oracle.com/support/policies.html for Oracle Technical Support policies.
Percent Complete : 100
The installation of Oracle Fusion Middleware 12c WebLogic Server and Coherence 12.2.1.2.0 completed successfully.
Logs successfully copied to /oraInventory/logs.






Verification of installation -
Add opatch to PATH variable
export PATH=${PATH}:/XX/OPatch


Run following command to check Installation


$opatch lsinventory


For silent installation you will need to create response and parameter file and use it in command line




Response file : Copy paste content in file



[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=/opt/bea/weblogic
#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=




Location file : -
inventory_loc=/oraInventory
inst_group=<user group name>

No comments:

Post a Comment