Centos6.7源码安装 activemq

演示环境

系统:Linux CentOS 6.7 64位

账号:root

环境:无安装 activemq

第一步

首先要确保系统上已经安装JDK,如果没有请先安装JDK

第二步

下载软件:http://activemq.apache.org/download.html

第三步

开始安装

Centos6.7源码安装 activemq

上面的mv这个命令是我存放的目录路径,你可以根据自己的需求设定自己的路径

[[email protected] bin]# ln -s activemq /etc/init.d/  //我将启动脚本链接到了系统的启动脚本目录下

Centos6.7源码安装 activemq

启动了activemq

查看启动的端口号

Centos6.7源码安装 activemq

http://192.168.1.210:8161/

访问上面的网址出现如下截图,则成功。(注我的防火墙是关闭的,如果你的防火请没有关,访问不了那么请添加规则)

Centos6.7源码安装 activemq

[[email protected] bin]#vim /etc/sysconfig/iptables

文件中加入这两行

-A INPUT -m state --state NEW -m tcp -p tcp --dport 8161 -j  ACCEPT

-A INPUT -m state --state NEW -m tcp -p tcp --dport 61616 -j  ACCEPT

[[email protected] bin]# /etc/init.d/iptables restart  //重启防火墙


转载于:https://blog.51cto.com/jiaao/1766231

相关文章:

  • 2021-06-01
  • 2022-01-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-03
猜你喜欢
  • 2021-10-28
  • 2021-07-08
  • 2021-09-05
  • 2021-05-15
  • 2022-01-02
  • 2021-08-27
  • 2021-11-22
相关资源
相似解决方案