Skip to content

Instantly share code, notes, and snippets.

@itxtoledo
Last active December 23, 2019 15:13
Show Gist options
  • Save itxtoledo/3589e2fedc807c77c30040a8e886a560 to your computer and use it in GitHub Desktop.
Save itxtoledo/3589e2fedc807c77c30040a8e886a560 to your computer and use it in GitHub Desktop.
RabbitMQ Install Script, tested on Ubuntu 16.04
#! /bin/bash
# sudo curl -s https://gist.githubusercontent.com/xxx/xxx/raw/3xxx/rabbitmq-install.sh | bash -s
rabbit_deb=rabbitmq-server_3.6.15-1_all.deb
wget https://www.rabbitmq.com/releases/rabbitmq-server/v3.6.15/"$rabbit_deb"
dpkg -i "$rabbit_deb"
sudo apt-get -f -y install
rm "$rabbit_deb"
#rabbitmq wants this dir in ubuntu, but things should work without it exist
sudo mkdir /etc/rabbitmq/rabbitmq.conf.d
sudo rabbitmq-plugins enable rabbitmq_management
sudo rabbitmqctl start_app
sudo /etc/init.d/rabbitmq-server start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment