把ActiveMQ安装到Linux

1、下载ActiveMQ,链接网址:点我
在这里插入图片描述
2、上传安装包到服务器:

put e:/upload/apache-activemq-5.14.0-bin.tar.gz

如图:
在这里插入图片描述
3、解压:

tar -zxvf apache-activemq-5.14.0-bin.tar.gz

在这里插入图片描述

4、进入解压目录的bin目录:

cd apache-activemq-5.14.0/bin

5、启动:

./activemq start

6、开放端口:

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

7、登录

登陆地址:http://192.168.72.131:8161/
username:root
password:root

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_43937112/article/details/109101604