name and password and vhost

./rabbitmq/sbin/rabbitmqctl add_user 123 123 
./rabbitmq/sbin/rabbitmqctl add_vhost /xcloud
./rabbitmq/sbin/rabbitmqctl set_user_tags machtalk administrator 
./rabbitmq/sbin/rabbitmqctl set_permissions -p /xcloud machtalk ".*" ".*" ".*"
  • 查看用户

rabbitmqctl list_users

  • 列出vhost

rabbitmqctl list_vhost

  • 启动到后台

rabbitmqctl -detached

Copyright © opschina.org 2017 with zzlyzq@gmail.com all right reserved,powered by Gitbook该文件修订时间: 2017-07-11 11:32:48

results matching ""

    No results matching ""