rabbitmq-server -detached停止
rabbitmqctl stop状态
rabbitmqctl status开启web管理插件
rabbitmq-plugins enable rabbitmq_management
访问 http://IP:15672
默认账号密码: guest guest
rabbitmqctl list_users添加用户
rabbitmqctl add_user (username) (user_password)配置权限
rabbitmqctl set_permissions -p "/" (username) ".*" ".*" ".*"查看用户权限
rabbitmqctl list_user_permissions (username)设置tag
rabbitmqctl set_user_tags (username) administrator删除用户(安全起见,删除默认用户)
rabbitmqctl delete_user guest
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)