红联Linux门户
Linux帮助

linux下activityMQ安装

发布时间:2016-10-29 11:40:58来源:linux网站作者:俞大爷
>下载
到ActiveMQ官网,找到下载点。
目前官网为http://activemq.apache.org/
 
>启动
下载到本机,并解压
wget http://apache.fayea.com/activemq/5.11.1/apache-activemq-5.11.1-bin.tar.gz
tar -xf ./apache-activemq-5.11.1-bin.tar.gz
启动(当然,由于依赖于JAVA,如果你没有安装JAVA,它会提醒你的,哈哈)
cd ./apache-activemq-5.11.1-bin/bin
./activemq start
 
>测试启动成功与否
ActiveMQ默认监听61616端口,查此端口看看是否成功启动
netstat -an|grep 61616
如果一切顺利,会看到如下日志
[nicchagil@localhost bin]$ ./activemq start
INFO: Loading '/home/nicchagil/app/apache-activemq-5.11.1/bin/env'
INFO: Using java '/home/nicchagil/app/jdk1.7.0_71//bin/java'
INFO: Starting - inspect logfiles specified in logging.properties and log4j.prop erties to get details
INFO: pidfile created : '/home/nicchagil/app/apache-activemq-5.11.1/data/activem q.pid' (pid '4858')
[nicchagil@localhost bin]$
[nicchagil@localhost bin]$
[nicchagil@localhost bin]$
[nicchagil@localhost bin]$ netstat -an | grep 61616
tcp 0 0 :::61616 :::* LIST EN
[nicchagil@localhost bin]$
登录下管理员页面,看看有木有问题:ip根据实际的来
URL : http://127.0.0.1:8161/admin/
默认账户密码都是admin
账户密码修改在conf文件夹下的jetty-realm.properties
linux下activityMQ安装
 
本文永久更新地址:http://www.linuxdiyf.com/linux/25512.html