zoukankan      html  css  js  c++  java
  • 【ActiveMq】linux ActiveMq安装

    1.官网下载

    http://activemq.apache.org/components/classic/download/

    2.使用xftp 上传到 linux下 opt文件

    3.解压缩

    [root@localhost opt]# tar -zxvf apache-activemq-5.15.11-bin.tar.gz 
    

    4.在根目录下创建一个文件夹

    [root@localhost /]# pwd
    /
    [root@localhost /]# mkdir myactivemq
    

    5.将opt下解压的activemq拷贝到/myactivemq文件夹下

    [root@localhost /]# cp -r /opt/apache-activemq-5.15.11  /myactivemq/
    [root@localhost /]# ls -l
    

    6.进入myactivemq文件夹下activemq/bin目录中

    7.直接启动activemq

    [root@localhost bin]# ./activemq start 
    

    8.启动成功

    INFO: Loading '/myactivemq/apache-activemq-5.15.11//bin/env'
    INFO: Using java '/opt/jdk1.7.0_79/bin/java'
    INFO: Starting - inspect logfiles specified in logging.properties and log4j.properties to get details
    INFO: pidfile created : '/myactivemq/apache-activemq-5.15.11//data/activemq.pid' (pid '3270')
    

    代表启动成功。

    因为启动activemq需要安装jdk环境 所以需要提前安装好jdk环境。

    9.查看activemq是否启动

    ./activemq status 

    10.开放linux8161端口号

    [root@localhost bin]# service iptables status #防火墙状态
    [root@localhost bin]# service iptables start  #防火墙开启
    [root@localhost bin]# service iptables stop  #防火墙关闭
    [root@localhost bin]# vim /etc/sysconfig/ip  #进入到iptables 修改文件
    

    然后再次启动防火墙就可以了。

  • 相关阅读:
    怪题
    reflow(回流)和repaint(重绘)
    typeof
    Apicloud——图片不适配屏幕解决方案
    (学习笔记二)Apicloud使用中的坑
    es6的10个新特性
    QQ刷屏脚本
    vue的组件绑定
    console控制台打印看板娘
    Canvas
  • 原文地址:https://www.cnblogs.com/qxlxi/p/12860729.html
Copyright © 2011-2022 走看看