ubuntu16.04 rabbitmq安装笔记

1安装:

A.deb包安装
进入http://www.rabbitmq.com/install-debian.html  下载deb包进行安装


B.命令安装
sudo apt-get update
sudo apt-get install rabbitmq-server

2.开启web控制台
rabbitmq-plugins enable rabbitmq_management

3.新增账户
sudo rabbitmqctl add_user pengchao 123456
sudo rabbitmqctl set_permissions pengchao ".*" ".*" ".*"

访问后天http://localhost:15672/#/   用户名:guest 密码guest

配置MQTT
sudo rabbitmq-plugins enable rabbitmq_mqtt
参考http://www.rabbitmq.com/mqtt.html

你可能感兴趣的:(ubuntu16.04 rabbitmq安装笔记)