Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Quick Install RabbitMQ Server on Ubuntu 16.04
sudo apt-get update
sudo apt-get upgrade
#Instruct apt to trust packages signed by rabbitmq signing key
wget -O - "https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.asc" | sudo apt-key add -
#Enable apt HTTPS Transport
sudo apt-get install apt-transport-https
#Add the apt repository to the source list directory
sudo tee /etc/apt/sources.list.d/bintray.rabbitmq.list <<EOF
deb https://dl.bintray.com/rabbitmq-erlang/debian xenial erlang
deb https://dl.bintray.com/rabbitmq/debian xenial main
EOF
#Update the system
sudo apt-get update -y
#Install RabbitMQ
sudo apt-get install -y rabbitmq-server
#Service Commands
sudo service rabbitmq-server status
sudo service rabbitmq-server start
sudo service rabbitmq-server stop
sudo service rabbitmq-server restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment