安装rabbitmq踩坑记录

安装这个rabbitmq真心不容易,我是在虚拟机安装的,前前后后来来回回,共用了5个虚拟机。

现在记录下心得体会

首先需要看官方安装文档,根据要求选择合适的erlang、rabbitmq

https://www.rabbitmq.com/install-rpm.html

不同的centos版本,对应的安装文件也不一样。

https://www.rabbitmq.com/which-erlang.html

 

其次就是需要在/etc/hosts文件内天加一个到本机的映射。

127.0.0.1 localhost

再次就是需要开放某些端口,我为了省事,直接把防火墙关闭了。

  • 4369 (epmd), 25672 (Erlang distribution)
  • 5672, 5671 (AMQP 0-9-1 without and with TLS)
  • 15672 (if management plugin is enabled)
  • 61613, 61614 (if STOMP is enabled)
  • 1883, 8883 (if MQTT is enabled)

参考:

https://www.rabbitmq.com/install-rpm.html

https://www.rabbitmq.com/which-erlang.html

https://blog.csdn.net/oklizy/article/details/43453045

https://blog.csdn.net/diyangxia/article/details/77870568

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值