Win7下安装RabbitMQ(Unable to register service with service managerAccess is denied)

1、安装Erlang [url]http://www.erlang.org/download.html[/url]
设置环境变量:ERLANG_HOME=C:\Program Files\erl5.8.1.1
追加到path=%ERLANG_HOME%\bin;
2、安装RabbitMQ [url]http://www.rabbitmq.com/server.html[/url]
设置环境变量:RABBITMQ_SERVER=C:\Program Files\rabbitmq_server-2.5.1
追加到path=%RABBITMQ_SERVER%\sbin;
3、安装服务;执行 rabbitmq-service install

win7下需要特殊的权限安装,右键以管理员运行rabbitmq-service.bat

[img]http://dl.iteye.com/upload/attachment/544000/3f773c35-49a2-3085-8f68-a71b65a69a23.jpg[/img]

[img]http://dl.iteye.com/upload/attachment/544002/0a5e2645-a9c0-375f-a643-ff835b1b636e.jpg[/img]
done...

如果不以管理员权限运行会出现错误:
Unable to register service with service manager.
Error: Access is denied.
Activating RabbitMQ plugins ...
0 plugins activated:

你可能感兴趣的:(RabbitMQ)