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% ==> Caveats 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 ==> Summary