Installation deployment for the Activemq_windows version

Source: Internet
Author: User
Tags failover

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

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.