Download, extract and compile Redis with:

$ wget http://download.redis.io/releases/redis-2.8.19.tar.gz
$ tar xzf redis-2.8.19.tar.gz
$ cd redis-2.8.19
$ make

The binaries that are now compiled are available in the src directory. Run Redis with:

$ src/redis-server

You can interact with Redis using the built-in client:

$ src/redis-cli
redis> set foo bar
OK
redis> get foo
"bar"

2 测试是否安装成功

redis在linux下的安装和配置

3 命令参考文档

http://redis.readthedocs.org/en/latest/

相关文章:

  • 2022-02-12
  • 2021-09-13
  • 2021-04-25
  • 2022-02-09
  • 2021-12-13
  • 2021-06-24
  • 2021-05-01
猜你喜欢
  • 2021-12-14
  • 2021-12-27
  • 2022-02-21
  • 2021-09-18
  • 2021-08-10
  • 2022-12-23
相关资源
相似解决方案