mac redis应该怎么安装,具体在哪个文件夹?
大家讲道理
大家讲道理 2017-04-24 09:14:08
0
3
767

大家好,我今天在mac上安装redis遇到一些问题希望大家多多帮忙。
我在官网下载了redis-2.8.13,然后解压,redis-2.8.13这个文件夹就在我的downloads这个文件夹下面,我看网上说的执行make,我就直接进入到了redis-2.8.13文件夹执行了make,是应该在根目录里面执行吗,那应该怎么做呢?

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(3)
阿神
brew update
brew install redis

The default configuration file of redis installed in this way is

/etc/redis.conf

The installation location is OK

brew info redis

or

whereis redis

View

PHPzhong

Just install it with homebrew, it’s much more convenient

PHPzhong

make needs to be executed in the redis directory. I don’t know if the root directory you are talking about refers to the first-level directory of redis. Anyway, it is the first-level directory of redis. Do not enter the lower directory.
Did you make an error when executing make or something? However, it is recommended not to put redis under download, put it in a fixed location, copy it and enter the directory make.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template