zoukankan      html  css  js  c++  java
  • linux下activityMQ安装

     

    >下载

    到ActiveMQ官网,找到下载点。

    目前,

    官网为http://activemq.apache.org/

    >启动

    下载到本机,并解压

      wget http://apache.fayea.com/activemq/5.11.1/apache-activemq-5.11.1-bin.tar.gz
    tar -xf ./apache-activemq-5.11.1-bin.tar.gz

    启动(当然,由于依赖于JAVA,如果你没有安装JAVA,它会提醒你的,哈哈)

    cd ./apache-activemq-5.11.1-bin/bin
    ./activemq start
    cd ./apache-activemq-5.11.1-bin/bin
    ./activemq start
     

    >测试启动成功与否

    ActiveMQ默认监听61616端口,查此端口看看是否成功启动

    netstat -an|grep 61616
    netstat -an|grep 61616

    如果一切顺利,会看到如下日志

    [nicchagil@localhost bin]$ ./activemq start
    INFO: Loading '/home/nicchagil/app/apache-activemq-5.11.1/bin/env'
    INFO: Using java '/home/nicchagil/app/jdk1.7.0_71//bin/java'
    INFO: Starting - inspect logfiles specified in logging.properties and log4j.prop erties to get details
    INFO: pidfile created : '/home/nicchagil/app/apache-activemq-5.11.1/data/activem q.pid' (pid '4858')
    [nicchagil@localhost bin]$
    [nicchagil@localhost bin]$
    [nicchagil@localhost bin]$
    [nicchagil@localhost bin]$ netstat -an | grep 61616
    tcp 0 0 :::61616 :::* LIST EN
    [nicchagil@localhost bin]$

    登录下管理员页面,看看有木有问题:ip根据实际的来

    URL : http://127.0.0.1:8161/admin/

    默认账户密码都是admin

     账户密码修改在conf文件夹下的jetty-realm.properties

  • 相关阅读:
    Ubuntu下安装mysql
    MySQL聚集索引与非聚集索引
    mysql索引的简单介绍
    Hive数据导入与导出
    hive的基本操作
    hive的数据模型
    29 ArcMap许可服务器点击授权后无法进入下一步
    28 ArcMap 运行特别慢怎么办
    27 ArcMap加载天地图服务一片空白怎么办
    26 Arcpy跳坑系列——ExportToPNG
  • 原文地址:https://www.cnblogs.com/shihaiming/p/6008319.html
Copyright © 2011-2022 走看看