WebLogic(12c) 12.1.2.0.0 Install in Silent Mode - Linux

INSTALLING WEBLOGIC 12C IN SILENT MODE:


Steps:
1. Extact your Jar file here:

[psoft@webserver1 WebLogic1212]$ ls -ltr
total 902044
-rwxrwx--- 1 psoft orainst 922778165 Jun 18  2013 wls_121200.jar

2. Create two directories:

[psoft@webserver1 WebLogic1212]$ ls -ltr
total 902044
-rwxrwx--- 1 psoft orainst 922778165 Jun 18  2013 wls_121200.jar
drwxrwx--- 2 psoft orainst      4096 Jan  2 04:54 INVENTORY_DIR
drwxrwx--- 2 psoft orainst      4096 Jan  2 05:20 RESPONSE_DIR

[psoft@webserver1 WebLogic1212]$ pwd
/u01/app/psoft/src/WebLogic1212
[psoft@webserver1 WebLogic1212]$

3. Create both the files(oraInst.loc and res.rsp) under the directories INVENTORY_DIR and RESPONSE_DIR

[psoft@webserver1 WebLogic1212]$ ls INVENTORY_DIR
oraInst.loc
[psoft@webserver1 WebLogic1212]$ ls RESPONSE_DIR
res.rsp
[psoft@webserver1 WebLogic1212]$

4. Write the below contents to respective files given below:

oraInst.loc :

[psoft@webserver1 INVENTORY_DIR]$ more oraInst.loc
inventory_loc=/u01/app/psoft
inst_group=orainst

res.rsp :

[psoft@webserver1 RESPONSE_DIR]$ more res.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 - this will be your installation directory
ORACLE_HOME=/u01/app/psoft/wls1212
#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=
[psoft@webserver1 RESPONSE_DIR]$

5. Check your Java Home directory - else export your Java Home directory:

[psoft@webserver1 WebLogic1212]$ echo $JAVA_HOME
/u01/app/psoft/jdk1.7.0_71


Once After creating above directories and files, set the JAVA_HOME or just include the java path in the below line and start the installation in SILENT MODE:

[psoft@webserver1 WebLogic1212]$ $JAVA_HOME/bin/java -jar ./wls_121200.jar -silent -responseFile /u01/app/psoft/src/WebLogic1212/RESPONSE_DIR/res.rsp -invPtrLoc /u01/app/psoft/src/WebLogic1212/INVENTORY_DIR/oraInst.loc
Extracting files.......
Starting Oracle Universal Installer

Checking if CPU speed is above 300 MHz.   Actual 2400.085 MHz    Passed
Checking swap space: must be greater than 512 MB.   Actual 6160376 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 31771 MB    Passed


Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2015-01-02_05-20-51AM
Log: /u01/app/psoft/logs/install2015-01-02_05-20-51AM.log
Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
Reading response file..
Expected result: One of enterprise-4,enterprise-5,enterprise-6,redhat-6,redhat-4,redhat-5,SuSE-10,SuSE-11
Actual Result: enterprise-6
Check complete. The overall result of this check is: Passed
CertifiedVersions Check: Success.
Expected result: 1.7
Actual Result: 1.7.0_71
Check complete. The overall result of this check is: Passed
CheckJDKVersion Check: Success.
Verifying data......
Copying Files...
-----------20%----------40%----------60%----------80%--------100%

The installation of WebLogic Server 12.1.2.0.0 completed successfully.
[psoft@webserver1 WebLogic1212]$


Your WebLogic Server Installation is successful.

Comments

Popular posts from this blog

PeopleTools 8.56 and Tuxedo 12.2.2 Error

ORA-01045: user ... lacks CREATE SESSION privilege; logon denied