# Redis configuration file example # Note on units: when memory size is needed, it is possible to specify //1 配置大小单位,开头定义了一些基本的度量单位,只支持bytes,不支持bit // 2 对大小写不敏感 # it in the usual form of 1k 5GB 4M and so forth: # # 1k => 1000 bytes # 1kb => 1024…
# Redis configuration file example # Redis示例配置文件 # Note on units: when memory size is needed, it is possible to specify # it in the usual form of 1k 5GB 4M and so forth: # 注意单位问题:当需要设置内存大小的时候,可以使用类似1k.5GB.4M这样的常见格式: # # 1k => 1000 bytes # 1kb => 102…
一.安装 wget http://download.redis.io/releases/redis-3.0.7.tar.gz tar -zxf redis-.tar.gz ln -s redis- redis cd redis make && make install 二.配置 . Redis默认不是以守护进程的方式运行,可以通过该配置项修改,使用yes启用守护进程 daemonize no . 当Redis以守护进程方式运行时,Redis默认会把pid写入/var/run/redis.p…