Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save samson-sham/18b07b47b317bcd5ab3d1b64fdca8f6a to your computer and use it in GitHub Desktop.
Save samson-sham/18b07b47b317bcd5ab3d1b64fdca8f6a to your computer and use it in GitHub Desktop.
RabbitMQ installation
$ wget -O - "https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.asc" | sudo apt-key add -
$ sudo apt-get install apt-transport-https
$ echo "deb https://dl.bintray.com/rabbitmq-erlang/debian xenial erlang" | sudo tee /etc/apt/sources.list.d/bintray.erlang.list
$ sudo touch /etc/apt/preferences.d/erlang
$ sudo vi /etc/apt/preferences.d/erlang
$ cat /etc/apt/preferences.d/erlang
Package: erlang*
Pin: release o=Bintray
Pin-Priority: 1000
#$ sudo apt-cache policy
$ sudo apt-get install erlang-nox
$ sudo touch /etc/apt/sources.list.d/bintray.rabbitmq.list
$ sudo vi /etc/apt/sources.list.d/bintray.rabbitmq.list
$ cat /etc/apt/sources.list.d/bintray.rabbitmq.list
deb https://dl.bintray.com/rabbitmq-erlang/debian xenial erlang
deb https://dl.bintray.com/rabbitmq/debian xenial main
$ sudo apt-get update
$ sudo apt-get install rabbitmq-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment