redis安装
wget http://download.redis.io/releases/redis-3.0.6.tar.gz
tar -zxf redis-3.0.6.tar.gz
mv redis-3.0.6 /usr/local/redis
cd /usr/local/redis/
grep -n "^[a-Z\[]" /usr/local/redis/redis.conf
42:daemonize yes
46:pidfile /var/run/redis.pid
50:port 6379
59:tcp-backlog 511
79:timeout 300
95:tcp-keepalive 0
103:loglevel notice
108:logfile "6379.log"
123:databases 16
147:save 900 1
148:save 300 10
149:save 60 10000
164:stop-writes-on-bgsave-error yes
170:rdbcompression yes
179:rdbchecksum yes
182:dbfilename dump.rdb
192:dir ./
230:slave-serve-stale-data yes
246:slave-read-only yes
277:repl-diskless-sync no
289:repl-diskless-sync-delay 5
322:repl-disable-tcp-nodelay no
359:slave-priority 100
429:maxclients 50000
455:maxmemory 3221225472
479:maxmemory-policy volatile-lru
512:appendonly no
516:appendfilename "appendonly.aof"
543:appendfsync no
564:no-appendfsync-on-rewrite yes
583:auto-aof-rewrite-percentage 100
584:auto-aof-rewrite-min-size 64mb
608:aof-load-truncated yes
626:lua-time-limit 5000
754:slowlog-log-slower-than 10000
758:slowlog-max-len 128
779:latency-monitor-threshold 0
825:notify-keyspace-events ""
832:hash-max-ziplist-entries 512
833:hash-max-ziplist-value 64
838:list-max-ziplist-entries 512
839:list-max-ziplist-value 64
846:set-max-intset-entries 512
851:zset-max-ziplist-entries 128
852:zset-max-ziplist-value 64
866:hll-sparse-max-bytes 3000
886:activerehashing yes
921:client-output-buffer-limit normal 0 0 0
922:client-output-buffer-limit slave 256mb 64mb 60
923:client-output-buffer-limit pubsub 32mb 8mb 60
940:hz 10
946:aof-rewrite-incremental-fsync yes
/usr/local/redis/src/redis-server /usr/local/redis/redis.conf
redis安装
最新推荐文章于 2020-12-15 13:24:08 发布