Redis/zookeeper/ActiveMQ在Mac下的安装配置

框架中需要用到redis、zookeeper和activemq,目前开发环境搭建在Mac下,使用brew安装是比较简便快捷的方式:

$ brew search zookeeper
zookeeper ✔
homebrew/php/php53-zookeeper             homebrew/php/php55-zookeeper
homebrew/php/php54-zookeeper             homebrew/php/php56-zookeeper
$ brew search redis
hiredis         redis ✔         redis-leveldb   redis@2.6       redis@2.8
homebrew/nginx/redis-nginx-module        homebrew/php/php56-redis
homebrew/php/php72-redis                 homebrew/php/php70-redis
homebrew/php/php53-redis                 homebrew/php/php71-redis
homebrew/php/php54-redis                 caskroom/cask/redis-app
homebrew/php/php55-redis
$ brew search activemq
activemq ✔                               activemq-cpp

通过search查到对应的安装包,运行brew install完成安装

brew install redis
brew install zookeeper
brew install activemq

安装后进行配置和启动

vi /usr/local/etc/redis.conf

修改其中的password值

requirepass 123456

启动redis

$ redis-server /usr/local/etc/redis.conf &

启动zookeeper

$ zkServer start

启动activemq

$ activemq start

 

转载于:https://www.cnblogs.com/growingpains/p/7207830.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值