Installing RabbitMQ on Windows
1. Install Erlang and RabbitMQ
– Download and install the required versions of Erlang and RabbitMQErlang/OTP 26 – https://www.erlang.org/downloads/26RabbitMQ 3.13.6 – https://github.com/rabbitmq/rabbitmq-server/releases/tag/v3.13.6
2. Restart the computer
– Restart your machine after completing the installation.
3. Check RabbitMQ service status
– Open Command Prompt and navigate to the RabbitMQ sbin folder: cd "C:\Program Files\RabbitMQ Server\rabbitmq_server-3.13.6\sbin"
– Check the service status: rabbitmqctl status
– If the service reports that the node is down, proceed to the next step.
4. Fix the node error
– Copy the .erlang.cookie file from: C:\Windows\System32\config\systemprofile
to: C:\Users\<YourUsername>
– Restart the RabbitMQ service.
5. Verify the service status
– Check the service status again to ensure it is running correctly: rabbitmqctl status
6. Enable the Management UI
– Enable the RabbitMQ management UI: rabbitmq-plugins enable rabbitmq_management
– Open the management console in your browser:
http://localhost:15672/
– Default credentials:
Username: guest
Password: guest
7. Configure users
– Add a new user with Administrator privileges using the credentials configured in QueueManager.
– Disable the guest user as an administrator for security reasons.
8. Enable necessary features
– Enable all necessary RabbitMQ features: rabbitmqctl enable_feature_flag all
– Validate the enabled features: rabbitmqctl list_feature_flags