Rabbitmq学习备忘录(一)———— 安装

Rabbitmq 是采用erlang语言开发的,所以在安装rabbitmq之前,首先要安装erlang 环境。

一、安装erlang

  1. 下载erlang源码(http://www.erlang.org/downloads

  2.  安装erlang可参考(http://erlang.org/doc/installation_guide/INSTALL.html#Known-platform-issues)  官方文档。注意安装前要确认erlang所依赖的系统组件已存在。

二、安装Rabbitmq

   下载相应系统的安装文件即可。

 

涉及到的端口(默认):

4369:用于发现其他rabbitmq节点服务。

5672,5671:用于消息生产和消费端连接队列服务。

25672:用于erlang节点通信。

插件相关

15672:用于web端管理(当启用  management plugin 插件)。

61613,61614: STOMP clients without and with TLS (only if the STOMP plugin is enabled)

1883, 8883: (MQTT clients without and with TLS, if the MQTT plugin is enabled

15674: STOMP-over-WebSockets clients (only if the Web STOMP plugin is enabled)

15675: MQTT-over-WebSockets clients (only if the Web MQTT plugin is enabled)

猜你喜欢

转载自zhixinghh-163-com.iteye.com/blog/2399112