apache activeMQ 5.9 在unix solaris11上的安装

来源:互联网 发布:hashmap的hash算法key 编辑:程序博客网 时间:2024/06/05 17:34
最近在使用activeMQ,发现在C#下用最新版本的Apache.NMS.ActiveMQ-1.6.1-bin.zip连接activeMQ 5.3.2总是报内存溢出,所以打算使用新版的activeMQ 5.9试试,安装过程如下:
1.下载 activemq5.9.0
http://activemq.apache.org/activemq-590-release.html
2.解压到一个unix用户下
2.1新建用户
groupadd  -g  101 users
useradd  -u 104 -g 101 -d  /export/home/activemq -s /bin/csh -c activemq activemq
mkdir -p /export/home/activemq 
chmod -R 755  /export/home/activemq 
chown -R activemq:users /export/home/activemq
2.2解压
gzip -d *.tar.gz 
tar xvf *.tar
3.启动程序
登陆到activemq用户
cd apache-activemq-5.9.0/bin
执行 activemq setup /export/home/activemq/.activemqrc
执行 activemq start
4.停止程序
登陆到activemq用户
cd apache-activemq-5.9.0/bin
执行 activemq stop
或者kill 进程
4.管理
ActiveMQ WebConsole available at http://localhost:8161/
原创粉丝点击