install brew
https://www.jianshu.com/p/b8dd89fd9231
install redis
https://www.jianshu.com/p/3bdfda703552
启动方式
To have launchd start redis now and restart at login:
brew services start redis
Or, if you don't want/need a background service you can just run:
redis-server /usr/local/etc/redis.conf
网友评论