Linux中activemq的安装

1.tar zxf apache-activemq-5.12.0-bin.tar.gz

tar zxf apache-activemq-5.12.0-bin.tar.gz

2.cd apache-activemq-5.12.0/bin/

cd apache-activemq-5.12.0/bin/

3.开启activemq

./activemq start

4.关闭activemq

./activemq stop

5.开放8161端口号

/sbin/iptables -I INPUT -p tcp --dport 8161 -j ACCEPT
/etc/rc.d/init.d/iptables save

6.cat /etc/sysconfig/network

cat /etc/sysconfig/network 

显示

NETWORKING=yes
HOSTNAME=CentOS1

7.cat /etc/hosts

cat /etc/hosts

显示

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

8.vim /etc/hosts

vim /etc/hosts

把CentOS1加进去改为

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4 CentOS1
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

9.cd /root/apache-activemq-5.12.0/bin/

cd /root/apache-activemq-5.12.0/bin/

10../activemq start

./activemq start

11.开放61616端口号

/sbin/iptables -I INPUT -p tcp --dport 61616 -j ACCEPT
/etc/rc.d/init.d/iptables save

12.登录

http://192.168.25.128:8161/

这里写图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值