启动rabbitmq教程

进入安装目录

cd /usr/local/Cellar/rabbitmq/3.7.8

启动

==============================
brew services start rabbitmq

当前窗口启动

==============================
rabbitmq-server

启动一
sudo rabbitmq-server

关闭
rabbitmqctl stop_app

重置
rabbitmqctl reset

启动二
rabbitmqctl start_app

  • 报错解决方案:
    chown rabbitmq:rabbitmq /var/lib/rabbitmq/.erlang.cookie
    chown rabbitmq:rabbitmq ~/.erlang.cookie

你可能感兴趣的:(启动rabbitmq教程)