下一篇文章: Python--Redis实战:第一章第一节:Redis简介
一、安装redisredis
$ brew install redis
Error:Failed to download resource "reds"segmentfault
// 下载reds失败spa
不过不须要担忧,brew会已经从其它地方下载并正确安装了code
配置文件路径: /usr/local/etc/redis.confserver
二、启动redis(可选)homebrew
$ redis-server
三、添加至开机启动项(可选)rem
$ ln -f /usr/local/Cellar/redis/2.8.13/homebrew.mxcl.redis.plist ~/Library/LaunchAgents/ $ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
下一篇文章: Python--Redis实战:第一章第一节:Redis简介