配置环境变量:vi ~/.bash_profile
export RABBIT_HOME=/usr/local/Cellar/rabbitmq/3.8.3
export PATH=$PATH:$RABBIT_HOME/sbin
sudo rabbitmq-plugins enable rabbitmq_management
sudo rabbitmq-server