拷贝apache-activemq-5.15.12-bin.tar.gz到linux服务器的/opt下

解压 tar -zxvf apache-activemq-5.15.12-bin.tar.gz

重命名 mv apache-activemq-5.15.12 activemq

 

vim /opt/activemq/bin/activemq

安装ActiveMQ

注册服务

ln -s /opt/activemq/bin/activemq /etc/init.d/activemq

chkconfig  --add  activemq

启动服务  service activemq start

查看状态  service activemq status

安装ActiveMQ

activemq两个重要的端口,一个是提供消息队列的默认端口:61616,另一个是控制端口8161

通过控制台测试

启动消费端  service activemq consumer

相关文章:

  • 2021-11-20
  • 2019-08-26
  • 2021-11-04
  • 2021-11-20
  • 2021-11-20
  • 2021-11-20
  • 2021-11-20
  • 2021-11-30
猜你喜欢
  • 2019-11-15
  • 2020-03-28
  • 2021-11-18
  • 2021-11-20
  • 2021-08-01
  • 2021-11-20
  • 2021-11-20
  • 2021-11-20
相关资源
相似解决方案