温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

怎么搭建单机Redis缓存服务

发布时间:2023-04-10 17:14:03 来源:亿速云 阅读:131 作者:iii 栏目:开发技术

这篇文章主要介绍“怎么搭建单机Redis缓存服务”的相关知识,小编通过实际案例向大家展示操作过程,操作方法简单快捷,实用性强,希望这篇“怎么搭建单机Redis缓存服务”文章能帮助大家解决问题。

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缓存服务”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识,可以关注亿速云行业资讯频道,小编每天都会为大家更新不同的知识点。

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI