CentOS下ActiveMQ安装配置

ActiveMQ是Apache软件基金下的一个开源软件,它遵循JMS1.1规范(Java Message Service),是消息驱动中间件软件(MOM)。它为企业消息传递提供高可用,出色性能,可扩展,稳定和安全保障。

下载安装

官网下载:http://activemq.apache.org/download.html
wget 【ActiveMQ 5.15.8 Release】
tar -zxvf xxxx
进入ActiveMQ的bin目录,然后可以启动、停止服务,查看服务状态,控制台内容等
启动
./activemq start
查看控制台内容
./activemq console
activemq
Web管理网址
默认用户名密码 admin/admin
服务启动后,网址http://localhost:8161/admin
admin

错误处理

查看控制台命令:./activemq console
在activemq启动时,没有发现错误信息,但./activemq status查看却是没有activemq服务。
经过./activemq console查看发现时端口被占,通过更改activemq.xml中的transportConnector节点,终于正常启动。

猜你喜欢

转载自blog.csdn.net/weixin_44153121/article/details/86475933