1. Redis下载和安装,可以参考官网https://redis.io/download $ wget http://download.redis.io/releases/redis-4.0.8.tar.gz $ tar xzf redis-4.0.8.tar.gz $ cd redis-4.0.8 $ make 安装后在src目录下启动redis $ src/redis-server 客户端可以使用命令行来连接和测试 $ src/redis-cli ...

    阅读全文
  2. # Redis configuration file example. # # Note that in order to read the configuration file, Redis must be # started with the file path as first argument: # # ./redis-server /path/to/redis.conf # Note on units: when memory size is needed, it ...

    阅读全文