一贯地,使用brew来帮忙。现在brew中添加了activeMQ了。

执行:

brew install activemq

OK.

看看是否安装成功,输入命令: activemq

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

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

Java Runtime: Oracle Corporation 1.8.0_31 /Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre

Heap sizes: current=1005056k  free=989327k  max=1005056k

JVM args: -Xms1G -Xmx1G -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=/usr/local/Cellar/activemq/5.11.1/libexec/conf/login.config -Dactivemq.classpath=/usr/local/Cellar/activemq/5.11.1/libexec/conf: -Dactivemq.home=/usr/local/Cellar/activemq/5.11.1/libexec -Dactivemq.base=/usr/local/Cellar/activemq/5.11.1/libexec -Dactivemq.conf=/usr/local/Cellar/activemq/5.11.1/libexec/conf -Dactivemq.data=/usr/local/Cellar/activemq/5.11.1/libexec/data

Extensions classpath:

[/usr/local/Cellar/activemq/5.11.1/libexec/lib,/usr/local/Cellar/activemq/5.11.1/libexec/lib/camel,/usr/local/Cellar/activemq/5.11.1/libexec/lib/optional,/usr/local/Cellar/activemq/5.11.1/libexec/lib/web,/usr/local/Cellar/activemq/5.11.1/libexec/lib/extra]

ACTIVEMQ_HOME: /usr/local/Cellar/activemq/5.11.1/libexec

ACTIVEMQ_BASE: /usr/local/Cellar/activemq/5.11.1/libexec

ACTIVEMQ_CONF: /usr/local/Cellar/activemq/5.11.1/libexec/conf

ACTIVEMQ_DATA: /usr/local/Cellar/activemq/5.11.1/libexec/data

Usage: /usr/local/Cellar/activemq/5.11.1/libexec/bin/activemq [--extdir <dir>] [task] [task-options] [task data]

Tasks:

browse                   - Display selected messages in a specified destination.

bstat                    - Performs a predefined query that displays useful statistics regarding the specified broker

create                   - Creates a runnable broker instance in the specified path.

decrypt                  - Decrypts given text

dstat                    - Performs a predefined query that displays useful tabular statistics regarding the specified destination type

encrypt                  - Encrypts given text

export                   - Exports a stopped brokers data files to an archive file

list                     - Lists all available brokers in the specified JMX context

purge                    - Delete selected destination's messages that matches the message selector

query                    - Display selected broker component's attributes and statistics.

start                    - Creates and starts a broker using a configuration file, or a broker URI.

stop                     - Stops a running broker specified by the broker name.

Task Options (Options specific to each task):

--extdir <dir>  - Add the jar files in the directory to the classpath.

--version       - Display the version information.

-h,-?,--help    - Display this help information. To display task specific help, use Main [task] -h,-?,--help

Task Data:

- Information needed by each specific task.

JMX system property options:

-Dactivemq.jmx.url=<jmx service uri> (default is: 'service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi')

-Dactivemq.jmx.user=<user name>

-Dactivemq.jmx.password=<password>

Tasks provided by the sysv init script:

restart         - stop running instance (if there is one), start new instance

console         - start broker in foreground, useful for debugging purposes

status          - check if activemq process is running

Configuration of this script:

The configuration of this script is read from the following files:

/etc/default/activemq /Users/shentianping/.activemqrc /usr/local/Cellar/activemq/5.11.1/libexec/bin/env

This script searches for the files in the listed order and reads the first available file.

Modify /usr/local/Cellar/activemq/5.11.1/libexec/bin/env or create a copy of that file on a suitable location.

To use additional configurations for running multiple instances on the same operating system

rename or symlink script to a name matching to activemq-instance-<INSTANCENAME>.

This changes the configuration location to /etc/default/activemq-instance-<INSTANCENAME> and

$HOME/.activemqrc-instance-<INSTANCENAME>.

启动activeMQ服务,执行

activemq start

然后就可以访问管理web console。在浏览器中输入url: http://localhost:8161/

mac中安装activeMQ相关推荐

  1. 《Python硬件编程实战》——2.8 在Mac中安装Python

    本节书摘来自华章计算机<Python硬件编程实战>一书中的第2章,第2.8节,作者:李茂 著, 更多章节内容可以访问云栖社区"华章计算机"公众号查看. 2.8 在Mac ...

  2. Mac中安装NetBeans方法

    Mac中安装NetBeans方法 NetBeans是java的一个ide工具,来自sun公司出品. 使用用途:我觉得没有idea好用,但是没办法,单子需要,那就安装. 安装方式 下载链接: https ...

  3. Mac中安装软件的传送门

    mac中安装软件的传送门 这些地址都是MacBook电脑中的安装地址 office办公软件 下载notepad eclipse安装svn插件 激活Idea&&Idea部署项目 手动卸载 ...

  4. Mac中安装多个JDK版本

    丢失的牛羊可以找回:但是失去的时间却无法找回. 在日常工作中,我们可能会涉及到多个 JDK 版本的使用,接下来就给大家分享在Mac中安装多个JDK版本,并且可以任意切换 下载所需版本 官网地址:htt ...

  5. mac中安装的虚拟机系统无法使用触控板或鼠标

    3.17上午:今天早晨一开工,就发现我在mac中安装的linux系统工作不正常,只能用键盘控制,之前以为是触控板的问题,后来接上鼠标后还是没反应,该系统是安装在VMware虚拟机中的,不知道是不是之前 ...

  6. MAC中安装 sudo gem install cocoapods 报错 Building native extensions. This could take a while...

    原文地址声明:https://blog.csdn.net/qq_23179075/article/details/104819430 在MAC中安装 sudo gem install cocoapod ...

  7. mac 二进制安装mysql_如何在MAC中安装mysql二进制分发版

    如何在MAC电脑中安装mysql二进制分发版,对于这个问题,许多用户都还不是很清楚,其实解决的方法也不难,那么具体该怎么做呢?现在小编就告诉大家解决的方法吧. 没有mac的root密码,当前用户有su ...

  8. Mac中安装Miniconda, Pytorch, Jupyter notebook

    Step 1 - Miniconda 下载 Miniconda sh 文件,链接如下 https://repo.anaconda.com/miniconda/Miniconda3-latest-Mac ...

  9. 在r中对oracle,关于r:在Mac中安装ROracle

    我在Mac OS Sierra上. 我已经尝试过-在OS X Mavericks上安装RODBC / ROracle软件包,但没有帮助. 这是我所做的: 从http://www.oracle.com/ ...

最新文章

  1. Ubuntu 18.04安装中文输入法
  2. python储存在ftp_python实现FTP
  3. S3C2443时钟管理
  4. 我的机器学习入门之路(下)——知识图谱、推荐、广告
  5. android实现录像功能吗,Android实现录屏直播(一)ScreenRecorder的简单分析
  6. oracle 同一列数据不同条件分组求和_艾瑞教育:有关Oracle数据库,你需要知道的几件事...
  7. JavaScript之基础-9 JavaScript String(内置对象、String概述、字符串常用操作、模式匹配)...
  8. Spring Boot 异常处理,值得学习!
  9. java实战技巧--关于格式化输出日期
  10. rs232转usb驱动_RS232的使用 最少需要3根线
  11. 五子棋游戏设计详解(C语言)
  12. SQL Server2017 安装错误:Verify that you have sufficient access to that key
  13. 多因素deseq2 formula 怎么理解 如何设置design 哈佛大学——差异表达分析(七)设计公式(Design formulas)多因素差异分析 多个影响因子会影响差异分析结果 多因子
  14. 机器学习(聚类七)——层次聚类的优化算法
  15. Android开发-Service(服务)
  16. JS日期、年月日、时分秒
  17. 计算机应用技术专业硕士学位,南华大学计算机应用技术专业硕士学位研究生培养方案...
  18. [原创]中国大陆民谣盘点8 曹崴《情歌唱晚》
  19. 含文档+PPT+源码等]精品微信小程ssm便捷记账本小程序+后台管理系统|前后分离VUE[包运行成功]微信小程序项目源码Java毕业设计
  20. python-关于爬虫爬取36kr数据

热门文章

  1. 09(maven+SSH)网上商城项目实战之使用jersey实现应用服务器和图片服务器分离...
  2. 或许每条喵咪上辈子都是陨落的码农
  3. HDU 1176 免费馅饼
  4. windows和linux双系统引导问题
  5. pythonos pathjson_python进阶05 常用问题库(1)json os os.path模块
  6. 一元二次方程python脚本_Python实现求解一元二次方程的方法示例
  7. spring源码:资源管理器Resource
  8. Java:重写equals()和hashCode() 1
  9. ajax乱码解决汇总
  10. 如何在服务器上部署pdf文件,详解如何在云服务器上部署Laravel.pdf