ACTIVEMQ Installation and startup install Java configuration Java Environment Download ACTIVEMQ uncompressed Compression Pack tar zxvf activemq-x.x.x-bin.tar.gz this, Linux activ__.net

Source: Internet
Author: User
installation and start-up of Activemq
Install Java Configuration Java environment
download ACTIVEMQ
Unzip the compressed package
Tar zxvf activemq-x.x.x-bin.tar.gz
At this point, Linux under the ACTIVEMQ installation work is completed.


ACTIVEMQ startup under Linux
The startup Activemq is split into two modes, starting with the front-end process (the console shuts down, the service is turned off), or the way the background process starts:

Front-End process:
CD [Activemq_install_dir]/bin
./ACTIVEMQ Console

Back-end processes:
CD [Activemq_install_dir]/bin
./activemq Start

Test startup results
Enter http://127.0.0.1:8161/admin/login/password in the browser: admin/admin
Switch to the Queues tab page
Click "Create" to build a queue
Click ' Send to ' to send message
ACTIVEMQ's listening port.


Linux ACTIVEMQ Default listener port number: 61616, can be viewed through netstat
Netstat-nl|grep 61616
1
Close ACTIVEMQ

If the front-end process is started, you can close the console CTRL + C directly.

If the back-end process is started, it is closed with the following script.
CD [Activemq_install_dir]/bin
./ACTIVEMQ Stop

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.