执行redis 配置文件 redis-server /etc/redis/redis.conf 就命令就可以执行成功了。 转载于:https://www.cnblogs.com/riding/p/5867187.html