Centos7安装activemq5.14.5

Installation Procedure for Unix

Unix Binary Installation

This procedure explainshow to download and install the binary distribution on a Unix system.

NOTE: There are several alternative ways to perform this type ofinstallation.

  1. Download the activemq zipped tarball file to the Unix machine, using either a browser or a tool, i.e., wget, scp, ftp, etc. for example:
    (see Download -> "The latest stable release")

wget http://activemq.apache.org/path/tofile/apache-activemq-x.x.x-bin.tar.gz

  1. Extract the files from the zipped tarball into a directory of your choice. For example:

cd[activemq_install_dir]

tar zxvfactivemq-x.x.x-bin.tar.gz

 

 

Starting ActiveMQ

There now followsinstructions on how to runthe ActiveMQ Message Broker.

On Windows:

From a console window,change to the installation directory and run ActiveMQ:

cd[activemq_install_dir]

whereactivemq_install_dir is the directory in which ActiveMQ was installed, e.g.,c:\Program Files\ActiveMQ-5.x.

Then type:

bin\activemq start

NOTE: Working directories get created relative to the currentdirectory. To create working directories in the proper place, ActiveMQ must belaunched from its home/installation directory.

On Unix:

From a command shell,change to the installation directory and run ActiveMQ as a foregroud process:

cd [activemq_install_dir]/bin

./activemq console

From a command shell,change to the installation directory and run ActiveMQ as a daemon process:

cd [activemq_install_dir]/bin

./activemq start

 

 

Testing the Installation

Using the administrative interface

  • Open the administrative interface
  • Navigate to "Queues"
  • Add a queue name and click create
  • Send test message by klicking on "Send to"

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值