Redis/zookeeper/ActiveMQ installation configuration on Mac, rediszookeeper
Redis, zookeeper, and activemq are required in the framework. Currently, the development environment is set up on Mac, and brew installation is a simple and quick method:
$ brew search zookeeperzookeeper homebrew/php/php53-zookeeper homebrew/php/php55-zookeeperhomebrew/php/php54-zookeeper homebrew/php/php56-zookeeper$ brew search redishiredis redis redis-leveldb redis@2.6 redis@2.8homebrew/nginx/redis-nginx-module homebrew/php/php56-redishomebrew/php/php72-redis homebrew/php/php70-redishomebrew/php/php53-redis homebrew/php/php71-redishomebrew/php/php54-redis caskroom/cask/redis-apphomebrew/php/php55-redis$ brew search activemqactivemq activemq-cpp
Check the corresponding installation package through search and run brew install to complete installation.
brew install redisbrew install zookeeperbrew install activemq
Configure and start after installation
vi /usr/local/etc/redis.conf
Modify the password value
requirepass 123456
Start redis
$ redis-server /usr/local/etc/redis.conf &
Start zookeeper
$ zkServer start
Start activemq
$ activemq start