windows中安装rabbitMQ需要下载这三个吗都?怎么安装呢,求个步骤

windows中安装rabbitMQ需要下载这三个吗都?怎么安装呢,求个步骤

正在回答 回答被采纳积分+1

登陆购买课程后可参与讨论,去登陆

2回答
好帮手慕小班 2021-09-12 11:23:05

同学你好,1、同学是使用rpm进行安装的吗?

https://img1.sycdn.imooc.com//climg/613d703b09c0242605490297.jpg

如果是,这是mac或linux系统下的安装包,不可以用在windows下,建议同学卸载这个内容重新安装。

    ​2、在windows下,同学使用如下的命令来启动运行

https://img1.sycdn.imooc.com//climg/613d7144092bc98205260258.jpg

    ​3、在如上所示cmd窗口中,注意使用管理员权限来打开。

    ​4、如果还是出现问题,应该就是系统的问题,同学可以尝试换一个系统,使用虚拟机下的linux系统来安装试试。

祝学习愉快~

  • 提问者 qq_慕神0589333 #1

    换了版本就启动了,不过cmd界面为什么有个ERROR报错看不懂,

    1
    C:\Users\computername>cd C:\Program Files\RabbitMQ Server\rabbitmq_server-3.9.5\sbin<br><br>C:\Program Files\RabbitMQ Server\rabbitmq_server-3.9.5\sbin>rabbitmq-server rabbitmq-plugins enable rabbitmq_management <br>2021-09-12 14:55:21.422000+08:00 [warn] <0.129.0> Using RABBITMQ_ADVANCED_CONFIG_FILE: c:/Users/computername/AppData/Roaming/RabbitMQ/advanced.config<br>2021-09-12 14:55:24.511000+08:00 [erro] <0.44.0> application_controller: bad term: rabbitmq-plugins<br>2021-09-12 14:55:24.511000+08:00 [erro] <0.44.0><br><br>2021-09-12 14:55:29.080000+08:00 [erro] <0.129.0><br>2021-09-12 14:55:29.080000+08:00 [erro] <0.129.0> BOOT FAILED<br>2021-09-12 14:55:29.080000+08:00 [erro] <0.129.0> ===========<br>2021-09-12 14:55:29.080000+08:00 [erro] <0.129.0> ERROR: could not bind to distribution port 25672, it is in use by another node: rabbit@DESKTOP-PAPO362<br>2021-09-12 14:55:29.080000+08:00 [erro] <0.129.0><br>BOOT FAILED<br>===========<br>ERROR: could not bind to distribution port 25672, it is in use by another node: rabbit@DESKTOP-PAPO362<br>。。。。。。<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>


    2021-09-12 15:04:51
  • 好帮手慕小班 回复 提问者 qq_慕神0589333 #2

    同学你好,根据同学的报错信息,是端口被占用,同学可以尝试查看哪个进程占用了25672端口,然后关闭这个进程再来试试。

    查看端口

    1
    netstat -tunlp|grep 25672<br>

    关闭进程

    1
    kill -f PID  进程号<br>

    祝学习愉快~

    2021-09-12 18:32:08
好帮手慕小班 2021-09-09 16:30:53

同学你好,教辅中具体安装的步骤,比如

https://img1.sycdn.imooc.com//climg/6139c4f009b6fef809330275.jpg

https://img1.sycdn.imooc.com//climg/6139c4da09bd458107630405.jpg

Erland是安装rabbitMQ前需要安装的工具,剩下的是提供的安装包

https://img1.sycdn.imooc.com//climg/6139c62f09c0f92008050293.jpg

祝学习愉快~

  • 提问者 qq_慕神0589333 #1

    这个rpm文件怎么装

    2021-09-09 18:56:42
  • 提问者 qq_慕神0589333 #2

    https://img1.sycdn.imooc.com//climg/6139e87709b44a7407540192.jpg

    如上

    2021-09-09 18:58:28
  • 提问者 qq_慕神0589333 #3
    1
    ​C:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.3\sbin>rabbitmqctl status<br>Error: unable to perform an operation on node 'rabbit@DESKTOP-PAPO362'. Please see diagnostics information and suggestions below.<br><br>Most common reasons for this are:<br><br> * Target node is unreachable (e.g. due to hostname resolution, TCP connection or firewall issues)<br> * CLI tool fails to authenticate with the server (e.g. due to CLI tool's Erlang cookie not matching that of the server)<br> * Target node is not running<br><br>In addition to the diagnostics info below:<br><br> * See the CLI, clustering and networking guides on https://rabbitmq.com/documentation.html to learn more<br> * Consult server logs on node rabbit@DESKTOP-PAPO362<br> * If target node is configured to use long node names, don't forget to use --longnames with CLI tools<br><br>DIAGNOSTICS<br>===========<br><br>attempted to contact: ['rabbit@DESKTOP-PAPO362']<br><br>rabbit@DESKTOP-PAPO362:<br>  * connected to epmd (port 4369) on DESKTOP-PAPO362<br>  * epmd reports node 'rabbit' uses port 25672 for inter-node and CLI tool traffic<br>  * TCP connection succeeded but Erlang distribution failed<br><br>  * Authentication failed (rejected by the remote node), please check the Erlang cookie<br><br><br>Current node details:<br> * node name: 'rabbitmqcli-13660-rabbit@DESKTOP-PAPO362'<br> * effective user's home directory: C:\Users\computername<br> * Erlang cookie hash: jspRUM44FoOtb3V7ywcX2w==<br><br><br>C:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.3\sbin><br><br><br>

    rabbitmq启动报错

    2021-09-09 19:33:18
问题已解决,确定采纳
还有疑问,暂不采纳

恭喜解决一个难题,获得1积分~

来为老师/同学的回答评分吧

0 星
请稍等 ...
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号

在线咨询

领取优惠

免费试听

领取大纲

扫描二维码,添加
你的专属老师
插入代码