1. 启动redis [root@redis]# ./bin/redis-server /usr/local/redis/etc/redis.conf 2.停止redis (进入redis安装目录) [root@redis]# ./bin/redis-cli shutdown