搭建单机Redis缓存服务的实现

目录
  • 1.安装 gcc
  • 2.下载Redis 安装包
  • 3.解压下载的redis-5.0.14.tar.gz文件
  • 4.查看解压文件情况
  • 5.进入解压的redis-5.0.14目录下,编译和安装
  • 6.查看安装后的redis目录
  • 7.进入reissued.conf文件
  • 8.修改配置 redis.conf 文件
  • 9.启动redis服务
  • 10.验证redis服务启动是否成功
  • 11.登录redis服务
  • 12.退出redis客户端
  • 后加:退出reddis服务(三种)命令

1.安装 gcc

[root@localhost ~]# yum install gcc
已加载插件:fastestmirror, langpacks
base                                                                                        | 3.6 kB  00:00:00
Loading mirror speeds from cached hostfile
 * base:
正在解决依赖关系
--> 正在检查事务
---> 软件包 gcc.x86_64.0.4.8.5-16.el7 将被 升级
---> 软件包 gcc.x86_64.0.4.8.5-44.el7 将被 更新
--> 正在处理依赖关系 libgomp = 4.8.5-44.el7,它被软件包 gcc-4.8.5-44.el7.x86_64 需要
--> 正在处理依赖关系 cpp = 4.8.5-44.el7,它被软件包 gcc-4.8.5-44.el7.x86_64 需要
--> 正在处理依赖关系 libgcc >= 4.8.5-44.el7,它被软件包 gcc-4.8.5-44.el7.x86_64 需要
--> 正在检查事务
---> 软件包 cpp.x86_64.0.4.8.5-16.el7 将被 升级
---> 软件包 cpp.x86_64.0.4.8.5-44.el7 将被 更新
---> 软件包 libgcc.x86_64.0.4.8.5-16.el7 将被 升级
---> 软件包 libgcc.x86_64.0.4.8.5-44.el7 将被 更新
---> 软件包 libgomp.x86_64.0.4.8.5-16.el7 将被 升级
---> 软件包 libgomp.x86_64.0.4.8.5-44.el7 将被 更新
--> 解决依赖关系完成

依赖关系解决

===================================================================================================================
 Package                   架构                     版本                              源                      大小
===================================================================================================================
正在更新:
 gcc                       x86_64                   4.8.5-44.el7                      base                    16 M
为依赖而更新:
 cpp                       x86_64                   4.8.5-44.el7                      base                   5.9 M
 libgcc                    x86_64                   4.8.5-44.el7                      base                   103 k
 libgomp                   x86_64                   4.8.5-44.el7                      base                   159 k

事务概要
===================================================================================================================
升级  1 软件包 (+3 依赖软件包)

总下载量:22 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for base
(1/4): libgcc-4.8.5-44.el7.x86_64.rpm                                                       | 103 kB  00:00:00
(2/4): libgomp-4.8.5-44.el7.x86_64.rpm                                                      | 159 kB  00:00:00
(3/4): cpp-4.8.5-44.el7.x86_64.rpm                                                          | 5.9 MB  00:00:02
(4/4): gcc-4.8.5-44.el7.x86_64.rpm                                                          |  16 MB  00:00:02
-------------------------------------------------------------------------------------------------------------------
总计                                                                               8.3 MB/s |  22 MB  00:00:02
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  正在更新    : libgomp-4.8.5-44.el7.x86_64                                                                    1/8
  正在更新    : libgcc-4.8.5-44.el7.x86_64                                                                     2/8
  正在更新    : cpp-4.8.5-44.el7.x86_64                                                                        3/8
  正在更新    : gcc-4.8.5-44.el7.x86_64                                                                        4/8
  清理        : gcc-4.8.5-16.el7.x86_64                                                                        5/8
  清理        : cpp-4.8.5-16.el7.x86_64                                                                        6/8
  清理        : libgcc-4.8.5-16.el7.x86_64                                                                     7/8
  清理        : libgomp-4.8.5-16.el7.x86_64                                                                    8/8
  验证中      : cpp-4.8.5-44.el7.x86_64                                                                        1/8
  验证中      : gcc-4.8.5-44.el7.x86_64                                                                        2/8
  验证中      : libgcc-4.8.5-44.el7.x86_64                                                                     3/8
  验证中      : libgomp-4.8.5-44.el7.x86_64                                                                    4/8
  验证中      : libgcc-4.8.5-16.el7.x86_64                                                                     5/8
  验证中      : libgomp-4.8.5-16.el7.x86_64                                                                    6/8
  验证中      : cpp-4.8.5-16.el7.x86_64                                                                        7/8
  验证中      : gcc-4.8.5-16.el7.x86_64                                                                        8/8 

更新完毕:
  gcc.x86_64 0:4.8.5-44.el7                                                                                        

作为依赖被升级:
  cpp.x86_64 0:4.8.5-44.el7          libgcc.x86_64 0:4.8.5-44.el7          libgomp.x86_64 0:4.8.5-44.el7         

完毕!

2.下载Redis 安装包

[root@localhost ~]# wget https://download.redis.io/releases/redis-5.0.14.tar.gz
--2023-03-24 00:57:03--  https://download.redis.io/releases/redis-5.0.14.tar.gz
正在解析主机 download.redis.io (download.redis.io)... 45.60.125.1
正在连接 download.redis.io (download.redis.io)|45.60.125.1|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:2000179 (1.9M) [application/octet-stream]
正在保存至: “redis-5.0.14.tar.gz”

100%[=========================================================================>] 2,000,179   2.41MB/s 用时 0.8s   

2023-03-24 00:57:05 (2.41 MB/s) - 已保存 “redis-5.0.14.tar.gz” [2000179/2000179])

注:版本是redis-5.0.14,我是在(/root)目录下安装的文件在/root目录下

3.解压下载的redis-5.0.14.tar.gz文件

