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的三种启动方式

posted @ 2019-04-15 13:49  lizcao  阅读(3639)  评论(0编辑  收藏  举报