码迷,mamicode.com
首页 > 其他好文 > 详细

rabbitmq

时间:2014-08-25 19:05:04      阅读:231      评论:0      收藏:0      [点我收藏+]

标签:http   os   io   for   ar   art   log   sp   on   

?  ~  brew install rabbitmq
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/rabbitmq-3.3.4.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring rabbitmq-3.3.4.mavericks.bottle.tar.gz
==> Caveats
Management Plugin enabled by default at http://localhost:15672

Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

To have launchd start rabbitmq at login:
    ln -sfv /usr/local/opt/rabbitmq/*.plist ~/Library/LaunchAgents
    
Then to load rabbitmq now:
    launchctl load ~/Library/LaunchAgents/homebrew.mxcl.rabbitmq.plist
Or, if you don‘t want/need launchctl, you can just run:
    rabbitmq-server
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink share/man/man1/rabbitmq-plugins.1.gz
/usr/local/share/man/man1 is not writable.

You can try again using:
  brew link rabbitmq
==> Summary
??  /usr/local/Cellar/rabbitmq/3.3.4: 1010 files, 26M
?  ~  ln -sfv /usr/local/opt/rabbitmq/*.plist ~/Library/LaunchAgents
zsh: no matches found: /usr/local/opt/rabbitmq/*.plist
?  ~  launchctl load ~/Library/LaunchAgents/homebrew.mxcl.rabbitmq.plist
launchctl: Couldn‘t stat("/Users/tangl/Library/LaunchAgents/homebrew.mxcl.rabbitmq.plist"): No such file or directory
nothing found to load
?  ~  rabbitmq-server
zsh: command not found: rabbitmq-server
?  ~  brew link rabbitmq
Linking /usr/local/Cellar/rabbitmq/3.3.4...
Error: Could not symlink share/man/man1/rabbitmq-plugins.1.gz
/usr/local/share/man/man1 is not writable.


To have launchd start rabbitmq at login
ln -sfv /usr/local/Cellar/rabbitmq/3.3.4/*.plist ~/Library/LaunchAgents

start rabbitmq
/usr/local/Cellar/rabbitmq/3.3.4/sbin/rabbitmq-server



show messages_unacknowledged field
/usr/local/Cellar/rabbitmq/3.3.4/sbin/rabbitmqctl list_queues name messages_ready messages_unacknowledged

rabbitmq

标签:http   os   io   for   ar   art   log   sp   on   

原文地址:http://www.cnblogs.com/qinyan20/p/3935520.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!