1. clone the code
$ hg clone http://hg.rabbitmq.com/rabbitmq-public-umbrella
2. checkout all dependencies:
$ cd rabbitmq-public-umbrella && make checkout
3. build rabbitmq server:
$ cd rabbitmq-server && make
4. start rabbitmq server:
$ make run
NB:
a) by default, it requires write access to files in /etc and /var
to change it, edit SYS_PREFIX in rabbtimq-server/scripts/rabbitmq-defaults
b) by default, rabbitmq-server write logs mnesia db to /tmp, to change it, edit TMPDIR in Makefile
5. build rabbitmq-management plugin (in rabbitmq-server directory)
$ mkdir plugins $ cd ../rabbitmq-management $ make run # plugin and its dependencies are build in directory 'dist' $ cp dist/*.ez ../rabbitmq-server/plugins
6. start rabbitmq-management plugin
$ cd ../rabbitmq-server $ ./scripts/rabbitmq-plugins enable rabbitmq_management
7. check plugin status:
./scripts/rabbitmq-plugins list
Configured: E = explicitly enabled; e = implicitly enabled
| Status: * = running on rabbit@zmc0
|/
[e*] amqp_client 0.0.0
[e*] mochiweb 2.7.0-rmq0.0.0-git680dba8
[ ] rabbit_common 0.0.0
[E*] rabbitmq_management 0.0.0
[e*] rabbitmq_management_agent 0.0.0
[ ] rabbitmq_test 0.0.0
[e*] rabbitmq_web_dispatch 0.0.0
[e*] webmachine 1.10.3-rmq0.0.0-gite9359c7
No comments:
Post a Comment