You can download and install RabbitMQ server on up to three CentOS hosts.

About this task

You must complete the install procedure on all hosts within your environment:

Procedure

  1. Login as root on the CentOS host.
  2. Download and install a zero dependency Erlang RPM package that is required to run RabbitMQ.
    # wget	http://www.rabbitmq.com/releases/erlang/erlang-18.3-1.el6.x86_64.rpm 
    # rpm -i erlang-18.3-1.el6.x86_64.rpm 
  3. Download and import the public signing key.
    # wget https://www.rabbitmq.com/rabbitmq-signing-key-public.asc
    # rpm --import rabbitmq-signing-key-public.asc
  4. Download and install the RabbitMQ application.
    # wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.1/rabbitmq-server-3.6.1-1.noarch.rpm
    # rpm -i	rabbitmq-server-3.6.1-1.noarch.rpm
  5. Configure an NTP server.

    Configure an NTP server for every RabbitMQ host in your environment.

    1. Run the following command to install the ntp service.

      # yum install ntp

    2. Add the following line for each time server to the end of the /etc/ntp.conf file.

      server your.time.server iburst

    3. Restart the NTP service.

      # service ntp restart