-
更新系统软件包
|
1
2
|
sudo
apt update
sudo
apt upgrade
|
-
安装 jdk
|
1
|
sudo
apt
install
default-jdk
|
-
安装、启动 ActiveMQ
|
1
2
|
sudo
apt
install
activemq
sudo
systemctl start activemq
|
-
查看
|
1
2
|
sudo
systemctl status activemq
netstat
-
nl
|
grep
61616
|
说明:截止到2018-01-26 这种方式都还是有问题的【active (exited)】,已有人提交 bug report。
-
Web 管理页:http://127.0.0.1:8161/admin/
-
服务状态说明
|
1
2
3
4
5
6
7
8
9
|
loaded
# 系统服务已经初始化完成,加载过配置
active(running)
# 正有一个或多个程序正在系统中执行,守护进程 activemq 就应该是这种模式
atcive(exited)
# 仅执行一次就正常结束的服务,如 iptables
atcive(waiting)
# 正在执行中,不过还再等待其他的事件才能继续处理
inactive
# 服务关闭
enbaled
# 服务开机启动
disabled
# 服务开机不自启
static
# 服务开机启动项不可被管理
failed
# 系统配置错误
本文转自walker snapshot博客51CTO博客,原文链接http://blog.51cto.com/walkerqt/2065359如需转载请自行联系原作者 RQSLT
|