See information about the latest product version
Installing WebSphere Message Broker components and prerequisite products by using the sample script file
Use the Linux and UNIX installAllSilent.sh or Windows installAllSilent.bat sample script file to install the WebSphere® Message Broker components and prerequisite products in silent mode.
For the latest details of all supported levels of hardware and software, visit the WebSphere Message Broker Requirements website.
Two sample script files are supplied. For Linux and UNIX the installAllSilent.sh script file is located in /sample-scripts, for Windows the installAllSilent.bat script file is located in \sample-scripts. Use the relevant script file to install the following products:
- Broker component
- WebSphere Message Broker Toolkit (Linux on x86, Linux on x86-64, and Windows only)
- WebSphere Message Broker Explorer (Linux on x86, Linux on x86-64, and Windows only)
- WebSphere MQ
- WebSphere Message Broker ODBC Database Extender
If you use a script file, you can install everything that you need, and do not have to follow the procedures that are described in other chapters for installing the Broker component, the WebSphere Message Broker Toolkit, and the WebSphere Message Broker Explorer.
Multiple installations on a single computer
You can use a script file to install only one instance of each component on a single computer. If you have selected and installed the broker or toolkit components, you cannot use the script file to install these components again in a different location.
To install additional instances, run the appropriate installation wizard directly. For more information about completing these tasks, see Installing the Broker component, Installing the WebSphere Message Broker Toolkit, and Installing WebSphere Message Broker Explorer.
The script file also manages only one installation of WebSphere MQ on a single computer. Refer to the relevant documentation for these products if you want to install multiple instances.
Installation summary
Calling the script file
The installAllSilent.sh and installAllSilent.bat script files work with both physical media (the DVD) and with electronic images that you have downloaded from IBM® Passport Advantage®. If you run the script without specifying any additional options, the script depends on a file structure that is identical to the file structure on the DVD. For more information about the structure of the DVD, see DVD package.
- Linux and UNIX
- From a command prompt, change to the /sample-scripts directory
and run one of the following commands:
installAllSilent.sh -ACCEPT_ALL_LICENSES
You can customize the script depending on your requirements. For example, you might want to refine the components you require to be installed by editing and updating the script file. If the installation images are located elsewhere, run the script with the following options:
installAllSilent.sh -ACCEPT_ALL_LICENSES -WMQ_INSTALL_IMAGE /Directory_of_WMQ_install_image
Where Directory_of_WMQ_install_image is the location of the WebSphere MQ installation image.
installAllSilent.sh -ACCEPT_ALL_LICENSES -WMB_INSTALL_IMAGE /Directory_of_WMB_install_image
Where Directory_of_WMB_install_image is the location of the Broker component installation image.
- Linux on x86 and Linux on x86-64 only
- From a command prompt, change to the /sample-scripts directory
and run one of the following commands:
installAllSilent.sh -ACCEPT_ALL_LICENSES -WMBX_INSTALL_IMAGE /Directory_of_WMB_Explorer_install_image
Where Directory_of_WMB_Explorer_install_image is the location of the WebSphere Message Broker Explorer installation image.
installAllSilent.sh -ACCEPT_ALL_LICENSES -WMBTK_INSTALL_IMAGE /Directory_of_WMB_Toolkit_install_image
Where Directory_of_WMB_Toolkit_install_image is the location of the WebSphere Message Broker Toolkit installation image.
- Windows 32-bit and Windows 64-bit
- From a command prompt, change to the \sample-scripts directory
and run one of the following commands:
installAllSilent.bat -ACCEPT_ALL_LICENSES
You can customize the script depending on your requirements. For example, you might want to refine the components you require to be installed by editing and updating the script file. If the installation images are located elsewhere, run the script with the following options:
installAllSilent.bat -ACCEPT_ALL_LICENSES -WMQ_INSTALL_IMAGE \Directory_of_WMQ_install_image
Where Directory_of_WMQ_install_image is the location of the WebSphere MQ installation image.
installAllSilent.bat -ACCEPT_ALL_LICENSES -WMB_INSTALL_IMAGE \Directory_of_WMB_install_image
Where Directory_of_WMB_install_image is the location of the Broker component installation image.
installAllSilent.bat -ACCEPT_ALL_LICENSES -WMBX_INSTALL_IMAGE \Directory_of_WMB_Explorer_install_image
Where Directory_of_WMB_Explorer_install_image is the location of the WebSphere Message Broker Explorer installation image.
installAllSilent.bat -ACCEPT_ALL_LICENSES -WMBTK_INSTALL_IMAGE \Directory_of_WMB_Toolkit_install_image
Where Directory_of_WMB_Toolkit_install_image is the location of the WebSphere Message Broker Toolkit installation image.
On Linux and UNIX, the WebSphere Message Broker ODBC Database Extender SupportPac automatically installs in silent mode when the installation of the Broker component completes. For more information, see Installing the WebSphere Message Broker ODBC Database Extender.