1 安装

  1. yum install redis

2 启动

  1. redis-server # 默认使用 /etc/redis.conf 启动

3 连接

  1. redis-cli