Pyhton--Redis实战:Mac brew安装redis

下一篇文章:
Python–Redis实战:第一章第一节:Redis简介

1、安装redis

$ brew install redis

《Pyhton--Redis实战:Mac brew安装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

下一篇文章:
Python–Redis实战:第一章第一节:Redis简介

    原文作者:Mark
    原文地址: https://segmentfault.com/a/1190000016496076
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