journalctl -xef

 

找到您的Redis配置目录,可能是/etc/redis。然后查看名为redis.conf的配置文件,找到以dir开头的行。

它看起来与此相似:

dir /etc/redis/database

相关文章: