Redis: 改变HomeBrew安装的数据库文件目录
-
vi /usr/local/etc/redis.conf
-
修改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/