重新设置Rabbitmq

来自ling
跳转至: 导航搜索
  1. 首先关闭rabbitmq: rabbitmqctl stop_app
  2. 还原: rabbitmqctl reset
  3. 启动: rabbitmqctl start_app
  4. 添加用户: rabbitmqctl add_user root root
  5. 设置权限:rabbitmqctl set_permissions -p / root ".*" ".*" ".*"
  6. 查看用户: rabbitmqctl list_users