windows下安裝RabbitMQ

windows下安裝RabbitMQhtml

下載Erlang,官方下載中心 erlang下載,http://www.erlang.org/web

本機是win10 64位操做系統,下載64位.exe安裝包json

安裝包windows

一路進行Next進行安裝app

 

 

 

配置系統參數socket

 

 


下載rabbitMQ,官方下載地址 rabbitMQ https://www.rabbitmq.com/download.html ,這裏選擇3.7.15版本的安裝包async

 

 


啓動RabbitMQatom


.\rabbitmq-server.bat -detachedspa

 


查看節點狀態
.\rabbitmqctl.bat status操作系統

[{pid,8448},
{running_applications,
[{rabbit,"RabbitMQ","3.7.15"},
{mnesia,"MNESIA CXC 138 12","4.16"},
{rabbit_common,
"Modules shared by rabbitmq-server and rabbitmq-erlang-client",
"3.7.15"},
{ranch,"Socket acceptor pool for TCP protocols.","1.7.1"},
{ssl,"Erlang/OTP SSL application","9.3"},
{public_key,"Public key infrastructure","1.6.7"},
{asn1,"The Erlang ASN1 compiler version 5.0.9","5.0.9"},
{inets,"INETS CXC 138 49","7.0.8"},
{jsx,"a streaming, evented json parsing toolkit","2.9.0"},
{crypto,"CRYPTO","4.5"},
{sysmon_handler,"Rate-limiting system_monitor event handler","1.1.0"},
{os_mon,"CPO CXC 138 46","2.5"},
{observer_cli,"Visualize Erlang Nodes On The Command Line","1.5.0"},
{xmerl,"XML parser","1.3.21"},
{recon,"Diagnostic tools for production use","2.5.0"},
{lager,"Erlang logging framework","3.6.10"},
{goldrush,"Erlang event stream processor","0.1.9"},
{compiler,"ERTS CXC 138 10","7.4"},
{syntax_tools,"Syntax tools","2.2"},
{sasl,"SASL CXC 138 11","3.4"},
{stdlib,"ERTS CXC 138 10","3.9"},
{kernel,"ERTS CXC 138 10","6.4"}]},
{os,{win32,nt}},
{erlang_version,
"Erlang/OTP 22 [erts-10.4] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:64]\n"},
{memory,
[{connection_readers,0},
{connection_writers,0},
{connection_channels,0},
{connection_other,0},
{queue_procs,0},
{queue_slave_procs,0},
{plugins,16740},
{other_proc,26094304},
{metrics,196492},
{mgmt_db,0},
{mnesia,77288},
{other_ets,2479080},
{binary,209216},
{msg_index,32592},
{code,24245647},
{atom,1131721},
{other_system,11019048},
{allocated_unused,15959120},
{reserved_unallocated,1048576},
{strategy,rss},
{total,[{erlang,65502128},{rss,82509824},{allocated,81461248}]}]},
{alarms,[]},
{listeners,[{clustering,25672,"::"},{amqp,5672,"::"},{amqp,5672,"0.0.0.0"}]},
{vm_memory_calculation_strategy,rss},
{vm_memory_high_watermark,0.4},
{vm_memory_limit,6646338355},
{disk_free_limit,50000000},
{disk_free,63851032576},
{file_descriptors,
[{total_limit,8092},
{total_used,2},
{sockets_limit,7280},
{sockets_used,0}]},
{processes,[{limit,1048576},{used,243}]},
{run_queue,1},
{uptime,943},
{kernel,{net_ticktime,60}}]

 


添加用戶
.\rabbitmqctl.bat add_user root root

 


設置權限
.\rabbitmqctl.bat set_permissions -p / root ".*" ".*" ".*"


設置角色
.\rabbitmqctl.bat set_user_tags root administrator

 

啓動web管理插件

 輸入localhost:15672登錄管理界面,用戶名 root,密碼 root

相關文章
相關標籤/搜索