[root@localhost ~]# tar -xzvf redis-5.0.14.tar.gz
redis-5.0.14/
redis-5.0.14/.gitignore
redis-5.0.14/00-RELEASENOTES
redis-5.0.14/BUGS
redis-5.0.14/CONTRIBUTING
redis-5.0.14/COPYING
redis-5.0.14/INSTALL
redis-5.0.14/MANIFESTO
redis-5.0.14/Makefile
redis-5.0.14/README.md
redis-5.0.14/deps/
redis-5.0.14/deps/Makefile
redis-5.0.14/deps/README.md
redis-5.0.14/deps/hiredis/
redis-5.0.14/deps/hiredis/.gitignore
redis-5.0.14/deps/hiredis/.travis.yml
redis-5.0.14/deps/hiredis/CHANGELOG.md
redis-5.0.14/deps/hiredis/COPYING
redis-5.0.14/deps/hiredis/Makefile
redis-5.0.14/deps/hiredis/README.md
redis-5.0.14/deps/hiredis/adapters/
redis-5.0.14/deps/hiredis/adapters/ae.h
redis-5.0.14/deps/hiredis/adapters/glib.h
redis-5.0.14/deps/hiredis/adapters/ivykis.h
redis-5.0.14/deps/hiredis/adapters/libev.h
redis-5.0.14/deps/hiredis/adapters/libevent.h
redis-5.0.14/deps/hiredis/adapters/libuv.h
redis-5.0.14/deps/hiredis/adapters/macosx.h
redis-5.0.14/deps/hiredis/adapters/qt.h
redis-5.0.14/deps/hiredis/appveyor.yml
redis-5.0.14/deps/hiredis/async.c
redis-5.0.14/deps/hiredis/async.h
redis-5.0.14/deps/hiredis/dict.c
redis-5.0.14/deps/hiredis/dict.h
redis-5.0.14/deps/hiredis/examples/
redis-5.0.14/deps/hiredis/examples/example-ae.c
redis-5.0.14/deps/hiredis/examples/example-glib.c
redis-5.0.14/deps/hiredis/examples/example-ivykis.c
redis-5.0.14/deps/hiredis/examples/example-libev.c
redis-5.0.14/deps/hiredis/examples/example-libevent.c
redis-5.0.14/deps/hiredis/examples/example-libuv.c
redis-5.0.14/deps/hiredis/examples/example-macosx.c
redis-5.0.14/deps/hiredis/examples/example-qt.cpp
redis-5.0.14/deps/hiredis/examples/example-qt.h
redis-5.0.14/deps/hiredis/examples/example.c
redis-5.0.14/deps/hiredis/fmacros.h
redis-5.0.14/deps/hiredis/hiredis.c
redis-5.0.14/deps/hiredis/hiredis.h
redis-5.0.14/deps/hiredis/net.c
redis-5.0.14/deps/hiredis/net.h
redis-5.0.14/deps/hiredis/read.c
redis-5.0.14/deps/hiredis/read.h
redis-5.0.14/deps/hiredis/sds.c
redis-5.0.14/deps/hiredis/sds.h
redis-5.0.14/deps/hiredis/sdsalloc.h
redis-5.0.14/deps/hiredis/test.c
redis-5.0.14/deps/hiredis/win32.h
redis-5.0.14/deps/jemalloc/
redis-5.0.14/deps/jemalloc/.appveyor.yml
redis-5.0.14/deps/jemalloc/.autom4te.cfg
redis-5.0.14/deps/jemalloc/.gitattributes
redis-5.0.14/deps/jemalloc/.gitignore
redis-5.0.14/deps/jemalloc/.travis.yml
redis-5.0.14/deps/jemalloc/COPYING
redis-5.0.14/deps/jemalloc/ChangeLog
redis-5.0.14/deps/jemalloc/INSTALL.md
redis-5.0.14/deps/jemalloc/Makefile.in
redis-5.0.14/deps/jemalloc/README
redis-5.0.14/deps/jemalloc/TUNING.md
redis-5.0.14/deps/jemalloc/VERSION
redis-5.0.14/deps/jemalloc/autogen.sh
redis-5.0.14/deps/jemalloc/bin/
redis-5.0.14/deps/jemalloc/bin/jemalloc-config.in
redis-5.0.14/deps/jemalloc/bin/jemalloc.sh.in
redis-5.0.14/deps/jemalloc/bin/jeprof.in
redis-5.0.14/deps/jemalloc/build-aux/
redis-5.0.14/deps/jemalloc/build-aux/config.guess
redis-5.0.14/deps/jemalloc/build-aux/config.sub
redis-5.0.14/deps/jemalloc/build-aux/install-sh
redis-5.0.14/deps/jemalloc/config.stamp.in
redis-5.0.14/deps/jemalloc/configure
redis-5.0.14/deps/jemalloc/configure.ac
redis-5.0.14/deps/jemalloc/doc/
redis-5.0.14/deps/jemalloc/doc/html.xsl.in
redis-5.0.14/deps/jemalloc/doc/jemalloc.xml.in
redis-5.0.14/deps/jemalloc/doc/manpages.xsl.in
redis-5.0.14/deps/jemalloc/doc/stylesheet.xsl
redis-5.0.14/deps/jemalloc/include/
redis-5.0.14/deps/jemalloc/include/jemalloc/
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/arena_externs.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/arena_inlines_a.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/arena_inlines_b.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/arena_stats.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/arena_structs_a.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/arena_structs_b.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/arena_types.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/assert.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/atomic.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/atomic_c11.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/atomic_gcc_atomic.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/atomic_gcc_sync.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/atomic_msvc.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/background_thread_externs.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/background_thread_inlines.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/background_thread_structs.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/base_externs.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/base_inlines.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/base_structs.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/base_types.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/bin.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/bin_stats.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/bit_util.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/bitmap.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/cache_bin.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/ckh.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/ctl.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/div.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/emitter.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/extent_dss.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/extent_externs.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/extent_inlines.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/extent_mmap.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/extent_structs.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/extent_types.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/hash.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/hooks.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/jemalloc_internal_decls.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h.in
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/jemalloc_internal_externs.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/jemalloc_internal_includes.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_a.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_b.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_c.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/jemalloc_internal_macros.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/jemalloc_internal_types.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/jemalloc_preamble.h.in
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/large_externs.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/log.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/malloc_io.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/mutex.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/mutex_pool.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/mutex_prof.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/nstime.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/pages.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/ph.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/private_namespace.sh
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/private_symbols.sh
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/prng.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/prof_externs.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/prof_inlines_a.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/prof_inlines_b.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/prof_structs.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/prof_types.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/public_namespace.sh
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/public_unnamespace.sh
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/ql.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/qr.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/rb.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/rtree.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/rtree_tsd.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/size_classes.sh
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/smoothstep.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/smoothstep.sh
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/spin.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/stats.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/sz.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/tcache_externs.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/tcache_inlines.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/tcache_structs.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/tcache_types.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/ticker.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/tsd.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/tsd_generic.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/tsd_malloc_thread_cleanup.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/tsd_tls.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/tsd_types.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/tsd_win.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/util.h
redis-5.0.14/deps/jemalloc/include/jemalloc/internal/witness.h
redis-5.0.14/deps/jemalloc/include/jemalloc/jemalloc.sh
redis-5.0.14/deps/jemalloc/include/jemalloc/jemalloc_defs.h.in
redis-5.0.14/deps/jemalloc/include/jemalloc/jemalloc_macros.h.in
redis-5.0.14/deps/jemalloc/include/jemalloc/jemalloc_mangle.sh
redis-5.0.14/deps/jemalloc/include/jemalloc/jemalloc_protos.h.in
redis-5.0.14/deps/jemalloc/include/jemalloc/jemalloc_rename.sh
redis-5.0.14/deps/jemalloc/include/jemalloc/jemalloc_typedefs.h.in
redis-5.0.14/deps/jemalloc/include/msvc_compat/
redis-5.0.14/deps/jemalloc/include/msvc_compat/C99/
redis-5.0.14/deps/jemalloc/include/msvc_compat/C99/stdbool.h
redis-5.0.14/deps/jemalloc/include/msvc_compat/C99/stdint.h
redis-5.0.14/deps/jemalloc/include/msvc_compat/strings.h
redis-5.0.14/deps/jemalloc/include/msvc_compat/windows_extra.h
redis-5.0.14/deps/jemalloc/jemalloc.pc.in
redis-5.0.14/deps/jemalloc/m4/
redis-5.0.14/deps/jemalloc/m4/ax_cxx_compile_stdcxx.m4
redis-5.0.14/deps/jemalloc/msvc/
redis-5.0.14/deps/jemalloc/msvc/ReadMe.txt
redis-5.0.14/deps/jemalloc/msvc/jemalloc_vc2015.sln
redis-5.0.14/deps/jemalloc/msvc/jemalloc_vc2017.sln
redis-5.0.14/deps/jemalloc/msvc/projects/
redis-5.0.14/deps/jemalloc/msvc/projects/vc2015/
redis-5.0.14/deps/jemalloc/msvc/projects/vc2015/jemalloc/
redis-5.0.14/deps/jemalloc/msvc/projects/vc2015/jemalloc/jemalloc.vcxproj
redis-5.0.14/deps/jemalloc/msvc/projects/vc2015/jemalloc/jemalloc.vcxproj.filters
redis-5.0.14/deps/jemalloc/msvc/projects/vc2015/test_threads/
redis-5.0.14/deps/jemalloc/msvc/projects/vc2015/test_threads/test_threads.vcxproj
redis-5.0.14/deps/jemalloc/msvc/projects/vc2015/test_threads/test_threads.vcxproj.filters
redis-5.0.14/deps/jemalloc/msvc/projects/vc2017/
redis-5.0.14/deps/jemalloc/msvc/projects/vc2017/jemalloc/
redis-5.0.14/deps/jemalloc/msvc/projects/vc2017/jemalloc/jemalloc.vcxproj
redis-5.0.14/deps/jemalloc/msvc/projects/vc2017/jemalloc/jemalloc.vcxproj.filters
redis-5.0.14/deps/jemalloc/msvc/projects/vc2017/test_threads/
redis-5.0.14/deps/jemalloc/msvc/projects/vc2017/test_threads/test_threads.vcxproj
redis-5.0.14/deps/jemalloc/msvc/projects/vc2017/test_threads/test_threads.vcxproj.filters
redis-5.0.14/deps/jemalloc/msvc/test_threads/
redis-5.0.14/deps/jemalloc/msvc/test_threads/test_threads.cpp
redis-5.0.14/deps/jemalloc/msvc/test_threads/test_threads.h
redis-5.0.14/deps/jemalloc/msvc/test_threads/test_threads_main.cpp
redis-5.0.14/deps/jemalloc/run_tests.sh
redis-5.0.14/deps/jemalloc/scripts/
redis-5.0.14/deps/jemalloc/scripts/gen_run_tests.py
redis-5.0.14/deps/jemalloc/scripts/gen_travis.py
redis-5.0.14/deps/jemalloc/src/
redis-5.0.14/deps/jemalloc/src/arena.c
redis-5.0.14/deps/jemalloc/src/background_thread.c
redis-5.0.14/deps/jemalloc/src/base.c
redis-5.0.14/deps/jemalloc/src/bin.c
redis-5.0.14/deps/jemalloc/src/bitmap.c
redis-5.0.14/deps/jemalloc/src/ckh.c
redis-5.0.14/deps/jemalloc/src/ctl.c
redis-5.0.14/deps/jemalloc/src/div.c
redis-5.0.14/deps/jemalloc/src/extent.c
redis-5.0.14/deps/jemalloc/src/extent_dss.c
redis-5.0.14/deps/jemalloc/src/extent_mmap.c
redis-5.0.14/deps/jemalloc/src/hash.c
redis-5.0.14/deps/jemalloc/src/hooks.c
redis-5.0.14/deps/jemalloc/src/jemalloc.c
redis-5.0.14/deps/jemalloc/src/jemalloc_cpp.cpp
redis-5.0.14/deps/jemalloc/src/large.c
redis-5.0.14/deps/jemalloc/src/log.c
redis-5.0.14/deps/jemalloc/src/malloc_io.c
redis-5.0.14/deps/jemalloc/src/mutex.c
redis-5.0.14/deps/jemalloc/src/mutex_pool.c
redis-5.0.14/deps/jemalloc/src/nstime.c
redis-5.0.14/deps/jemalloc/src/pages.c
redis-5.0.14/deps/jemalloc/src/prng.c
redis-5.0.14/deps/jemalloc/src/prof.c
redis-5.0.14/deps/jemalloc/src/rtree.c
redis-5.0.14/deps/jemalloc/src/stats.c
redis-5.0.14/deps/jemalloc/src/sz.c
redis-5.0.14/deps/jemalloc/src/tcache.c
redis-5.0.14/deps/jemalloc/src/ticker.c
redis-5.0.14/deps/jemalloc/src/tsd.c
redis-5.0.14/deps/jemalloc/src/witness.c
redis-5.0.14/deps/jemalloc/src/zone.c
redis-5.0.14/deps/jemalloc/test/
redis-5.0.14/deps/jemalloc/test/include/
redis-5.0.14/deps/jemalloc/test/include/test/
redis-5.0.14/deps/jemalloc/test/include/test/SFMT-alti.h
redis-5.0.14/deps/jemalloc/test/include/test/SFMT-params.h
redis-5.0.14/deps/jemalloc/test/include/test/SFMT-params11213.h
redis-5.0.14/deps/jemalloc/test/include/test/SFMT-params1279.h
redis-5.0.14/deps/jemalloc/test/include/test/SFMT-params132049.h
redis-5.0.14/deps/jemalloc/test/include/test/SFMT-params19937.h
redis-5.0.14/deps/jemalloc/test/include/test/SFMT-params216091.h
redis-5.0.14/deps/jemalloc/test/include/test/SFMT-params2281.h
redis-5.0.14/deps/jemalloc/test/include/test/SFMT-params4253.h
redis-5.0.14/deps/jemalloc/test/include/test/SFMT-params44497.h
redis-5.0.14/deps/jemalloc/test/include/test/SFMT-params607.h
redis-5.0.14/deps/jemalloc/test/include/test/SFMT-params86243.h
redis-5.0.14/deps/jemalloc/test/include/test/SFMT-sse2.h
redis-5.0.14/deps/jemalloc/test/include/test/SFMT.h
redis-5.0.14/deps/jemalloc/test/include/test/btalloc.h
redis-5.0.14/deps/jemalloc/test/include/test/extent_hooks.h
redis-5.0.14/deps/jemalloc/test/include/test/jemalloc_test.h.in
redis-5.0.14/deps/jemalloc/test/include/test/jemalloc_test_defs.h.in
redis-5.0.14/deps/jemalloc/test/include/test/math.h
redis-5.0.14/deps/jemalloc/test/include/test/mq.h
redis-5.0.14/deps/jemalloc/test/include/test/mtx.h
redis-5.0.14/deps/jemalloc/test/include/test/test.h
redis-5.0.14/deps/jemalloc/test/include/test/thd.h
redis-5.0.14/deps/jemalloc/test/include/test/timer.h
redis-5.0.14/deps/jemalloc/test/integration/
redis-5.0.14/deps/jemalloc/test/integration/MALLOCX_ARENA.c
redis-5.0.14/deps/jemalloc/test/integration/aligned_alloc.c
redis-5.0.14/deps/jemalloc/test/integration/allocated.c
redis-5.0.14/deps/jemalloc/test/integration/cpp/
redis-5.0.14/deps/jemalloc/test/integration/cpp/basic.cpp
redis-5.0.14/deps/jemalloc/test/integration/extent.c
redis-5.0.14/deps/jemalloc/test/integration/extent.sh
redis-5.0.14/deps/jemalloc/test/integration/mallocx.c
redis-5.0.14/deps/jemalloc/test/integration/mallocx.sh
redis-5.0.14/deps/jemalloc/test/integration/overflow.c
redis-5.0.14/deps/jemalloc/test/integration/posix_memalign.c
redis-5.0.14/deps/jemalloc/test/integration/rallocx.c
redis-5.0.14/deps/jemalloc/test/integration/sdallocx.c
redis-5.0.14/deps/jemalloc/test/integration/thread_arena.c
redis-5.0.14/deps/jemalloc/test/integration/thread_tcache_enabled.c
redis-5.0.14/deps/jemalloc/test/integration/xallocx.c
redis-5.0.14/deps/jemalloc/test/integration/xallocx.sh
redis-5.0.14/deps/jemalloc/test/src/
redis-5.0.14/deps/jemalloc/test/src/SFMT.c
redis-5.0.14/deps/jemalloc/test/src/btalloc.c
redis-5.0.14/deps/jemalloc/test/src/btalloc_0.c
redis-5.0.14/deps/jemalloc/test/src/btalloc_1.c
redis-5.0.14/deps/jemalloc/test/src/math.c
redis-5.0.14/deps/jemalloc/test/src/mq.c
redis-5.0.14/deps/jemalloc/test/src/mtx.c
redis-5.0.14/deps/jemalloc/test/src/test.c
redis-5.0.14/deps/jemalloc/test/src/thd.c
redis-5.0.14/deps/jemalloc/test/src/timer.c
redis-5.0.14/deps/jemalloc/test/stress/
redis-5.0.14/deps/jemalloc/test/stress/microbench.c
redis-5.0.14/deps/jemalloc/test/test.sh.in
redis-5.0.14/deps/jemalloc/test/unit/
redis-5.0.14/deps/jemalloc/test/unit/SFMT.c
redis-5.0.14/deps/jemalloc/test/unit/a0.c
redis-5.0.14/deps/jemalloc/test/unit/arena_reset.c
redis-5.0.14/deps/jemalloc/test/unit/arena_reset_prof.c
redis-5.0.14/deps/jemalloc/test/unit/arena_reset_prof.sh
redis-5.0.14/deps/jemalloc/test/unit/atomic.c
redis-5.0.14/deps/jemalloc/test/unit/background_thread.c
redis-5.0.14/deps/jemalloc/test/unit/background_thread_enable.c
redis-5.0.14/deps/jemalloc/test/unit/base.c
redis-5.0.14/deps/jemalloc/test/unit/bit_util.c
redis-5.0.14/deps/jemalloc/test/unit/bitmap.c
redis-5.0.14/deps/jemalloc/test/unit/ckh.c
redis-5.0.14/deps/jemalloc/test/unit/decay.c
redis-5.0.14/deps/jemalloc/test/unit/decay.sh
redis-5.0.14/deps/jemalloc/test/unit/div.c
redis-5.0.14/deps/jemalloc/test/unit/emitter.c
redis-5.0.14/deps/jemalloc/test/unit/extent_quantize.c
redis-5.0.14/deps/jemalloc/test/unit/fork.c
redis-5.0.14/deps/jemalloc/test/unit/hash.c
redis-5.0.14/deps/jemalloc/test/unit/hooks.c
redis-5.0.14/deps/jemalloc/test/unit/junk.c
redis-5.0.14/deps/jemalloc/test/unit/junk.sh
redis-5.0.14/deps/jemalloc/test/unit/junk_alloc.c
redis-5.0.14/deps/jemalloc/test/unit/junk_alloc.sh
redis-5.0.14/deps/jemalloc/test/unit/junk_free.c
redis-5.0.14/deps/jemalloc/test/unit/junk_free.sh
redis-5.0.14/deps/jemalloc/test/unit/log.c
redis-5.0.14/deps/jemalloc/test/unit/mallctl.c
redis-5.0.14/deps/jemalloc/test/unit/malloc_io.c
redis-5.0.14/deps/jemalloc/test/unit/math.c
redis-5.0.14/deps/jemalloc/test/unit/mq.c
redis-5.0.14/deps/jemalloc/test/unit/mtx.c
redis-5.0.14/deps/jemalloc/test/unit/nstime.c
redis-5.0.14/deps/jemalloc/test/unit/pack.c
redis-5.0.14/deps/jemalloc/test/unit/pack.sh
redis-5.0.14/deps/jemalloc/test/unit/pages.c
redis-5.0.14/deps/jemalloc/test/unit/ph.c
redis-5.0.14/deps/jemalloc/test/unit/prng.c
redis-5.0.14/deps/jemalloc/test/unit/prof_accum.c
redis-5.0.14/deps/jemalloc/test/unit/prof_accum.sh
redis-5.0.14/deps/jemalloc/test/unit/prof_active.c
redis-5.0.14/deps/jemalloc/test/unit/prof_active.sh
redis-5.0.14/deps/jemalloc/test/unit/prof_gdump.c
redis-5.0.14/deps/jemalloc/test/unit/prof_gdump.sh
redis-5.0.14/deps/jemalloc/test/unit/prof_idump.c
redis-5.0.14/deps/jemalloc/test/unit/prof_idump.sh
redis-5.0.14/deps/jemalloc/test/unit/prof_reset.c
redis-5.0.14/deps/jemalloc/test/unit/prof_reset.sh
redis-5.0.14/deps/jemalloc/test/unit/prof_tctx.c
redis-5.0.14/deps/jemalloc/test/unit/prof_tctx.sh
redis-5.0.14/deps/jemalloc/test/unit/prof_thread_name.c
redis-5.0.14/deps/jemalloc/test/unit/prof_thread_name.sh
redis-5.0.14/deps/jemalloc/test/unit/ql.c
redis-5.0.14/deps/jemalloc/test/unit/qr.c
redis-5.0.14/deps/jemalloc/test/unit/rb.c
redis-5.0.14/deps/jemalloc/test/unit/retained.c
redis-5.0.14/deps/jemalloc/test/unit/rtree.c
redis-5.0.14/deps/jemalloc/test/unit/size_classes.c
redis-5.0.14/deps/jemalloc/test/unit/slab.c
redis-5.0.14/deps/jemalloc/test/unit/smoothstep.c
redis-5.0.14/deps/jemalloc/test/unit/spin.c
redis-5.0.14/deps/jemalloc/test/unit/stats.c
redis-5.0.14/deps/jemalloc/test/unit/stats_print.c
redis-5.0.14/deps/jemalloc/test/unit/ticker.c
redis-5.0.14/deps/jemalloc/test/unit/tsd.c
redis-5.0.14/deps/jemalloc/test/unit/witness.c
redis-5.0.14/deps/jemalloc/test/unit/zero.c
redis-5.0.14/deps/jemalloc/test/unit/zero.sh
redis-5.0.14/deps/linenoise/
redis-5.0.14/deps/linenoise/.gitignore
redis-5.0.14/deps/linenoise/Makefile
redis-5.0.14/deps/linenoise/README.markdown
redis-5.0.14/deps/linenoise/example.c
redis-5.0.14/deps/linenoise/linenoise.c
redis-5.0.14/deps/linenoise/linenoise.h
redis-5.0.14/deps/lua/
redis-5.0.14/deps/lua/COPYRIGHT
redis-5.0.14/deps/lua/HISTORY
redis-5.0.14/deps/lua/INSTALL
redis-5.0.14/deps/lua/Makefile
redis-5.0.14/deps/lua/README
redis-5.0.14/deps/lua/doc/
redis-5.0.14/deps/lua/doc/contents.html
redis-5.0.14/deps/lua/doc/cover.png
redis-5.0.14/deps/lua/doc/logo.gif
redis-5.0.14/deps/lua/doc/lua.1
redis-5.0.14/deps/lua/doc/lua.css
redis-5.0.14/deps/lua/doc/lua.html
redis-5.0.14/deps/lua/doc/luac.1
redis-5.0.14/deps/lua/doc/luac.html
redis-5.0.14/deps/lua/doc/manual.css
redis-5.0.14/deps/lua/doc/manual.html
redis-5.0.14/deps/lua/doc/readme.html
redis-5.0.14/deps/lua/etc/
redis-5.0.14/deps/lua/etc/Makefile
redis-5.0.14/deps/lua/etc/README
redis-5.0.14/deps/lua/etc/all.c
redis-5.0.14/deps/lua/etc/lua.hpp
redis-5.0.14/deps/lua/etc/lua.ico
redis-5.0.14/deps/lua/etc/lua.pc
redis-5.0.14/deps/lua/etc/luavs.bat
redis-5.0.14/deps/lua/etc/min.c
redis-5.0.14/deps/lua/etc/noparser.c
redis-5.0.14/deps/lua/etc/strict.lua
redis-5.0.14/deps/lua/src/
redis-5.0.14/deps/lua/src/Makefile
redis-5.0.14/deps/lua/src/fpconv.c
redis-5.0.14/deps/lua/src/fpconv.h
redis-5.0.14/deps/lua/src/lapi.c
redis-5.0.14/deps/lua/src/lapi.h
redis-5.0.14/deps/lua/src/lauxlib.c
redis-5.0.14/deps/lua/src/lauxlib.h
redis-5.0.14/deps/lua/src/lbaselib.c
redis-5.0.14/deps/lua/src/lcode.c
redis-5.0.14/deps/lua/src/lcode.h
redis-5.0.14/deps/lua/src/ldblib.c
redis-5.0.14/deps/lua/src/ldebug.c
redis-5.0.14/deps/lua/src/ldebug.h
redis-5.0.14/deps/lua/src/ldo.c
redis-5.0.14/deps/lua/src/ldo.h
redis-5.0.14/deps/lua/src/ldump.c
redis-5.0.14/deps/lua/src/lfunc.c
redis-5.0.14/deps/lua/src/lfunc.h
redis-5.0.14/deps/lua/src/lgc.c
redis-5.0.14/deps/lua/src/lgc.h
redis-5.0.14/deps/lua/src/linit.c
redis-5.0.14/deps/lua/src/liolib.c
redis-5.0.14/deps/lua/src/llex.c
redis-5.0.14/deps/lua/src/llex.h
redis-5.0.14/deps/lua/src/llimits.h
redis-5.0.14/deps/lua/src/lmathlib.c
redis-5.0.14/deps/lua/src/lmem.c
redis-5.0.14/deps/lua/src/lmem.h
redis-5.0.14/deps/lua/src/loadlib.c
redis-5.0.14/deps/lua/src/lobject.c
redis-5.0.14/deps/lua/src/lobject.h
redis-5.0.14/deps/lua/src/lopcodes.c
redis-5.0.14/deps/lua/src/lopcodes.h
redis-5.0.14/deps/lua/src/loslib.c
redis-5.0.14/deps/lua/src/lparser.c
redis-5.0.14/deps/lua/src/lparser.h
redis-5.0.14/deps/lua/src/lstate.c
redis-5.0.14/deps/lua/src/lstate.h
redis-5.0.14/deps/lua/src/lstring.c
redis-5.0.14/deps/lua/src/lstring.h
redis-5.0.14/deps/lua/src/lstrlib.c
redis-5.0.14/deps/lua/src/ltable.c
redis-5.0.14/deps/lua/src/ltable.h
redis-5.0.14/deps/lua/src/ltablib.c
redis-5.0.14/deps/lua/src/ltm.c
redis-5.0.14/deps/lua/src/ltm.h
redis-5.0.14/deps/lua/src/lua.c
redis-5.0.14/deps/lua/src/lua.h
redis-5.0.14/deps/lua/src/lua_bit.c
redis-5.0.14/deps/lua/src/lua_cjson.c
redis-5.0.14/deps/lua/src/lua_cmsgpack.c
redis-5.0.14/deps/lua/src/lua_struct.c
redis-5.0.14/deps/lua/src/luac.c
redis-5.0.14/deps/lua/src/luaconf.h
redis-5.0.14/deps/lua/src/lualib.h
redis-5.0.14/deps/lua/src/lundump.c
redis-5.0.14/deps/lua/src/lundump.h
redis-5.0.14/deps/lua/src/lvm.c
redis-5.0.14/deps/lua/src/lvm.h
redis-5.0.14/deps/lua/src/lzio.c
redis-5.0.14/deps/lua/src/lzio.h
redis-5.0.14/deps/lua/src/print.c
redis-5.0.14/deps/lua/src/strbuf.c
redis-5.0.14/deps/lua/src/strbuf.h
redis-5.0.14/deps/lua/test/
redis-5.0.14/deps/lua/test/README
redis-5.0.14/deps/lua/test/bisect.lua
redis-5.0.14/deps/lua/test/cf.lua
redis-5.0.14/deps/lua/test/echo.lua
redis-5.0.14/deps/lua/test/env.lua
redis-5.0.14/deps/lua/test/factorial.lua
redis-5.0.14/deps/lua/test/fib.lua
redis-5.0.14/deps/lua/test/fibfor.lua
redis-5.0.14/deps/lua/test/globals.lua
redis-5.0.14/deps/lua/test/hello.lua
redis-5.0.14/deps/lua/test/life.lua
redis-5.0.14/deps/lua/test/luac.lua
redis-5.0.14/deps/lua/test/printf.lua
redis-5.0.14/deps/lua/test/readonly.lua
redis-5.0.14/deps/lua/test/sieve.lua
redis-5.0.14/deps/lua/test/sort.lua
redis-5.0.14/deps/lua/test/table.lua
redis-5.0.14/deps/lua/test/trace-calls.lua
redis-5.0.14/deps/lua/test/trace-globals.lua
redis-5.0.14/deps/lua/test/xd.lua
redis-5.0.14/deps/update-jemalloc.sh
redis-5.0.14/redis.conf
redis-5.0.14/runtest
redis-5.0.14/runtest-cluster
redis-5.0.14/runtest-moduleapi
redis-5.0.14/runtest-sentinel
redis-5.0.14/sentinel.conf
redis-5.0.14/src/
redis-5.0.14/src/.gitignore
redis-5.0.14/src/Makefile
redis-5.0.14/src/adlist.c
redis-5.0.14/src/adlist.h
redis-5.0.14/src/ae.c
redis-5.0.14/src/ae.h
redis-5.0.14/src/ae_epoll.c
redis-5.0.14/src/ae_evport.c
redis-5.0.14/src/ae_kqueue.c
redis-5.0.14/src/ae_select.c
redis-5.0.14/src/anet.c
redis-5.0.14/src/anet.h
redis-5.0.14/src/aof.c
redis-5.0.14/src/asciilogo.h
redis-5.0.14/src/atomicvar.h
redis-5.0.14/src/bio.c
redis-5.0.14/src/bio.h
redis-5.0.14/src/bitops.c
redis-5.0.14/src/blocked.c
redis-5.0.14/src/childinfo.c
redis-5.0.14/src/cluster.c
redis-5.0.14/src/cluster.h
redis-5.0.14/src/config.c
redis-5.0.14/src/config.h
redis-5.0.14/src/crc16.c
redis-5.0.14/src/crc64.c
redis-5.0.14/src/crc64.h
redis-5.0.14/src/db.c
redis-5.0.14/src/debug.c
redis-5.0.14/src/debugmacro.h
redis-5.0.14/src/defrag.c
redis-5.0.14/src/dict.c
redis-5.0.14/src/dict.h
redis-5.0.14/src/endianconv.c
redis-5.0.14/src/endianconv.h
redis-5.0.14/src/evict.c
redis-5.0.14/src/expire.c
redis-5.0.14/src/fmacros.h
redis-5.0.14/src/geo.c
redis-5.0.14/src/geo.h
redis-5.0.14/src/geohash.c
redis-5.0.14/src/geohash.h
redis-5.0.14/src/geohash_helper.c
redis-5.0.14/src/geohash_helper.h
redis-5.0.14/src/help.h
redis-5.0.14/src/hyperloglog.c
redis-5.0.14/src/intset.c
redis-5.0.14/src/intset.h
redis-5.0.14/src/latency.c
redis-5.0.14/src/latency.h
redis-5.0.14/src/lazyfree.c
redis-5.0.14/src/listpack.c
redis-5.0.14/src/listpack.h
redis-5.0.14/src/listpack_malloc.h
redis-5.0.14/src/localtime.c
redis-5.0.14/src/lolwut.c
redis-5.0.14/src/lolwut5.c
redis-5.0.14/src/lzf.h
redis-5.0.14/src/lzfP.h
redis-5.0.14/src/lzf_c.c
redis-5.0.14/src/lzf_d.c
redis-5.0.14/src/memtest.c
redis-5.0.14/src/mkreleasehdr.sh
redis-5.0.14/src/module.c
redis-5.0.14/src/modules/
redis-5.0.14/src/modules/.gitignore
redis-5.0.14/src/modules/Makefile
redis-5.0.14/src/modules/gendoc.rb
redis-5.0.14/src/modules/helloblock.c
redis-5.0.14/src/modules/hellocluster.c
redis-5.0.14/src/modules/hellodict.c
redis-5.0.14/src/modules/hellotimer.c
redis-5.0.14/src/modules/hellotype.c
redis-5.0.14/src/modules/helloworld.c
redis-5.0.14/src/modules/testmodule.c
redis-5.0.14/src/multi.c
redis-5.0.14/src/networking.c
redis-5.0.14/src/notify.c
redis-5.0.14/src/object.c
redis-5.0.14/src/pqsort.c
redis-5.0.14/src/pqsort.h
redis-5.0.14/src/pubsub.c
redis-5.0.14/src/quicklist.c
redis-5.0.14/src/quicklist.h
redis-5.0.14/src/rand.c
redis-5.0.14/src/rand.h
redis-5.0.14/src/rax.c
redis-5.0.14/src/rax.h
redis-5.0.14/src/rax_malloc.h
redis-5.0.14/src/rdb.c
redis-5.0.14/src/rdb.h
redis-5.0.14/src/redis-benchmark.c
redis-5.0.14/src/redis-check-aof.c
redis-5.0.14/src/redis-check-rdb.c
redis-5.0.14/src/redis-cli.c
redis-5.0.14/src/redis-trib.rb
redis-5.0.14/src/redisassert.h
redis-5.0.14/src/redismodule.h
redis-5.0.14/src/release.c
redis-5.0.14/src/replication.c
redis-5.0.14/src/rio.c
redis-5.0.14/src/rio.h
redis-5.0.14/src/scripting.c
redis-5.0.14/src/sds.c
redis-5.0.14/src/sds.h
redis-5.0.14/src/sdsalloc.h
redis-5.0.14/src/sentinel.c
redis-5.0.14/src/server.c
redis-5.0.14/src/server.h
redis-5.0.14/src/setproctitle.c
redis-5.0.14/src/sha1.c
redis-5.0.14/src/sha1.h
redis-5.0.14/src/siphash.c
redis-5.0.14/src/slowlog.c
redis-5.0.14/src/slowlog.h
redis-5.0.14/src/solarisfixes.h
redis-5.0.14/src/sort.c
redis-5.0.14/src/sparkline.c
redis-5.0.14/src/sparkline.h
redis-5.0.14/src/stream.h
redis-5.0.14/src/syncio.c
redis-5.0.14/src/t_hash.c
redis-5.0.14/src/t_list.c
redis-5.0.14/src/t_set.c
redis-5.0.14/src/t_stream.c
redis-5.0.14/src/t_string.c
redis-5.0.14/src/t_zset.c
redis-5.0.14/src/testhelp.h
redis-5.0.14/src/util.c
redis-5.0.14/src/util.h
redis-5.0.14/src/valgrind.sup
redis-5.0.14/src/version.h
redis-5.0.14/src/ziplist.c
redis-5.0.14/src/ziplist.h
redis-5.0.14/src/zipmap.c
redis-5.0.14/src/zipmap.h
redis-5.0.14/src/zmalloc.c
redis-5.0.14/src/zmalloc.h
redis-5.0.14/tests/
redis-5.0.14/tests/assets/
redis-5.0.14/tests/assets/default.conf
redis-5.0.14/tests/assets/encodings.rdb
redis-5.0.14/tests/assets/hash-zipmap.rdb
redis-5.0.14/tests/cluster/
redis-5.0.14/tests/cluster/cluster.tcl
redis-5.0.14/tests/cluster/run.tcl
redis-5.0.14/tests/cluster/tests/
redis-5.0.14/tests/cluster/tests/00-base.tcl
redis-5.0.14/tests/cluster/tests/01-faildet.tcl
redis-5.0.14/tests/cluster/tests/02-failover.tcl
redis-5.0.14/tests/cluster/tests/03-failover-loop.tcl
redis-5.0.14/tests/cluster/tests/04-resharding.tcl
redis-5.0.14/tests/cluster/tests/05-slave-selection.tcl
redis-5.0.14/tests/cluster/tests/06-slave-stop-cond.tcl
redis-5.0.14/tests/cluster/tests/07-replica-migration.tcl
redis-5.0.14/tests/cluster/tests/08-update-msg.tcl
redis-5.0.14/tests/cluster/tests/09-pubsub.tcl
redis-5.0.14/tests/cluster/tests/10-manual-failover.tcl
redis-5.0.14/tests/cluster/tests/11-manual-takeover.tcl
redis-5.0.14/tests/cluster/tests/12-replica-migration-2.tcl
redis-5.0.14/tests/cluster/tests/13-no-failover-option.tcl
redis-5.0.14/tests/cluster/tests/16-transactions-on-replica.tcl
redis-5.0.14/tests/cluster/tests/helpers/
redis-5.0.14/tests/cluster/tests/helpers/onlydots.tcl
redis-5.0.14/tests/cluster/tests/includes/
redis-5.0.14/tests/cluster/tests/includes/init-tests.tcl
redis-5.0.14/tests/cluster/tmp/
redis-5.0.14/tests/cluster/tmp/.gitignore
redis-5.0.14/tests/helpers/
redis-5.0.14/tests/helpers/bg_block_op.tcl
redis-5.0.14/tests/helpers/bg_complex_data.tcl
redis-5.0.14/tests/helpers/gen_write_load.tcl
redis-5.0.14/tests/instances.tcl
redis-5.0.14/tests/integration/
redis-5.0.14/tests/integration/aof-race.tcl
redis-5.0.14/tests/integration/aof.tcl
redis-5.0.14/tests/integration/block-repl.tcl
redis-5.0.14/tests/integration/convert-zipmap-hash-on-load.tcl
redis-5.0.14/tests/integration/logging.tcl
redis-5.0.14/tests/integration/psync2-reg.tcl
redis-5.0.14/tests/integration/psync2.tcl
redis-5.0.14/tests/integration/rdb.tcl
redis-5.0.14/tests/integration/redis-cli.tcl
redis-5.0.14/tests/integration/replication-2.tcl
redis-5.0.14/tests/integration/replication-3.tcl
redis-5.0.14/tests/integration/replication-4.tcl
redis-5.0.14/tests/integration/replication-psync.tcl
redis-5.0.14/tests/integration/replication.tcl
redis-5.0.14/tests/modules/
redis-5.0.14/tests/modules/Makefile
redis-5.0.14/tests/modules/commandfilter.c
redis-5.0.14/tests/modules/testrdb.c
redis-5.0.14/tests/sentinel/
redis-5.0.14/tests/sentinel/run.tcl
redis-5.0.14/tests/sentinel/tests/
redis-5.0.14/tests/sentinel/tests/00-base.tcl
redis-5.0.14/tests/sentinel/tests/01-conf-update.tcl
redis-5.0.14/tests/sentinel/tests/02-slaves-reconf.tcl
redis-5.0.14/tests/sentinel/tests/03-runtime-reconf.tcl
redis-5.0.14/tests/sentinel/tests/04-slave-selection.tcl
redis-5.0.14/tests/sentinel/tests/05-manual.tcl
redis-5.0.14/tests/sentinel/tests/06-ckquorum.tcl
redis-5.0.14/tests/sentinel/tests/07-down-conditions.tcl
redis-5.0.14/tests/sentinel/tests/includes/
redis-5.0.14/tests/sentinel/tests/includes/init-tests.tcl
redis-5.0.14/tests/sentinel/tmp/
redis-5.0.14/tests/sentinel/tmp/.gitignore
redis-5.0.14/tests/support/
redis-5.0.14/tests/support/cluster.tcl
redis-5.0.14/tests/support/redis.tcl
redis-5.0.14/tests/support/server.tcl
redis-5.0.14/tests/support/test.tcl
redis-5.0.14/tests/support/tmpfile.tcl
redis-5.0.14/tests/support/util.tcl
redis-5.0.14/tests/test_helper.tcl
redis-5.0.14/tests/tmp/
redis-5.0.14/tests/tmp/.gitignore
redis-5.0.14/tests/unit/
redis-5.0.14/tests/unit/aofrw.tcl
redis-5.0.14/tests/unit/auth.tcl
redis-5.0.14/tests/unit/bitfield.tcl
redis-5.0.14/tests/unit/bitops.tcl
redis-5.0.14/tests/unit/dump.tcl
redis-5.0.14/tests/unit/expire.tcl
redis-5.0.14/tests/unit/geo.tcl
redis-5.0.14/tests/unit/hyperloglog.tcl
redis-5.0.14/tests/unit/introspection-2.tcl
redis-5.0.14/tests/unit/introspection.tcl
redis-5.0.14/tests/unit/keyspace.tcl
redis-5.0.14/tests/unit/latency-monitor.tcl
redis-5.0.14/tests/unit/lazyfree.tcl
redis-5.0.14/tests/unit/limits.tcl
redis-5.0.14/tests/unit/maxmemory.tcl
redis-5.0.14/tests/unit/memefficiency.tcl
redis-5.0.14/tests/unit/moduleapi/
redis-5.0.14/tests/unit/moduleapi/commandfilter.tcl
redis-5.0.14/tests/unit/moduleapi/testrdb.tcl
redis-5.0.14/tests/unit/multi.tcl
redis-5.0.14/tests/unit/obuf-limits.tcl
redis-5.0.14/tests/unit/other.tcl
redis-5.0.14/tests/unit/pendingquerybuf.tcl
redis-5.0.14/tests/unit/printver.tcl
redis-5.0.14/tests/unit/protocol.tcl
redis-5.0.14/tests/unit/pubsub.tcl
redis-5.0.14/tests/unit/quit.tcl
redis-5.0.14/tests/unit/scan.tcl
redis-5.0.14/tests/unit/scripting.tcl
redis-5.0.14/tests/unit/slowlog.tcl
redis-5.0.14/tests/unit/sort.tcl
redis-5.0.14/tests/unit/type/
redis-5.0.14/tests/unit/type/hash.tcl
redis-5.0.14/tests/unit/type/incr.tcl
redis-5.0.14/tests/unit/type/list-2.tcl
redis-5.0.14/tests/unit/type/list-3.tcl
redis-5.0.14/tests/unit/type/list-common.tcl
redis-5.0.14/tests/unit/type/list.tcl
redis-5.0.14/tests/unit/type/set.tcl
redis-5.0.14/tests/unit/type/stream-cgroups.tcl
redis-5.0.14/tests/unit/type/stream.tcl
redis-5.0.14/tests/unit/type/string.tcl
redis-5.0.14/tests/unit/type/zset.tcl
redis-5.0.14/tests/unit/violations.tcl
redis-5.0.14/tests/unit/wait.tcl
redis-5.0.14/utils/
redis-5.0.14/utils/build-static-symbols.tcl
redis-5.0.14/utils/cluster_fail_time.tcl
redis-5.0.14/utils/corrupt_rdb.c
redis-5.0.14/utils/create-cluster/
redis-5.0.14/utils/create-cluster/.gitignore
redis-5.0.14/utils/create-cluster/README
redis-5.0.14/utils/create-cluster/create-cluster
redis-5.0.14/utils/generate-command-help.rb
redis-5.0.14/utils/graphs/
redis-5.0.14/utils/graphs/commits-over-time/
redis-5.0.14/utils/graphs/commits-over-time/README.md
redis-5.0.14/utils/graphs/commits-over-time/genhtml.tcl
redis-5.0.14/utils/hashtable/
redis-5.0.14/utils/hashtable/README
redis-5.0.14/utils/hashtable/rehashing.c
redis-5.0.14/utils/hyperloglog/
redis-5.0.14/utils/hyperloglog/.gitignore
redis-5.0.14/utils/hyperloglog/hll-err.rb
redis-5.0.14/utils/hyperloglog/hll-gnuplot-graph.rb
redis-5.0.14/utils/install_server.sh
redis-5.0.14/utils/lru/
redis-5.0.14/utils/lru/README
redis-5.0.14/utils/lru/lfu-simulation.c
redis-5.0.14/utils/lru/test-lru.rb
redis-5.0.14/utils/redis-copy.rb
redis-5.0.14/utils/redis-sha1.rb
redis-5.0.14/utils/redis_init_script
redis-5.0.14/utils/redis_init_script.tpl
redis-5.0.14/utils/releasetools/
redis-5.0.14/utils/releasetools/01_create_tarball.sh
redis-5.0.14/utils/releasetools/02_upload_tarball.sh
redis-5.0.14/utils/releasetools/03_test_release.sh
redis-5.0.14/utils/releasetools/04_release_hash.sh
redis-5.0.14/utils/releasetools/changelog.tcl
redis-5.0.14/utils/speed-regression.tcl
redis-5.0.14/utils/whatisdoing.sh

4.查看解压文件情况

[root@localhost ~]# ll
总用量 1972
-rw-------. 1 root root    2757 3月  20 03:15 anaconda-ks.cfg
-rw-r--r--. 1 root root    2765 3月  20 03:40 initial-setup-ks.cfg
-rw-------. 1 root root    2037 3月  20 03:15 original-ks.cfg
drwxrwxr-x. 6 root root    4096 10月  4 2021 redis-5.0.14
-rw-r--r--. 1 root root 2000179 10月  4 2021 redis-5.0.14.tar.gz

5.进入解压的redis-5.0.14目录下,编译和安装

[root@localhost ~]# cd redis-5.0.14/
[root@localhost redis-5.0.14]# make

6.查看安装后的redis目录

[root@localhost redis-5.0.14]# ll
总用量 288
-rw-rw-r--.  1 root root 127554 10月  4 2021 00-RELEASENOTES
-rw-rw-r--.  1 root root     53 10月  4 2021 BUGS
-rw-rw-r--.  1 root root   2381 10月  4 2021 CONTRIBUTING
-rw-rw-r--.  1 root root   1487 10月  4 2021 COPYING
drwxrwxr-x.  6 root root    192 3月  24 01:04 deps
-rw-rw-r--.  1 root root     11 10月  4 2021 INSTALL
-rw-rw-r--.  1 root root    151 10月  4 2021 Makefile
-rw-rw-r--.  1 root root   6888 10月  4 2021 MANIFESTO
-rw-rw-r--.  1 root root  20555 10月  4 2021 README.md
-rw-rw-r--.  1 root root  63088 10月  4 2021 redis.conf
-rwxrwxr-x.  1 root root    275 10月  4 2021 runtest
-rwxrwxr-x.  1 root root    280 10月  4 2021 runtest-cluster
-rwxrwxr-x.  1 root root    373 10月  4 2021 runtest-moduleapi
-rwxrwxr-x.  1 root root    281 10月  4 2021 runtest-sentinel
-rw-rw-r--.  1 root root   9710 10月  4 2021 sentinel.conf
drwxrwxr-x.  3 root root   8192 3月  24 01:04 src
drwxrwxr-x. 11 root root    182 10月  4 2021 tests
drwxrwxr-x.  8 root root   4096 10月  4 2021 utils

