1

我正在按照本教程设置 Redis 服务器: https ://www.digitalocean.com/community/tutorials/how-to-install-and-use-redis

并收到此错误消息:

Mmmmm... the default config is missing. Did you switch to the utils directory?

我在 /utils 目录中,但似乎没有默认配置。从我在网上阅读的文档看来,配置似乎应该是在设置时创建的。这是我必须手动制作的还是安装错误?我的“make test”命令运行成功,所以我不知道为什么配置文件不会自动设置。

4

2 回答 2

1

If you're on WSL (Windows Subsystem for Linux), you can get this error if you put your Redis folder somewhere that has a path name containing whitespace.

So, like if you put it in the "Program Files" folder. I migrated mine out to just the C:\ drive (or /mnt/c/ for WSL), and it worked just fine.

于 2020-01-27T19:34:26.867 回答
0

必须手动将默认配置从上面的目录复制到正确的目录中。

于 2016-05-25T15:14:42.147 回答