Install Redis On Mac

  1. 下载包,download the package, https://redis.io/download
  2. 解压 tar xzf redis-3.2.9.tar.gz
  3. cd redis-3.2.9
  4. 编译 make
  5. 测试下,有没有错误make test
  6. 编译好的资源放在了src目录下
  7. 启动redis服务, src/redis-server
  8. 使用内置的客户端连接redis, src/redis-cli
  9. 选择库,select 0
  10. 练习, set hello world
  11. 查看,get hello

 
原文地址:https://www.cnblogs.com/Wolfanature/p/7101139.html