Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Download the latest stable ActiveMQ release (apache-activemq-x.y.z.tar.gz).
  2. Move to the installation root cd /usr/local.
  3. Unpack the release tar xzvf /path/to/apache-activemq-x.y.z.tar.gz
  4. Create ActiveMQ user account useradd activemq
  5. Set up key store in /usr/local/apache-activemq-x.y.z/conf/broker.ks
  6. Create trust store and import trusted certificates into /usr/local/apache-activemq-x.y.z/conf/broker.ts
  7. Edit the configuration files vim /usr/local/apache-activemq-x.y.z/conf/{activemq,jetty}.xml
  8. Give the activemq user ownership of the installation directory chown -R activemq:activemq /usr/local/apache-activemq-x.y.z/ (or at least the data-directory which houses the log file)
  9. Make sure the keystore is only readable by the activemq user (chmod 600 /usr/local/apache-activemq-x.y.z/conf/broker.ks)
  10. Setup service script
  11. Make sure the relevant ports are open in the firewall (8161 if the administration interface should be accessible, 61617 for SSL if this guide is followed and optionally 61616 for TCP)

...