Mac 安装 Rabbitmq
NO.1 Mac 下安装 Rabbitmq
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" # 安装 brew(Homebrew:Mac OS平台下的软件包管理工具)
brew install rabbitmq
sudo vim ~/.bash_profile
PATH=$PATH:/usr/local/sbin # 最后一行加上
NO.2 启动 & 停止 Rabbitmq
# 启动服务
brew services start rabbitmq
# 停止服务
brew services stop rabbitmq
# 启用插件
rabbitmq-plugins enable rabbitmq_management
# 禁用插件
rabbitmq-plugins disable rabbitmq_management
NO.3 进入控制台
默认用户名和密码:guest , guest