1、安裝redis
$ brew install redis
Error:Failed to download resource "reds" // 下載reds失敗
不過不需要擔心,brew會已經從其它地方下載並正確安裝了
配置文件路徑: /usr/local/etc/redis.conf
2、啟動redis(可選)
$ redis-server
3、添加至開機啟動項(可選)
$ ln -f /usr/local/Cellar/redis/2.8.13/homebrew.mxcl.redis.plist ~/Library/LaunchAgents/
$ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist