• 更新系统软件包

sudo apt update 
sudo apt upgrade
  • 安装 jdk

sudo apt install default-jdk
  • 安装、启动 ActiveMQ

sudo apt install activemq
sudo systemctl start activemq
  • 查看

sudo systemctl status activemq
netstat -nl|grep 61616

说明:截止到2018-01-26 这种方式都还是有问题的【active (exited)】,已有人提交 bug report

  • Web 管理页:http://127.0.0.1:8161/admin/

  • 服务状态说明

loaded				# 系统服务已经初始化完成,加载过配置
active(running)		# 正有一个或多个程序正在系统中执行,守护进程 activemq 就应该是这种模式
atcive(exited)		# 仅执行一次就正常结束的服务,如 iptables
atcive(waiting)		# 正在执行中,不过还再等待其他的事件才能继续处理
inactive			# 服务关闭
enbaled				# 服务开机启动
disabled			# 服务开机不自启
static				# 服务开机启动项不可被管理
failed				# 系统配置错误


*** walker ***