celery_rabbitmq_install.txt 1.0 KB

123456789101112131415161718192021222324252627
  1. Hue Celery/RabbitMQ Install
  2. Installation tested on Ubuntu 16.04
  3. echo "deb https://packages.erlang-solutions.com/ubuntu $(lsb_release -sc) contrib" >> /etc/apt/sources.list.d/erlang.list
  4. wget https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc
  5. sudo apt-key add erlang_solutions.asc
  6. echo "deb https://dl.bintray.com/rabbitmq/debian $(lsb_release -sc) main" >> /etc/apt/sources.list.d/rabbitmq.list
  7. wget -O- https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc | sudo apt-key add -
  8. wget -O- https://www.rabbitmq.com/rabbitmq-release-signing-key.asc | sudo apt-key add -
  9. apt update -y
  10. apt-get install -y erlang
  11. apt-get install -y rabbitmq-server
  12. systemctl enable rabbitmq-server
  13. systemctl start rabbitmq-server
  14. rabbitmq-plugins enable rabbitmq_management
  15. rabbitmqctl cluster_status
  16. rabbitmqctl add_user hueuser cloudera
  17. rabbitmqctl add_vhost huevhost
  18. rabbitmqctl set_user_tags hueuser administrator
  19. rabbitmqctl set_permissions -p huevhost hueuser ".*" ".*" ".*"
  20. rabbitmqctl delete_user guest