大家好,我今天在mac上安装redis遇到一些问题希望大家多多帮忙。
我在官网下载了redis-2.8.13,然后解压,redis-2.8.13这个文件夹就在我的downloads这个文件夹下面,我看网上说的执行make,我就直接进入到了redis-2.8.13文件夹执行了make,是应该在根目录里面执行吗,那应该怎么做呢?
阿神2017-04-24 09:16:08
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
PHPz2017-04-24 09:16:08
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.