rabbitmq

url:

  bunny:  http://rubybunny.info/articles/getting_started.html

  rabbitmq入门: http://yugouai.iteye.com/blog/1969216

  http://rubyamqp.info/articles/getting_started/

  https://github.com/ruby-amqp/rabbitmq_http_api_client

  

 

➜  ~  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

posted on 2014-08-25 17:46  qinyan20  阅读(812)  评论(0编辑  收藏  举报