Pages

Monday, May 21, 2018

Install standalone RabbitMQ

Follow the steps to install standalone RabbitMQ distribution:


  • Download from standalone distribution from http://www.rabbitmq.com/download.html
  • Extract it
  • Navigate to /sbin
  • Execute ./rabbitmq-server to start the server in console mode
  • If need to enable management console, install following plugin
    <RabbitMQ_HOME>/sbin/rabbitmq-plugins enable rabbitmq_management

  • Do restart the server
  • Now you can load the management console (http://localhost:15672). But cannot login
  • To login, you need to create a user with following commands (here username is “admin” password is “adminpass”)

    <RabbitMQ_HOME>/sbin/rabbitmqctl add_user admin adminpass

    <RabbitMQ_HOME>/sbin/rabbitmqctl set_user_tags admin administrator

    <RabbitMQ_HOME>/sbin/rabbitmqctl set_permissions -p / admin ".*" ".*" ".*"

  • Now you can login with provided username password

No comments:

Post a Comment