Skip to content

Instantly share code, notes, and snippets.

@JuneKelly
Last active January 3, 2016 12:29
Show Gist options
  • Save JuneKelly/8462742 to your computer and use it in GitHub Desktop.
Save JuneKelly/8462742 to your computer and use it in GitHub Desktop.
install rabbitmq
#!/usr/bin/env sh
echo '[> Installing RabbitMQ <]'
sudo apt-get update && sudo apt-get upgrade --assume-yes
sudo su -c 'echo "deb http://www.rabbitmq.com/debian/ testing main" >> /etc/apt/sources.list'
wget http://www.rabbitmq.com/rabbitmq-signing-key-public.asc
sudo apt-key add rabbitmq-signing-key-public.asc
sudo apt-get update
sudo apt-get install rabbitmq-server --assume-yes
echo '[> Installing Management Plugin <]'
sudo /usr/lib/rabbitmq/bin/rabbitmq-plugins enable rabbitmq_management
echo '[> Restarting RabbitMQ Server <]'
sudo service rabbitmq-server restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment