Centos7下安装部署RabbitMQ,看这篇就够了( 四 )

下面我们执行如下:
# 进入配置目录root@b959544500f4:/# cd /etc/rabbitmq/conf.d/root@b959544500f4:/etc/rabbitmq/conf.d# ls10-default-guest-user.confmanagement_agent.disable_metrics_collector.confroot@b959544500f4:/etc/rabbitmq/conf.d# # 查看当前的配置root@b959544500f4:/etc/rabbitmq/conf.d# cat management_agent.disable_metrics_collector.confmanagement_agent.disable_metrics_collector = true# 修改配置root@b959544500f4:/etc/rabbitmq/conf.d# echo management_agent.disable_metrics_collector = false > management_agent.disable_metrics_collector.confroot@b959544500f4:/etc/rabbitmq/conf.d# # 查看修改后的配置root@b959544500f4:/etc/rabbitmq/conf.d# cat management_agent.disable_metrics_collector.conf management_agent.disable_metrics_collector = falseroot@b959544500f4:/etc/rabbitmq/conf.d# root@b959544500f4:/etc/rabbitmq/conf.d# exitexit[root@server docker_rabbitmq]# lsdatarestart_service.sh# 重启容器[root@server docker_rabbitmq]# docker restart rabbitmqrabbitmq[root@server docker_rabbitmq]#配置完毕后,再访问页面如下:

Centos7下安装部署RabbitMQ,看这篇就够了

文章插图




推荐阅读