1.下载相应的版本安装:
http://www.rabbitmq.com/download.html
eg:http://www.rabbitmq.com/releases/rabbitmq-server/v3.5.1/rabbitmq-server_3.5.1-1_all.deb
2.安装web管理插件
rabbitmq在ubuntu下路径:
/etc/rabbitmq
/usr/lib/rabbitmq
eg:
cd /usr/lib/rabbitmq/bin
sudo rabbitmq-plugins enable rabbitmq_management
3.打开rabbitmq
重启:sudo service rabbitmq-server restart
启动:sudo service rabbitmq-server start
关闭: sudo service rabbitmq-server stop
查看状态:sudo service rabbitmqctl status
4.web控制台
http://127.0.0.1:15672/
用户名:guest
密码:guest
5.客户端测试
https://github.com/sdyy321/rabbitmq-client/archive/master.zip
详解见:
http://blog.csdn.net/sdyy321/article/details/9241445
时间: 2024-10-21 06:07:40