ubuntu1404 installation Activemq

Source: Internet
Author: User

Environment is ubuntu14.04,jdk1.8.0_73, ActiveMQ-5.13.1

  1. Download 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. Installing the configuration JDK

    The next time the terminal executes the following statement

    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. Download ACTIVEMQ

    Address: 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. Start and test

    Start/opt/activemq/bin/activemq Start

    Test/OPT/ACTIVEMQ/BIN/ACTIVEMQ Status

    Ps-ax | grep (61616 or ACTIVEMQ)

ubuntu1404 installation Activemq

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.