Installing RabbitMQ broker

To do this, we need to install the RabbitMQ broker.

On a macOS, if we are using Homebrew (http://brew.sh/), it's as simple as this:

$ brew install rabbitmq
==> Installing dependencies for rabbitmq: openssl, libpng, libtiff,
wx...
==> Pouring openssl-1.0.2j.el_capitan.bottle.tar.gz /usr/local/Cellar/openssl/1.0.2j: 1,695 files, 12M ==> Pouring libpng-1.6.25.el_capitan.bottle.tar.gz /usr/local/Cellar/libpng/1.6.25: 25 files, 1.2M ==> Pouring libtiff-4.0.6_2.el_capitan.bottle.tar.gz /usr/local/Cellar/libtiff/4.0.6_2: 261 files, 3.4M ==> Pouring wxmac-3.0.2_3.el_capitan.bottle.tar.gz /usr/local/Cellar/wxmac/3.0.2_3: 809 files, 23.6M ==> Pouring erlang-19.1.el_capitan.bottle.tar.gz /usr/local/Cellar/erlang/19.1: 7,297 files, 279.8M ==> Installing rabbitmq /usr/local/Cellar/rabbitmq/3.6.4: 187 files, 5.8M, built in 6
seco...

On Debian Linux, you can use the following command:

$ sudo apt-get install rabbitmq-server  

On any of the Red Hat Linux systems, the following command can be run:

$ yum install erlang
$ yum install rabbitmq-server-<version>.rpm  

On various cloud solutions, including Cloud Foundry, RabbitMQ can be found as a service (including Pivotal's RabbitMQ for PCF at https://network.pivotal.io/products/p-rabbitmq), something we'll explore in Chapter 10, Taking Your App to Production with Spring Boot.

For more details on downloading and installing, visit https://www.rabbitmq.com/download.html.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset