Page tree

Versions Compared

Key

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

...

Code Block
languagebash
titleServeur principal Pod / Compte root
[root@ts-sun-video ~]# cd
[root@ts-sun-video ~]# wget https://github.com/rabbitmq/rabbitmq-server/releases/download/v3.7.10/rabbitmq-server-3.7.10-1.el7.noarch.rpm
[root@ts-sun-video ~]# rpm --import https://www.rabbitmq.com/rabbitmq-release-signing-key.asc
[root@ts-sun-video ~]# yum install rabbitmq-server-3.7.10-1.el7.noarch.rpm
[root@ts-sun-video ~]# # Démarrage du service la 1° fois
[root@ts-sun-video ~]# systemctl start rabbitmq-server
[root@ts-sun-video ~]# # Activation des plugins RabbitMQ (utile pour l'interface Web)
[root@ts-sun-video ~]# rabbitmq-plugins enable rabbitmq_management
Utilisation de Rabbitmq management console

...

Code Block
languagetext
# Encode with Celery
CELERY_TO_ENCODE = True
CELERY_BROKER_URL = "amqp://pod:xxxx@162.38.xxx//"

(warning) (avertissement) La valeur du celery_broker doit pointer vers le serveur RabbitMQ (installé sur le serveur Web Frontal principal).

(warning) (avertissement) Cette configuration a changé entre Pod v1 et Pod v2. Il faut maintenant utiliser CELERY_BROKER_URL.

...