1.上官网(http://activemq.apache.org/)下载压缩包解压,转移阵地

 # mv apache-activemq-5.15.2/ /usr/local/activemq

2.切换目录到activemq/bin启动activemq

 # ./activemq start

 # netstat -anp|grep 61616

centos7下安装activemq

启动之后查看端口使用情况,因为我的是minimal版本,所以还需要下载插件

 # yum install net-tools

centos7下安装activemq

安装完后查看,没有?难道我没有启动?

 # ps -ef | grep activemq

centos7下安装activemq

查看进程我们发现服务是启动了的,也就是说这是端口未开放的问题

# firewall-cmd --add-port=8161/tcp
 # firewall-cmd --add-port=61616/tcp
 # firewall-cmd --list-all

centos7下安装activemq

 # systemctl restart firewalld
 # firewall-cmd --state

centos7下安装activemq

3.访问http://IP:8161/admin/,默认账号密码admin/admin

嗯?打不开页面??试试关闭防火墙

 注意centos7的关闭防火墙的命令已经改变

centos7下安装activemq

相关文章:

  • 2022-12-23
  • 2021-12-12
  • 2022-12-23
  • 2021-12-27
  • 2021-05-08
  • 2021-12-06
  • 2021-09-30
  • 2021-05-10
猜你喜欢
  • 2021-08-16
  • 2022-01-17
  • 2021-06-29
  • 2022-03-04
  • 2021-10-03
  • 2021-12-02
  • 2022-12-23
相关资源
相似解决方案