ActiveMQ(消息中间件)安装

ActiveMQ(消息中间件)安装

准备工作:Linux系统、jdk安装、ActiveMQ压缩包



一、解压准备的ActiveMQ压缩包



二、运行解压后的apache-activemq-5.12.0中的bin目录的activemq

bin/activemq start    //启动


bin/activemq status    //查看状态
bin/activemq stop    //关闭


使用浏览器访问:192.168.25.128:8161



登录后:




访问Queues或Topics出现错误页面解决方法(错误代码405):

主机名可以通过下面的命令查看:

cat /etc/sysconfig/network   //查看主机名


vim /etc/hosts   //配置本机ip对应本机的主机名


配置完成后,重启activemq。

猜你喜欢

转载自blog.csdn.net/qq1031893936/article/details/80456249
今日推荐