您的位置:时时app平台注册网站 > 时时app平台注册网站 > Redis/zookeeper/ActiveMQ在Mac下的装置配备

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

2019-11-21 02:51
$ activemq start

启动zookeeper

 

框架中需要用到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

启动activemq

$ zkServer start

安装后进行配置和启动

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

brew install redis
brew install zookeeper
brew install activemq

修改其中的password值

vi /usr/local/etc/redis.conf
requirepass 123456

启动redis

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

本文由时时app平台注册网站发布于时时app平台注册网站,转载请注明出处:Redis/zookeeper/ActiveMQ在Mac下的装置配备

关键词: