RabbitMQ Installation

RabbitMQ is the most widely deployed open source message broker


OS: Ubuntu 16.04 LTS

Step1: Install erlang package


$ wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
$ sudo dpkg -i erlang-solutions_1.0_all.deb
$ sudo apt update
$ sudo apt install erlang

Step2: Add apt source

$ echo "deb https://dl.bintray.com/rabbitmq/debian xenial main" | sudo tee /etc/apt/sources.list.d/bintray.rabbitmq.list

$$ Step3: Add public key to your trusted key list

$ wget -O- https://www.rabbitmq.com/rabbitmq-release-signing-key.asc | sudo apt-key add -
$ sudo apt-get update

Step4: Install rabbitmq-server package:

$ sudo apt-get install rabbitmq-server

Step6: Enable web management & add user

$ sudo rabbitmq-plugins enable rabbitmq_management
$ sudo rabbitmqctl add_user admin admin
$ sudo rabbitmqctl set_user_tags admin administrator


Open http://yourip:15672

Username: admin
Password: admin

本文作者: Vincent0700
本文地址: https://vincentstudio.info/2018/12/09/003_RabbitMQ_Installation/
版权声明: 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!