首页 > 技术文章 > 阿里云服务器 apt-get 安装redis报错

changtao 2019-12-31 10:13 原文

1.Job for redis-server.service failed because a timeout was exceeded.

See "systemctl status redis-server.service" and "journalctl -xe" for details.

 

 

解决:

vim /etc/redis/redis.conf

检查看看 相同目录下有没有这个redis.conf配置文件

如果有:

修改 bind:127.0.0.1 ::1  为 bind:127.0.0.1  解决

如果没有:

ps: 另寻其他绝径!!!

推荐阅读