Installing RabbitMQ

There are several options to choose as a message broker for Celery, including key/value stores such as Redis, or an actual message system such as RabbitMQ. We will configure Celery with RabbitMQ, since it's the recommended message worker for Celery.

If you are using Linux, you can install RabbitMQ from the shell using the following command:

apt-get install rabbitmq

If you need to install RabbitMQ on macOS X or Windows, you can find standalone versions at https://www.rabbitmq.com/download.html.

After installing it, launch RabbitMQ using the following command from the shell:

rabbitmq-server

You will see output that ends with the following line:

Starting broker... completed with 10 plugins.

RabbitMQ is running and ready to receive messages.

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

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