ubuntu1404安装ActiveMQ

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ubuntu1404安装ActiveMQ相关的知识,希望对你有一定的参考价值。

环境是Ubuntu14.04,jdk1.8.0_73, ActiveMQ-5.13.1

  1. 下载jdk

    http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html


    mkdir /usr/lib/jvm

    tar zxvf jdk-8u73-linux-x64.tar.gz

    mv jdk1.8.0_73 /usr/lib/jvm/

    mv /usr/lib/jvm/jdk1.8.0_73 /usr/lib/jvm/jdk

  2. 安装配置jdk

    终端下一次执行以下语句

    update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk/bin/java 1065

    update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk/bin/javac 1065

    update-alternatives --install /usr/bin/jar jar /usr/lib/jvm/jdk/bin/jar 1065

    update-alternatives --install /usr/bin/javaw javaw /usr/lib/jvm/jdk/bin/javaw 1065

    update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk/bin/javaws 1065

    update-alternatives --config java

  3. 下载ActiveMQ

    地址:http://www.apache.org/dyn/closer.cgi?path=/activemq/5.13.1/apache-activemq-5.13.1-bin.tar.gz

    tar zxvf apache-activemq-5.13.1-bin.tar.gz

    mv apache-activemq-5.13.1-bin.tar.gz  activemq

    mv activemq /opt/

  4. 启动和测试

    启动 /opt/activemq/bin/activemq start

    测试 /opt/activemq/bin/activemq status

    ps -ax | grep (61616 或activemq)

以上是关于ubuntu1404安装ActiveMQ的主要内容,如果未能解决你的问题,请参考以下文章

ROS Indigo在ubuntu1404上的安装方法

Ubuntu下离线安装MongoDB教程

ubuntu-14.04安装最新tensorflow记录

中小企业openstack私有云布署实践16.2 Ubuntu1404 只有根分区镜像制作

Ubuntu1404

Ubuntu1404