Home  >  Article  >  Backend Development  >  mac 上用brew安装完redis 扩展后如何开启配置呢??

mac 上用brew安装完redis 扩展后如何开启配置呢??

WBOY
WBOYOriginal
2016-06-06 20:12:001177browse

mac 上用brew安装完redis 扩展后如何开启配置呢??

回复内容:

mac 上用brew安装完redis 扩展后如何开启配置呢??

不太明白题主的意思,是说用brew安装后找不到配置文件吗?

如果是的话,配置文件在/usr/local/etc/redis.conf

我一般写到.bash_profile

<code>etc=/usr/local/etc
export etc 
</code>

使用时一般会这样用

<code>vim $etc/redis.conf</code>

brew info redis

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn