在 RabbitMQ 3.5.7 Ubuntu 16.04 上。
我只想在本地主机上实现 RabbitMq 管理插件,这个想法是使用隧道从我用来使用 SSH 连接到我的服务器的计算机到达 RabbitMq 管理 Web GUI。
我发现这个线程似乎记录了所有要做的事情。
这是我所做的:我编辑了/etc/rabbitmq/rabbitmq-env.conf,它看起来像这样:
export RABBITMQ_CONFIG_FILE="/etc/rabbitmq/rabbitmq.config"
# Defaults to rabbit. This can be useful if you want to run more than one node
# per machine - RABBITMQ_NODENAME should be unique per erlang-node-and-machine
# combination. See the clustering on a single machine guide for details:
# http://www.rabbitmq.com/clustering.html#single-machine
#NODENAME=rabbit
# By default RabbitMQ will bind to all interfaces, on IPv4 and IPv6 if
# available. Set …
Run Code Online (Sandbox Code Playgroud)