Linux 环境安装 activemq
2022/7/29 5:22:45
本文主要是介绍Linux 环境安装 activemq,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
activemq 需要jdk环境,请提前配置好;
一、下载:
镜像下载:https://mirrors.cloud.tencent.com/apache/activemq/
本例下载版本:apache-activemq-5.16.5-bin.tar
二、安装
1.使用windSCP 把下载activemq 上传到 Linux 系统的对于的文件目录中。本例 目标文件夹为/usr/software/activemq16
2.进入目标文件夹,解压文件夹: tar -xzvf apache-activemq-5.16.5-bin.tar
3.进入/usr/software/activemq/apache-activemq-5.16.5/bin/linux-x86-64目录下,
- 更改jetty.xml配置:
<property name="host" value="127.0.0.1">
127.0.0.1 改成 本机实际ip
- 启动activeMQ: ./activemq start
4.activemq 相关指令:
- ./activemq start 启动
- ./activemq start >activemq_run.log 追加日志启动
- ./activemq restart 重启
- ./activemq console 启动(打印日志)
- ./activemq status 查看当前activemq状态 正常启动 应该是 running
三、防火墙设置:
关闭防火墙:systemctl stop firewalld
防火墙相关指令可参考https://www.cnblogs.com/lixiuming521125/p/16512227.html
四、访问管理页面:http://192.168.254.131:8161/admin/
五、windows 无法访问虚拟机的activemq服务:
这篇关于Linux 环境安装 activemq的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-03-30[译]漫画SELinux概念
- 2024-03-29linux 移动文件
- 2024-03-28linux .so file
- 2024-03-28Linux 磁盘管理
- 2024-03-28Linux学习笔记(十三)磁盘管理(一):磁盘分区
- 2024-03-26linux 创建 文件
- 2024-03-25使用SecureCRT对Linux vim进行颜色设置
- 2024-03-202019-2020-12 20199317 《Linux内核原理与分析》 第十二周作业
- 2024-03-20Linux运维的第二周总结
- 2024-03-13how to count number of directories in linux