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

WBOY
Release: 2016-06-06 20:12:00
Original
1210 people have browsed it

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

回复内容:

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

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

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

我一般写到.bash_profile

<code>etc=/usr/local/etc
export etc 
</code>
Copy after login

使用时一般会这样用

<code>vim $etc/redis.conf</code>
Copy after login

brew info redis

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template