1. Installation environment
- Mac
- Homebrewd has been installed
No installation of their own Baidu installation
2. Install
- The latest version is automatically installed, and all the files rabbit needs are downloaded together
brew install rabbitmq
- Boot: CD to sbin;
rabbitmq-server
- Start plug-in:
./rabbitmq-plugins enable rabbitmq_management
After starting the plug-in, visit http://localhost:15672/; User name and password: guest,guest
- Stop the service
./rabbitmqctl stop
The official
- Add an account :/rabbitmqctl –help View commands
./rabbitmqctl add_user admin admin
./rabbitmqctl set_permissions -p “/” admin “.” “.” “.*” ./rabbitmqctl set_user_tags admin administrator