1. cd到redis的安装目录,我的是:/usr/local/redis/redis-stable
  2. 然后执行:
src/redis-server --version
  1. 输出:Redis server v=3.0.4 sha=00000000:0 malloc=jemalloc-3.6.0 bits=64 build=68e2e90a2c40fe42