7.进入reissued.conf文件

[root@localhost redis-5.0.14]# vim redis.conf

8.修改配置 redis.conf 文件

进入后:/daemonize 回车,把光标使用方向键移动到“daemonize no”后面按“i”进行编辑
修改前:
# By default Redis does not run as a daemon. Use 'yes' if you need it.
# Note that Redis will write a pid file in /var/run/redis.pid when daemonized.
daemonize no    //把no修改成yes
修改后:
# By default Redis does not run as a daemon. Use 'yes' if you need it.
# Note that Redis will write a pid file in /var/run/redis.pid when daemonized.
daemonize yes     //后台启动

修改完成后:按ESC,:/protected-mode 回车(步骤和上面一样不写了)
修改前:
#
# By default protected mode is enabled. You should disable it only if
# you are sure you want clients from other hosts to connect to Redis
# even if no authentication is configured, nor a specific set of interfaces
# are explicitly listed using the "bind" directive.
protected-mode yes   //把yes该成no

修改后:
#
# By default protected mode is enabled. You should disable it only if
# you are sure you want clients from other hosts to connect to Redis
# even if no authentication is configured, nor a specific set of interfaces
# are explicitly listed using the "bind" directive.
protected-mode no    //关闭保护模式,开启的话,只有本机才可以访问redis

