First, download: APACHE-ACTIVEMQ
Official website http://activemq.apache.org/activemq-5140-release.html
Note the corresponding JDK version
Second, installation Activemq
Create a folder
Decompression TAR-ZXVF apache-activemq-.tar.gz
CD apache-activemq-
CD bin
Go to the extracted bin directory to run./activemq Start background run
Shut down into the unpacked Bin directory to run./activemq Start
At this time ACTIVEMQ not necessarily run successfully!!
Third, check whether to start
To see if a successful netstat-anp|grep 61616 ACTIVEMQ listening port is started
Browser input http://IP:8161/admin Default user name password Admin/admin
If the above two are normal, ActiveMQ start successfully
Iv. Startup failure
If startup failure has an error in the Data/activemq.log log
According to the hint my Liunux's hostname is not legal, so modify the name of the hostname to restart the success
Linux under ACTIVEMQ installation