精通redis

精通redis


redis 安装

  1. 下载文件
    wget http://download.redis.io/releases/redis-5.0.5.tar.gz
    tar zxvf redis-5.0.5.tar.gz
    cd redis-5.0.5
    make
    cd src
    [root@master src]# ls redis-* -l
    -rwxr-xr-x 1 root root 4366576 Aug 17 06:33 redis-benchmark
    -rw-rw-r-- 1 root root 29605 May 16 00:07 redis-benchmark.c
    -rw-r--r-- 1 root root 109120 Aug 17 06:33 redis-benchmark.o
    -rwxr-xr-x 1 root root 8111784 Aug 17 06:33 redis-check-aof
    -rw-rw-r-- 1 root root 7175 May 16 00:07 redis-check-aof.c
    -rw-r--r-- 1 root root 28888 Aug 17 06:33 redis-check-aof.o
    -rwxr-xr-x 1 root root 8111784 Aug 17 06:33 redis-check-rdb
    -rw-rw-r-- 1 root root 13545 May 16 00:07 redis-check-rdb.c
    -rw-r--r-- 1 root root 66080 Aug 17 06:33 redis-check-rdb.o
    -rwxr-xr-x 1 root root 4806800 Aug 17 06:33 redis-cli
    -rw-rw-r-- 1 root root 266751 May 16 00:07 redis-cli.c
    -rw-r--r-- 1 root root 928552 Aug 17 06:33 redis-cli.o
    -rwxr-xr-x 1 root root 8111784 Aug 17 06:33 redis-sentinel
    -rwxr-xr-x 1 root root 8111784 Aug 17 06:33 redis-server
    -rwxrwxr-x 1 root root 3600 May 16 00:07 redis-trib.rb
上一篇:MySQL MHA switchover在线切换过程


下一篇:MySQL MHA failover过程