修改完成后:按ESC, :/bind 回车 (在#bind 172.0.0.1 ::1下一行添加)
修改前:
# By default, if no "bind" configuration directive is specified, Redis listens
# for connections from all the network interfaces available on the server.
# It is possible to listen to just one or multiple selected interfaces using
# the "bind" configuration directive, followed by one or more IP addresses.
#
# Examples:
#
# bind 192.168.1.100 10.0.0.1
# bind 127.0.0.1 ::1
#
             //在这里添加

修改后:
# By default, if no "bind" configuration directive is specified, Redis listens
# for connections from all the network interfaces available on the server.
# It is possible to listen to just one or multiple selected interfaces using
# the "bind" configuration directive, followed by one or more IP addresses.
#
# Examples:
#
# bind 192.168.1.100 10.0.0.1
# bind 127.0.0.1 ::1
# bind 20.0.0.10      //bind绑定的是自己机器网卡的ip
#
最后按ESC输入:wq(保存退出)

9.启动redis服务

[root@localhost redis-5.0.14]# src/redis-server redis.conf
40968:C 24 Mar 2023 01:34:05.988 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
40968:C 24 Mar 2023 01:34:05.988 # Redis version=5.0.14, bits=64, commit=00000000, modified=0, pid=40968, just started
40968:C 24 Mar 2023 01:34:05.988 # Configuration loaded
[root@localhost redis-5.0.14]#

10.验证redis服务启动是否成功

[root@localhost redis-5.0.14]# ps -ef | grep redis
root      40969      1  0 01:34 ?        00:00:00 src/redis-server 127.0.0.1:6379
root      40974   5333  0 01:34 pts/2    00:00:00 grep --color=auto redis

11.登录redis服务

[root@localhost redis-5.0.14]# src/redis-cli
127.0.0.1:6379>

12.退出redis客户端

[root@localhost redis-5.0.14]# src/redis-cli
127.0.0.1:6379> QUIT

后加:退出reddis服务(三种)命令

1.kill 进程号
2.pkill redis‐server
3.src/redis‐cli shutdown

到此这篇关于搭建单机Redis缓存服务的实现的文章就介绍到这了,更多相关搭建Redis缓存内容请搜索我们以前的文章或继续浏览下面的相关文章希望大家以后多多支持我们!

(0)

相关推荐

  • Redis缓存实例分步详解

    目录 一.简介 1.场景 2.RedisTemplate 二.引入Redis 1.项目中集成Redis 2.添加Redis连接配置 3.启动Redis服务 三.测试RedisTemplate 1.存值测试 2.Redis配置文件 3.取值测试 四.将数据字典存入redis 一.简介 1.场景 由于数据字典的变化不是很频繁,而且系统对数据字典的访问较频繁,所以我们有必要把数据字典的数据存入缓存,减少数据库压力和提高访问速度.这里,我们使用Redis作为系统的分布式缓存中间件. 2.RedisTem

  • SpringBoot使用Redis实现分布式缓存

    目录 springboot使用Redis实现分布式缓存 Redis实现主从复制 Redis集群的构建 springboot使用Redis实现分布式缓存 1.环境构建 ​ 1.1 通过MybatisX工具逆向功能快速初始化一个工程(springboot+mybatis-plus) ​ 1.2 构建controller层测试各模块的功能 ​ 1.3 相同的请求没有实现共享数据,需要开启mybatis的二级缓存 ​ 1.4 springboot环境下开启mybatis-plus的二级缓存 1.5编写获

  • Redis分布式缓存与秒杀

    目录 一.单点Redis的问题 二.RDB 三.AOF 四.Redis优化秒杀流程 1.秒杀步骤: 2.Redis优化秒杀步骤: 3.秒杀的lua脚本 4.调用秒杀的lua脚本 5.通过线程池,操作阻塞队列 五.基于Redis实现共享session登录 基于session实现登录 一.单点Redis的问题 1.数据丢失问题 Redis数据持久化. 2.并发能力问题 大家主从集群,实现读写分离. 3.故障恢复问题 利用Redis哨兵,实现健康检测和自动恢复. 4.存储能力问题 搭建分片集群,利用插

  • 如何在 Java 中实现一个 redis 缓存服务

    缓存服务的意义 为什么要使用缓存?说到底是为了提高系统的运行速度.将用户频繁访问的内容存放在离用户最近,访问速度最快的地方,提高用户的响应速度.一个 web 应用的简单结构如下图. web 应用典型架构 在这个结构中,用户的请求通过用户层来到业务层,业务层在从数据层获取数据,返回给用户层.在用户量小,数据量不太大的情况下,这个系统运行得很顺畅.但是随着用户量越来越大,数据库中的数据越来越多,系统的用户响应速度就越来越慢.系统的瓶颈一般都在数据库访问上.这个时候可能会将上面的架构改成下面的来缓解数

  • 图文详解Windows下使用Redis缓存工具的方法

    一.简介 redis是一个key-value存储系统.和Memcached类似,它支持存储的value类型相对更多,包括string(字符串).list(链表).set(集合)和zset(有序集合). 这些数据类型都支持push/pop.add/remove及取交集并集和差集及更丰富的操作,而且这些操作都是原子性的.在此基础上,redis支持各种不同方式的排序.与memcached一样,为了保证效率,数据都是缓存在内存中.区别的是redis会周期性的把更新的数据写入磁盘或者把修改操作写入追加的记

  • 配置Spring4.0注解Cache+Redis缓存的用法

    前言: 目前公司项目在上一个技术架构的处理,已经搭建好了Redis,但redis只用在了做session的管理,然而 后台的对象缓存没有用上 1. redis 和 ehcache的区别: 简单了解了下,个人觉得 从部署上而言,redis更适合分布式部署,ehcache是在每台应用服务器上开辟一块内存做缓存,集群时还得考虑缓存的情况, redis就不需要考虑缓存了.单独部署在一台服务器中(也可以是在某一台应用服务器中) 2. 项目配置(spring mvc+maven+mybaits+redis)

  • Redis缓存详解

    下面来正式分享今天的文章吧: .搭建Redis服务端,并用客户端连接 .封装缓存父类,定义Get,Set等常用方法 .定义RedisCache缓存类,执行Redis的Get,Set方法 .构造出缓存工厂调用方法 下面一步一个脚印的来分享: .搭建Redis服务端,并用客户端连接 首先,咋们去这个地址下载安装文件https://github.com/dmajkic/redis/downloads,我这里的版本是:redis-2.4.5-win32-win64里面有32位和64位的执行文件,我这里服

  • 分布式Redis Cluster集群搭建与Redis基本用法

    目录 Redis集群搭建 Redis是啥 集群(Cluster) RedisCluster说明 RedisCluster节点 RedisCluster集群模式 不能保证一致性 创建和使用Redis集群 部署三个主节点 非docker docker安装 创建集群 Redis入门 Redis中的数据类型 字符串(string) 哈希(Hash) 列表(Lists) 集合(Set) 有序集合(sortedset) Redis 集群搭建 Redis 是啥 Redis(全称 REmote DIctiona

  • 浅谈Redis缓存雪崩解决方案

    目录 1.保持缓存层的高可用 2.限流降级组件 3.缓存不过期 4.优化缓存过期时间 5.使用互斥锁重建缓存 6.异步重建缓存 缓存层承载着大量的请求,有效保护了存储层.但是如果由于大量缓存失效或者缓存整体不能提供服务,导致大量的请求到达存储层,会使存储层负载增加(大量的请求查询数据库) .这就是缓存雪崩的场景; 解决缓存雪崩可以从下面的几点着手: 1.保持缓存层的高可用 使用Redis哨兵模式或者Redis集群部署方式,即是个别Redis节点下线,整个缓存层依然可以使用.除此之外还可以在多个机

  • redis缓存的简单操作(get、put)

    本文介绍简单的redis缓存操作,包括引入jedisjar包.配置redis.RedisDao需要的一些工具.向redis中放数据(put).从redis中取数据(get).访问redis时的逻辑 一.引入jedis jar包 <!-- java访问redis的jar包jedis --> <dependency> <groupId>redis.clients</groupId> <artifactId>jedis</artifactId&g

  • asp.net性能优化之使用Redis缓存(入门)

    1:使用Redis缓存的优化思路 redis的使用场景很多,仅说下本人所用的一个场景: 1.1对于大量的数据读取,为了缓解数据库的压力将一些不经常变化的而又读取频繁的数据存入redis缓存 大致思路如下:执行一个查询 1.2首先判断缓存中是否存在,如存在直接从Redis缓存中获取. 1.3如果Redis缓存中不存在,实时读取数据库数据,同时写入缓存(并设定缓存失效的时间). 1.4缺点,如果直接修改了数据库的数据而又没有更新缓存,在缓存失效的时间内将导致读取的Redis缓存是错误的数据. 2:R

  • php操作redis缓存方法分享

    php redis缓存操作 <?php /** * Redis缓存操作 * @author hxm * @version 1.0 * @since 2015.05.04 */ class RCache extends Object implements CacheFace { private $redis = null; //redis对象 private $sId = 1; //servier服务ID private $con = null;//链接资源 /** * 初始化Redis * *

  • 浅谈Spring Boot中Redis缓存还能这么用

    经过Spring Boot的整合封装与自动化配置,在Spring Boot中整合Redis已经变得非常容易了,开发者只需要引入Spring Data Redis依赖,然后简单配下redis的基本信息,系统就会提供一个RedisTemplate供开发者使用,但是今天松哥想和大伙聊的不是这种用法,而是结合Cache的用法.Spring3.1中开始引入了令人激动的Cache,在Spring Boot中,可以非常方便的使用Redis来作为Cache的实现,进而实现数据的缓存. 工程创建 首先创建一个Sp

随机推荐