ActiveMQ简介与集群搭建--编辑中

消息中间件简介

ActiveMQ,kafka,RocketMQ等。。待定

安装

(1)安装zookeeper

安装步骤详见: zookeeper集群搭建

(2)安装ActiveMQ

cd /usr/local/software  
mkdir activemq   ##创建文件夹 
wget http://archive.apache.org/dist/activemq/5.11.1/apache-activemq-5.11.1-bin.tar.gz  ##下载
tar -zxvf  apache-activemq-5.11.1-bin.tar.gz  ##解压
mv apache-activemq-5.11.1 activemq-5.11  ##重命名
./activemq-5.11/bin/activemq start   ##启动
验证:
访问 http://127.0.0.1:8161/admin/
可在conf/jetty.xml中自行修改端口:
    <bean id="jettyPort" class="org.apache.activemq.web.WebConsolePort" init-method="start">
             <!-- the default port number for the web console -->
        <property name="host" value="0.0.0.0"/>
        <property name="port" value="8161"/>
    </bean>
conf/jetty-realm.properties中修改用户名密码:
admin: admin, admin
user: user, user
访问并登陆对应用户成功后显示如下页面:

集群配置

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值