brew 安装 activemq

cuiymdeMacBook-Pro:webapps cuiym$ brew install activemq

1)报错:

Error: parent directory is world writable but not sticky

2)参考:http://blog.csdn.net/u011138533/article/details/52586821

cuiymdeMacBook-Pro:bin cuiym$ sudo chmod +t /tmp

cuiymdeMacBook-Pro:bin cuiym$ sudo xcode-select --install

3)重装安装:

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin15/rbconfig.rb:213: warning: Insecure world writable dir /opt in PATH, mode 040777

下载地址:

Already downloaded: /Users/cuiym/Library/Caches/Homebrew/activemq-5.14.3.tar.gz

To have launchd start activemq now and restart at login:

brew services start activemq

Or, if you don't want/need a background service you can just run:

activemq start

安装路径:

/usr/local/homebrew/Cellar/activemq/5.14.3

启动:

cuiymdeMacBook-Pro:5.14.3 cuiym$ activemq start

INFO: Loading '/usr/local/homebrew/Cellar/activemq/5.14.3/libexec//bin/env'

INFO: Using java '/Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home/bin/java'

INFO: Starting - inspect logfiles specified in logging.properties and log4j.properties to get details

INFO: pidfile created : '/usr/local/homebrew/Cellar/activemq/5.14.3/libexec//data/activemq.pid' (pid '51225')

cuiymdeMacBook-Pro:5.14.3 cuiym$ pwd

/usr/local/homebrew/Cellar/activemq/5.14.3

你可能感兴趣的:(brew 安装 activemq)