Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Simple bootstrap script for getting RabbitMQ w/ the Stomp plugin and web management plugin running on a SmartOS box
#!/bin/bash
pkgin -y in rabbitmq
rabbitmq-plugins enable rabbitmq_stomp rabbitmq_management
cat > /opt/local/etc/rabbitmq/rabbitmq-env.conf <<-EOF
RABBITMQ_NODENAME=rabbit
RABBITMQ_HOME=/var/db/rabbitmq
EOF
cat > /opt/local/etc/rabbitmq/rabbitmq.config <<-EOF
[
{rabbitmq_stomp, [{tcp_listeners, [6163]}]},
{rabbitmq_management, [{listener, [{port, 15672}]}]}
].
EOF
svcadm enable epmd:default rabbitmq:default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.