1. 下载

   [logan@localhost java]$ wget http://download.redis.io/releases/redis-3.2.8.tar.gz
2. 解压
    [logan@localhost java]$ tar zxf redis-3.2.8.tar.gz
3. 进入目录
  [logan@localhost java]$ cd redis-3.2.8/
4. 编译
  [logan@localhost redis-3.2.8]$ make

5. 启动服务端

     [logan@localhost redis-3.2.8]$ src/redis-server

6. 启动客户端

     [logan@localhost redis-3.2.8]$ src/redis-cli
   127.0.0.1:6379> set name zhangsan
  OK
  127.0.0.1:6379> get name
  "zhangsan"


 

  

相关文章:

  • 2021-06-10
  • 2022-12-23
  • 2022-12-23
  • 2021-05-17
  • 2021-09-16
猜你喜欢
  • 2022-01-21
  • 2022-12-23
  • 2022-01-29
  • 2022-02-24
  • 2021-11-29
  • 2022-02-26
相关资源
相似解决方案