redis启动异常

在官网上下载redis包,解压后启动。

启动redis报下面的错误! 
*** FATAL CONFIG FILE ERROR *** 
Reading the configuration file, at line 56 
>>> 'tcp-keepalive 0' 
Bad directive or wrong number of argumentsFATAL CONFIG FILE ERROR 

解决办法: 
在redis的目录下执行sudo make install。

redis的三种启动方式

原文地址:https://www.cnblogs.com/webclz/p/10710238.html