mac 下安装 ActiveMQ

来源:互联网 发布:js判断滚动条是否存在 编辑:程序博客网 时间:2024/06/09 17:52

Mac 上安装 消息中间件,我选择安装Apahce出品的ActiveMQ,用来学习使用消息中间件。

经百度后发现,安装可直接使用Mac自带的brew进行安装,今天就用brew安装activeMQ。

(没有安装brew工具的可自行百度安装)

1.使用brew安装ActiveMQ

打开命令窗,输入以下命令

brew install activemq

正在安装中

Updating Homebrew...

稍等片刻

==> Using the sandbox==> Downloading https://www.apache.org/dyn/closer.cgi?path=/activemq/5.14.4/apac==> Best Mirror http://apache.fayea.com/activemq/5.14.4/apache-activemq-5.14.4-b######################################################################## 100.0%==> CaveatsTo have launchd start activemq now and restart at login:  brew services start activemqOr, if you don't want/need a background service you can just run:  activemq start==> Summary