通过rpm包安装的,结果无法打开
找了个教程
首先配置一个账号:
[root@localhost soft]# firewall-cmd --state not running [root@localhost soft]# rabbitmqctl list_users Listing users ... user tags guest [administrator] [root@localhost soft]# rabbitmqctl add_user admin admin Adding user "admin" ... Done. Don't forget to grant the user permissions to some virtual hosts! See 'rabbitmqctl help set_permissions' to learn more. [root@localhost soft]# rabbitmqctl list_users Listing users ... user tags admin [] guest [administrator] [root@localhost soft]# rabbitmqctl set_user_tags admin administrator Setting tags for user "admin" to [administrator] ... [root@localhost soft]# rabbitmqctl set_permissions -p / admin ".*" ".*" ".*" Setting permissions for user "admin" in vhost "/" ... [root@localhost soft]# rabbitmqctl list_users Listing users ... user tags admin [administrator] guest [administrator]
然后,启动管理插件,最重要的是后面这步。
[root@localhost rabbitmq]# rabbitmq-plugins enable rabbitmq_management Enabling plugins on node rabbit@localhost: rabbitmq_management The following plugins have been configured: rabbitmq_management rabbitmq_management_agent rabbitmq_web_dispatch Applying plugin configuration to rabbit@localhost... The following plugins have been enabled: rabbitmq_management rabbitmq_management_agent rabbitmq_web_dispatch started 3 plugins.
打开浏览器,访问15672端口就可以了
------------正 文 已 结 束, 感 谢 您 的 阅 读 (折雨的天空)--------------------
转载请注明本文标题和链接:《RabbitMQ通过rpm包安装后,管理页面不显示,15672无法显示》
发表评论