赞
踩
服务器系统Red Hat 4.4.7-17
RabbitMQ安装目录如下:/usr/lib/rabbitmq/lib/rabbitmq_server-3.6.5/sbin
##运行如下的命令,增加用户admin,密码admin
[root@localhost sbin]# ./rabbitmqctl list_users
Listing users ...
[root@localhost sbin]# ./rabbitmqctl add_user admin admin
Creating user "admin" ...
[root@localhost sbin]#./rabbitmqctl set_user_tags admin administrator
Setting tags for user "admin" to [administrator] ...
[root@localhost sbin]#./rabbitmqctl set_permissions -p "/" admin ".*" ".*" ".*"
Setting permissions for user "admin" in vhost "/" ...
[root@localhost sbin]# ./rabbitmqctl list_users
Listing users ...
admin [administrator]
[root@localhost sbin]#
WEB管理访问地址:http://your_ip:15672/
登录帐号:admin密码:admin
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。