Firstly, verify that your JVM is installed properly by following these instructions.
Now chose a directory for Qpid broker installation. This directory will be used for the Qpid JARs and configuration files. It need not be the same location as the work directory used for the persistent message store or the log file (you will choose this location later). For the remainder this example we will assume that location /usr/local/qpid has been chosen.
Next extract the qpid-broker-8.0.6-bin.tgz package into the directory.
mkdir /usr/local/qpid cd /usr/local/qpid tar xvzf qpid-broker-8.0.6-bin.tgz
The extraction of the broker package will have created a directory qpid-broker/8.0.6 within /usr/local/qpid
ls -la qpid-broker/8.0.6/ total 56 drwxrwxr-x. 5 alex alex 4096 Nov 25 11:43 . drwxrwxr-x. 3 alex alex 4096 Nov 25 11:43 .. drwxr-xr-x. 2 alex alex 4096 Nov 24 23:38 bin drwxr-xr-x. 2 alex alex 4096 Nov 24 23:38 etc drwxrwxr-x. 2 alex alex 4096 Nov 25 11:43 lib -rw-r--r--. 1 alex alex 28143 Nov 24 23:38 LICENSE -rw-r--r--. 1 alex alex 3409 Nov 24 23:38 NOTICE -rw-r--r--. 1 alex alex 116 Nov 24 23:38 README.txt
Qpid requires a work directory. This directory is used for the default location of the Qpid log file and is used for the storage of persistent messages. The work directory can be set on the command-line (for the lifetime of the current shell), but you will normally want to set the environment variable permanently the user's shell profile file (~/.bash_profile for Bash etc).
export QPID_WORK=/var/qpidwork
If the directory referred to by QPID_WORK does not exist, the Broker will attempt to create it on start-up.
Apache Qpid, Messaging built on AMQP; Copyright © 2015 The Apache Software Foundation; Licensed under the Apache License, Version 2.0; Apache Qpid, Qpid, Qpid Proton, Proton, Apache, the Apache feather logo, and the Apache Qpid project logo are trademarks of The Apache Software Foundation; All other marks mentioned may be trademarks or registered trademarks of their respective owners