Redis: 改变HomeBrew安装的数据库文件目录

  1. vi /usr/local/etc/redis.conf

  2. 修改dir "/Volumes/KG's Big YO/Documents/redis_data"

最后,启动Redis:

redis-server /usr/local/etc/redis.conf

Done.

 

原文:http://www.lovewindy.com/redis-gai-bian-homebrewan-zhuang-de-shu-ju-ku-wen-jian-mu-lu/

posted @ 2016-01-06 13:49  GreatK  阅读(358)  评论(0编辑  收藏  举报