Config RabbitMQ
Official Tutorials Index
Q & A
How to Find Config File Location
1. Check the Log File
node : rabbit@example
home dir : /var/lib/rabbitmq
config file(s) : /etc/rabbitmq/advanced.config
: /etc/rabbitmq/rabbitmq.conf
2. The comand rabbitmq-diagnostics
rabbitmq-diagnostics status
rabbitmq-diagnostics status -n [node name]
不同平台的路徑位置
Platform | Default Configuration File Directory | Example Configuration File Paths |
Generic binary package | $RABBITMQ_HOME/etc/rabbitmq/ |
$RABBITMQ_HOME/etc/rabbitmq/rabbitmq.conf, $RABBITMQ_HOME/etc/rabbitmq/advanced.config |
Debian and Ubuntu | /etc/rabbitmq/ |
/etc/rabbitmq/rabbitmq.conf , /etc/rabbitmq/advanced.config |
RPM-based Linux | /etc/rabbitmq/ |
/etc/rabbitmq/rabbitmq.conf , /etc/rabbitmq/advanced.config |
Windows | %APPDATA%\RabbitMQ\ |
%APPDATA%\RabbitMQ\rabbitmq.conf , %APPDATA%\RabbitMQ\advanced.config |
MacOS Homebrew Formula | ${install_prefix}/etc/rabbitmq/ , and the Homebrew cellar prefix is usually /usr/local |
${install_prefix}/etc/rabbitmq/rabbitmq.conf , ${install_prefix}/etc/rabbitmq/advanced.config |