Installation and use of PHP activemq

Source: Internet
Author: User

What is ACTIVEMQ?
ACTIVEMQ is the most popular, powerful, open source messaging bus that Apache has produced. Support for multiple language clients (java,c,c++,c#,python,ruby,perl,php),

Supports multiple protocols (Openwire,stomp REST,WS NOTIFICATION,XMPP,AMQP).

Ii. Installation of JDK

Http://www.oracle.com/technetwork/java/javase/downloads/index.html

such as: jdk-8u121-linux-x64.tar.gz

Place the JDK under the/DATA/JDK8 (the path can be customized arbitrarily)

> Tar XF jdk-8u121-linux-x64.tar.gz> mv jdk1.8.0_121/data/jdk8> vi/etc/profile
Export Java_home=/data/jdk8export jre_home= $JAVA _home/jreexport classpath=.: $JAVA _home/libexport PATH= $JAVA _home/ Bin: $PATH
> source/etc/profile> java-version

  

Third, installation Activemq

Http://activemq.apache.org/activemq-5144-release.html

such as: apache-activemq-5.14.4-bin.tar.gz

> Tar XF apache-activemq-5.14.4-bin.tar.gz> mv Apache-activemq-5.14.4/data/activemq5

Backstage Way to start ACTIVEMQ

>/DATA/ACTIVEMQ5/BIN/ACTIVEMQ Start

Activemq comes with a Web server (jetty)
In Conf/jetty.xml, it's a configuration file.

My virtual machine IP is 192.168.1.222
We access it through http://192.168.1.222:8161/admin, notice that the firewall is open for this port or just shut down the firewall.
Username/password defaults to Admin/admin

Installation and use of PHP 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.