Friday, October 11, 2013

[WLS] Quick Silent-mode Installation Guide

You need to install Oracle WebLogic 10.3.6 but you don't have GUI access.

Do a silent install.

1. Create a silent.xml with a similar content:
<?xml version="1.0" encoding="UTF-8"?>
       <data-value name="BEAHOME" value="/u01/app/oracle/Middleware" />
       <data-value name="WLS_INSTALL_DIR" value="/u01/app/oracle/Middleware/wlserver_10.3" />
       <data-value name="COMPONENT_PATHS"
        value="WebLogic Server/Core Application Server|WebLogic Server
/Administration Console|WebLogic Server/Configuration Wizard and Upgrade 
Framework|WebLogic Server/Web 2.0 HTTP Pub-Sub Server|WebLogic Server/WebLogic 
JDBC Drivers|WebLogic Server/Third Party JDBC Drivers|WebLogic Server
/WebLogic Server Clients|WebLogic Server/WebLogic Web Server Plugins
|WebLogic Server/UDDI and Xquery Support|WebLogic Server/Server Examples|Oracle Coherence/Coherence Product Files" />
       <data-value name="INSTALL_NODE_MANAGER_SERVICE" value="yes" />
       <data-value name="NODEMGR_PORT" value="5556" />
       <data-value name="INSTALL_SHORTCUT_IN_ALL_USERS_FOLDER" value="yes"/>
2. Execute the following command:
java -jar wls1036_generic.jar -mode=silent -silent_xml=./silent.xml
3. Wait until it finish and verify the MW_HOME.

If you want to upgrade instead of install then the silent.xml has to be like this:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<data-value name="BEAHOME" value="/u01/app/oracle/Middleware" />

Oracle® Fusion Middleware Installation Guide for Oracle WebLogic Server 11g Release 1 (10.3.6). Running the Installation Program in Silent Mode.