1, to ensure that the computer installed on the JDK6 version of Java, and configured a good environment variables;
2, official: http://activemq.apache.org/download-archives.html, use 5.8.0 here
3. Unzip the downloaded apache-activemq-5.8.0-bin.zip.
4, the bin directory by the Win32/win64 can be selected.
5, I'm here to go into Win64, run the Activemq.bat script
6, activemq default boot to 8161 port, after startup in the browser address bar input: Http://localhost:8161/admin required to enter the user name password, the default username password is admin, admin, Then you can see the ACTIVEMQ console interface.
7, the default port of the server is 61616, the configuration file in our program is configured as follows.
<BeanID= "Targetconnectionfactory"class= "Org.apache.activemq.ActiveMQConnectionFactory"> <!--Property name= "Brokerurl" value= "failover:tcp://10.0.26.71:61616"/> - < Propertyname= "Brokerurl"value= "failover:tcp://127.0.0.1:61616" /> </Bean>
Linux platforms:
(1) Copy the apache-activemq-5.8.0-bin.tar.gz to the server directory, such as we placed in the/home/oms directory,
Then TAR-ZXVF apache-activemq-5.8.0-bin.tar.gz extract to the current folder, decompression completed ACTIVEMQ directory for/home/oms/apache-activemq-5.8.0.
(2) Modifying the JVM configuration
/home/apache-activemq-5.8.0/bin/activemq
(3) Port settings
1. Modify the server port (default is 61616)
2. Modify the console port (default value is 8161)
(4) Enter/home/oms/apache-activemq-5.8.0/bin
Start command for ACTIVEMQ start
Stop command for ACTIVEMQ stop
View the Run Status command as ACTIVEMQ status.
The following prompt indicates a successful start:
(5) Browser open:
/HTTP Server IP address: 28161/admin/queues.jsp
Entering the interface indicates a successful deployment.
Installation deployment for the Activemq_windows version