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报错看不懂,

    C:\Users\computername>cd C:\Program Files\RabbitMQ Server\rabbitmq_server-3.9.5\sbin

    C:\Program Files\RabbitMQ Server\rabbitmq_server-3.9.5\sbin>rabbitmq-server rabbitmq-plugins enable rabbitmq_management
    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
    2021-09-12 14:55:24.511000+08:00 [erro] <0.44.0> application_controller: bad term: rabbitmq-plugins
    2021-09-12 14:55:24.511000+08:00 [erro] <0.44.0>

    2021-09-12 14:55:29.080000+08:00 [erro] <0.129.0>
    2021-09-12 14:55:29.080000+08:00 [erro] <0.129.0> BOOT FAILED
    2021-09-12 14:55:29.080000+08:00 [erro] <0.129.0> ===========
    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
    2021-09-12 14:55:29.080000+08:00 [erro] <0.129.0>
    BOOT FAILED
    ===========
    ERROR: could not bind to distribution port 25672, it is in use by another node: rabbit@DESKTOP-PAPO362
    。。。。。。
































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

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

    查看端口

    netstat -tunlp|grep 25672

    关闭进程

    kill -f PID  进程号

    祝学习愉快~

    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
    ​C:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.3\sbin>rabbitmqctl status
    Error: unable to perform an operation on node 'rabbit@DESKTOP-PAPO362'. Please see diagnostics information and suggestions below.

    Most common reasons for this are:

    * Target node is unreachable (e.g. due to hostname resolution, TCP connection or firewall issues)
    * CLI tool fails to authenticate with the server (e.g. due to CLI tool's Erlang cookie not matching that of the server)
    * Target node is not running

    In addition to the diagnostics info below:

    * See the CLI, clustering and networking guides on https://rabbitmq.com/documentation.html to learn more
    * Consult server logs on node rabbit@DESKTOP-PAPO362
    * If target node is configured to use long node names, don't forget to use --longnames with CLI tools

    DIAGNOSTICS
    ===========

    attempted to contact: ['rabbit@DESKTOP-PAPO362']

    rabbit@DESKTOP-PAPO362:
    * connected to epmd (port 4369) on DESKTOP-PAPO362
    * epmd reports node 'rabbit' uses port 25672 for inter-node and CLI tool traffic
    * TCP connection succeeded but Erlang distribution failed

    * Authentication failed (rejected by the remote node), please check the Erlang cookie


    Current node details:
    * node name: 'rabbitmqcli-13660-rabbit@DESKTOP-PAPO362'
    * effective user's home directory: C:\Users\computername
    * Erlang cookie hash: jspRUM44FoOtb3V7ywcX2w==


    C:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.3\sbin>


    rabbitmq启动报错

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

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

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

0 星
请稍等 ...
意见反馈 帮助中心 APP下载
官方微信

在线咨询

领取优惠

免费试听

领取大纲

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