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