Red Hat Training

A Red Hat training course is available for Red Hat JBoss Enterprise Application Platform

2.7. Automated Installation

2.7.1. Install Multiple Instances of JBoss EAP 6 (Installer)

Prerequisites

Summary

Multiple identical instances of JBoss EAP 6 can be installed using an automatic installation script, generated during the installation process, using either the Graphical or Text-based installer. This topic covers the steps required to install JBoss EAP 6 using a generated script.

Procedure 2.11. Automated Installation

  • In a terminal, run the following command to install JBoss EAP 6 using the automatic installation script:
    java -jar jboss-eap-6.x.x-installer.jar auto.xml

    Note

    When you use the automatic installation script (auto.xml) for automated installation the installer by default will generate a prompt for entering all passwords.
Result

An identical instance of JBoss EAP 6 has been installed, based on the automatic installation script.

2.7.2. Use Automatic Installation Script (auto.xml) from Different Sources for Installing JBoss EAP 6

The installer can use the automatic installation script (auto.xml) from any of the network locations irrespective of where it is being run. Thus the installer (jboss-eap-6.x.x-installer.jar) and the automatic installation script (auto.xml) can be located on different machines. This topic covers the steps to install JBoss EAP 6 automatically from a different network location.
  • In a terminal type either of the following commands to specify the automatic installation script (present at a different network location) to your current network location.
    To access the installation script via HTTP, enter the following command, replacing network-host with the hostname of the FTP or HTTP server and auto.xml with the filename of the installation script.
    java -jar jboss-eap-6.x.x-installer.jar http://network-host/auto.xml
    To access the installation script via FTP, enter the following command:
    java -jar jboss-eap-6.x.x-installer.jar ftp://network-host/auto.xml
Result

JBoss EAP 6 is installed on your machine.