【RabbitMQ学习笔记#6】安装单节点RabbitMQ

在本篇博客中,简单的安装了单节点的RabbitMQ。在文章的开始先介绍一下安装环境的基本配置。
VMware Workstation 12 Pro下安装的虚拟机:
操作系统:CentOS 7.3 (Mini Install)
内存:1G
CPU:1U/1C

一、安装过程

二、防火墙设置

首先确保如下端口开放

端口描述备注
4369 epmd, a peer discovery service used by RabbitMQ nodes and CLI tools
5672, 5671 used by AMQP 0-9-1 and 1.0 clients without and with TLS
25672 used by Erlang distribution for inter-node and CLI tools communication and is allocated from a dynamic range (limited to a single port by default, computed as AMQP port + 20000). See networking guide for details.
15672 HTTP API clients and rabbitmqadminonly if the management plugin is enabled)
61613, 61614 STOMP clients without and with TLSonly if the STOMP plugin is enabled
1883, 8883 MQTT clients without and with TLS,if the MQTT plugin is enabled
15674 STOMP-over-WebSockets clientsonly if the Web STOMP plugin is enabled)
15675 MQTT-over-WebSockets clientsonly if the Web MQTT plugin is enabled)

使用的防火墙是CentOS 7.3默认的防火墙,故其开放端口命令如下:

三、其他说明

API文档: http://server-host:15672/api/
rabbitmqadmin : http://server-name:15672/cli/

四、参考资料

Installing on RPM-based Linux (RHEL, CentOS, Fedora, openSUSE)

0

发表评论

电子邮件地址不会被公开。 必填项已用*标注

微信扫一扫,分享到朋友圈

【RabbitMQ学习笔记#6】安装单节点RabbitMQ
返回顶部