rabbitmq安装mac
时间: 2023-10-18 10:05:09 浏览: 125
要在Mac上安装rabbitmq,可以使用Homebrew工具。首先,确保已经安装了Homebrew。然后,在终端中运行以下命令来安装rabbitmq:
```
brew install rabbitmq
```
这将自动下载并安装rabbitmq软件。
安装完成后,默认情况下,rabbitmq并不会自动启用管理插件。如果需要启用管理插件,可以运行以下命令:
```
rabbitmq-plugins enable rabbitmq_management
```
这样就可以通过http://localhost:15672访问rabbitmq管理插件。
如果需要在升级后重新启动rabbitmq,可以运行以下命令:
```
brew services restart rabbitmq
```
或者,如果不需要后台服务,可以直接运行以下命令:
```
CONF_ENV_FILE="/opt/homebrew/etc/rabbitmq/rabbitmq-env.conf" /opt/homebrew/opt/rabbitmq/sbin/rabbitmq-server
```
这将重新启动rabbitmq。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [RabbitMQ安装教程(MacOS、CentOS)](https://blog.csdn.net/qq_43783527/article/details/125239514)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [RabbitMQ安装(Mac版本)](https://blog.csdn.net/m0_67393686/article/details/126485353)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文