activemq linux安装

一、准备

 contos7

 jdk1.8.0_151(配置环境变量略)

 apache-activemq-5.9.0-bin.tar

 


 1.1安装tools包可以运行netstat之类的

 yum install net-tools  1.2//contos7永久关闭防火墙 注:contos7里面将service 命令改为了 systemctl,也可以去防火墙里对ip端号放行
 systemctl disable firewalld

二、开始安装 

2.1

查看本机名
hostname
修改hosts文件
vi /etc/hosts
在末尾添加
127.0.0.1 本机名

2.2将activemq解压到/usr/ 
tar -xvf apache-activemq-5.9.0-bin.tar -C /usr/

2.3进入bin文件夹
cd /usr/apache-activemq-5.9.0/bin

 2.4运行activemq 

 ./activemq start 

三  访问http://虚拟机IP:8161/admin/

   账号admin

   密码admin

    

 

  

posted @ 2018-01-15 20:19  dune.F  阅读(176)  评论(0编辑  收藏  举报