win7安装RabbitMQ
Posted 开飞机的贝塔
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了win7安装RabbitMQ相关的知识,希望对你有一定的参考价值。
1、下载并安装erlang
http://www.erlang.org/downloads
2、下载并安装RabbitMQ
http://www.rabbitmq.com/install-windows.html
注意:将RabbitMQ安装在erlang的lib文件夹下,不然会报错!找不到路径。
3、打开cmd,切换到RabbitMQ的sbin文件夹下,执行:
C:\Program Files\erl9.0\lib\rabbitmq_server-3.6.10\sbin>rabbitmqctl.bat stat Status of node [email protected] [{pid,20728}, {running_applications, [{rabbit,"RabbitMQ","3.6.10"}, {os_mon,"CPO CXC 138 46","2.4.2"}, {ranch,"Socket acceptor pool for TCP protocols.","1.3.0"}, {ssl,"Erlang/OTP SSL application","8.2"}, {public_key,"Public key infrastructure","1.4.1"}, {asn1,"The Erlang ASN1 compiler version 5.0","5.0"}, {mnesia,"MNESIA CXC 138 12","4.15"}, {crypto,"CRYPTO","4.0"}, {rabbit_common, "Modules shared by rabbitmq-server and rabbitmq-erlang-client", "3.6.10"}, {compiler,"ERTS CXC 138 10","7.1"}, {xmerl,"XML parser","1.3.15"}, {syntax_tools,"Syntax tools","2.1.2"}, {sasl,"SASL CXC 138 11","3.0.4"}, {stdlib,"ERTS CXC 138 10","3.4"}, {kernel,"ERTS CXC 138 10","5.3"}]}, {os,{win32,nt}}, {erlang_version, "Erlang/OTP 20 [erts-9.0] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads {memory, [{total,56711632}, {connection_readers,0}, {connection_writers,0}, {connection_channels,0}, {connection_other,0}, {queue_procs,2744}, {queue_slave_procs,0}, {plugins,0}, {other_proc,23833640}, {mnesia,61776}, {metrics,184984}, {mgmt_db,0}, {msg_index,44048}, {other_ets,1805664}, {binary,86464}, {code,21388830}, {atom,891849}, {other_system,8593809}]}, {alarms,[]}, {listeners,[{clustering,25672,"::"},{amqp,5672,"::"},{amqp,5672,"0.0.0.0"}] {vm_memory_high_watermark,0.4}, {vm_memory_limit,3403792384}, {disk_free_limit,50000000}, {disk_free,181096128512}, {file_descriptors, [{total_limit,8092}, {total_used,2}, {sockets_limit,7280}, {sockets_used,0}]}, {processes,[{limit,1048576},{used,175}]}, {run_queue,0}, {uptime,795}, {kernel,{net_ticktime,60}}]
4、安装模块pika
pip install pika
以上是关于win7安装RabbitMQ的主要内容,如果未能解决你的问题,请参考以下文章
win7 32位 rabbitmq安装后,启动service时报了很多错误
怎么在Ubuntu linux系统上安装和使用RabbitMQ