由于配置文件错误,无法启动Redis服务器

Joh*_*ohn 7 redis

我刚刚按照这里的说明安装了Redis:http://redis.io/download

当我运行redis-server redis.conf时出现以下错误:

*** FATAL CONFIG FILE ERROR ***
Reading the configuration file, at line 135
>>> 'slave-serve-stale-data yes'
Bad directive or wrong number of arguments
Run Code Online (Sandbox Code Playgroud)

谢谢

Ana*_*ari 2

在尝试安装时请确保您具有必要的读/写权限。在 ubuntu 上确保你运行像

sudo make install
Run Code Online (Sandbox Code Playgroud)