Tuesday, June 28, 2011

Working example of Oracle Service Bus 11g silent installation.

I am administering some clients remotely, so it is vital to be able to install and configure with no GUI because I currently have ping time=391 ms to my client.

All that we need:
1. prepare
2. install Oracle WebLogic Server
3. install Oracle Service Bus then.

let's go.

1. some preparation:

#create users and groups
groupadd -g 100 oinstall
groupadd -g 110 dba
useradd -u 100 -g oinstall -G dba oracle
passwd oracle

# create /var/opt/oracle/oraInst.loc file
echo "inventory_loc=/u01/oracle
inst_group=oinstall" > /var/opt/oracle/oraInst.loc


2. Install Oracle WebLogic Server 11g
(all output included)

# create silent xml file:
<bea-installer>
     <input-fields>
       <data-value name="BEAHOME" value="/u01/oracle/mw" />
       <data-value name="WLS_INSTALL_DIR" value="/u01/oracle/mw/wls_10.3" />
       <data-value name="COMPONENT_PATHS" value="WebLogic Server" />
       <data-value name="INSTALL_NODE_MANAGER_SERVICE" value="yes" />
       <data-value name="NODEMGR_PORT" value="5559" />
       <data-value name="INSTALL_SHORTCUT_IN_ALL_USERS_FOLDER" value="yes"/>
</input-fields>
</bea-installer>