redis-cli启动问题
首先需要找到redis的所在目录,然后将redis.conf复制到/etc/redis.conf
另外需要将redis.conf文件中的 daemonize no 设置为 daemonize yes.
执行命令: redis-server /etc/redis.conf
然后执行:redis-cli
posted on 2015-03-15 12:33 Stomach_ache 阅读(546) 评论(0) 编辑 收藏 举报
首先需要找到redis的所在目录,然后将redis.conf复制到/etc/redis.conf
另外需要将redis.conf文件中的 daemonize no 设置为 daemonize yes.
执行命令: redis-server /etc/redis.conf
然后执行:redis-cli
posted on 2015-03-15 12:33 Stomach_ache 阅读(546) 评论(0) 编辑 收藏 举报