ActiveMQ安装及配置
2008-07-01 16:19
351 查看
启动ActiveMQ
TherenowfollowsinstructionsonhowtoOnWindows:
Fromaconsolewindow,changetotheinstallationdirectoryandrunActiveMQ:cd[activemq_install_dir]
whereactivemq_install_diristhedirectoryinwhichActiveMQwasinstalled,e.g.,c:/ProgramFiles/ActiveMQ-4.x.
Thentype:
bin/activemq
NOTE:Workingdirectoriesgetcreatedrelativetothecurrentdirectory.Tocreateworkingdirectoriesintheproperplace,ActiveMQmustbelaunchedfromitshome/installationdirectory.
OnUnix:
在SHELL命令行模式下,通过下面命令进入到ActiveMQ安装目录:cd[activemq_install_dir]
然后输入下面命令启动ActiveMQ:
bin/activemq
或
bin/activemq>/tmp/smlog2>&1&;
Note:/tmp/smlogmaybechangedtoanotherfilename.
NOTE:Workingdirectoriesgetcreatedrelativetothecurrentdirectory.Tocreateworkingdirectoriesintheproperplace,ActiveMQmustbelaunchedfromitshome/installationdirectory.
Warning DoNOTclosetheconsoleorshellinwhichActiveMQwasstarted,asthatwillterminateActiveMQ(unlessActiveMQwasstartedwithnohup). nohupbin/activemq>/tmp/smlog2>&1& |
WEB监控ActiveMQ
TherearevariouswaystoOryoucanusethe
停止ActiveMQ
不管在WINDOWS还是UNIX下,在ActiveMQ正在运行的控制台或SHELL命令行下输入"CTRL-C"来终止运行如果ActiveMQ是在后台启动,则可通过以下方法停止:
ps-ef|grepactivemq
kill[PID]
[PID]就是ActiveMQ运行的进程ID.
配置ActiveMQ
TheActiveMQbrokershouldnowrun.YoucanconfigurethebrokerbyspecifyinganAlsosee
Seethe
IfyouwanttouseJNDItoconnecttoyourJMSproviderthenpleaseviewthe
Aftertheinstallation,ActiveMQisrunningwithabasicconfiguration.Fordetailsonconfiguringoptions,pleaseseerefertothe
相关文章推荐
- ActiveMQ安装配置及使用
- 消息队列之ActiveMQ安装配置
- Apache ActiveMQ实战(1)-基本安装配置与消息类型
- 分布式架构学习之:ActiveMQ高可用集群(zookeeper+leveldb)安装、配置、高可用测试
- activemq安装及配置
- ActiveMQ-在Centos7下安装和安全配置
- 分布式架构学习之:028--ActiveMQ高可用集群(zookeeper+leveldb)安装、配置、高可用测试
- Activemq 安装与集群配置
- ActiveMQ安装与配置
- ActiveMQ 5.15.x Release安装和配置--Linux篇
- 分布式架构高可用架构篇_02_activemq高可用集群(zookeeper+leveldb)安装、配置、高可用测试
- Linux中ActiveMq安装与配置
- JMS之——ActiveMQ的安装与配置(单机版)
- linux上ActiveMQ 集群安装、配置和高可用测试
- ActiveMQ安装与配置
- Apache ActiveMQ实战(1)-基本安装配置与消息类型
- ActiveMQ安装配置 和 使用简例
- ActiveMQ安装与配置
- 分布式架构高可用架构篇_activemq高可用集群(zookeeper+leveldb)安装、配置、高可用测试
- ActiveMQ—安装配置及使用