当前位置:   article > 正文

为rabbitmq添加远程访问用户

rabbitmq 远程访问

服务器系统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


声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/神奇cpp/article/detail/734605
推荐阅读
相关标签
  

闽ICP备14008679号