• 下载

​http://www.redis.cn/download.html​

  • 解压
tar xf redis-5.0.5.tar.gz
  • 编译运行
cd redis-5.0.5

make

# 运行这个,可以放在后台。
src/redis-server