目錄
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服務(三種)指令
首頁 資料庫 Redis 怎麼搭建單機Redis快取服務

怎麼搭建單機Redis快取服務

May 26, 2023 pm 11:26 PM
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快取服務的詳細內容。更多資訊請關注PHP中文網其他相關文章!

本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn

熱AI工具

Undresser.AI Undress

Undresser.AI Undress

人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover

AI Clothes Remover

用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool

Undress AI Tool

免費脫衣圖片

Clothoff.io

Clothoff.io

AI脫衣器

Video Face Swap

Video Face Swap

使用我們完全免費的人工智慧換臉工具,輕鬆在任何影片中換臉!

熱工具

記事本++7.3.1

記事本++7.3.1

好用且免費的程式碼編輯器

SublimeText3漢化版

SublimeText3漢化版

中文版,非常好用

禪工作室 13.0.1

禪工作室 13.0.1

強大的PHP整合開發環境

Dreamweaver CS6

Dreamweaver CS6

視覺化網頁開發工具

SublimeText3 Mac版

SublimeText3 Mac版

神級程式碼編輯軟體(SublimeText3)

redis集群模式怎麼搭建 redis集群模式怎麼搭建 Apr 10, 2025 pm 10:15 PM

Redis集群模式通過分片將Redis實例部署到多個服務器,提高可擴展性和可用性。搭建步驟如下:創建奇數個Redis實例,端口不同;創建3個sentinel實例,監控Redis實例並進行故障轉移;配置sentinel配置文件,添加監控Redis實例信息和故障轉移設置;配置Redis實例配置文件,啟用集群模式並指定集群信息文件路徑;創建nodes.conf文件,包含各Redis實例的信息;啟動集群,執行create命令創建集群並指定副本數量;登錄集群執行CLUSTER INFO命令驗證集群狀態;使

redis數據怎麼清空 redis數據怎麼清空 Apr 10, 2025 pm 10:06 PM

如何清空 Redis 數據:使用 FLUSHALL 命令清除所有鍵值。使用 FLUSHDB 命令清除當前選定數據庫的鍵值。使用 SELECT 切換數據庫,再使用 FLUSHDB 清除多個數據庫。使用 DEL 命令刪除特定鍵。使用 redis-cli 工具清空數據。

redis怎麼讀取隊列 redis怎麼讀取隊列 Apr 10, 2025 pm 10:12 PM

要從 Redis 讀取隊列,需要獲取隊列名稱、使用 LPOP 命令讀取元素,並處理空隊列。具體步驟如下:獲取隊列名稱:以 "queue:" 前綴命名,如 "queue:my-queue"。使用 LPOP 命令:從隊列頭部彈出元素並返回其值,如 LPOP queue:my-queue。處理空隊列:如果隊列為空,LPOP 返回 nil,可先檢查隊列是否存在再讀取元素。

centos redis如何配置Lua腳本執行時間 centos redis如何配置Lua腳本執行時間 Apr 14, 2025 pm 02:12 PM

在CentOS系統上,您可以通過修改Redis配置文件或使用Redis命令來限制Lua腳本的執行時間,從而防止惡意腳本佔用過多資源。方法一:修改Redis配置文件定位Redis配置文件:Redis配置文件通常位於/etc/redis/redis.conf。編輯配置文件:使用文本編輯器(例如vi或nano)打開配置文件:sudovi/etc/redis/redis.conf設置Lua腳本執行時間限制:在配置文件中添加或修改以下行,設置Lua腳本的最大執行時間(單位:毫秒)

redis指令怎麼用 redis指令怎麼用 Apr 10, 2025 pm 08:45 PM

使用 Redis 指令需要以下步驟:打開 Redis 客戶端。輸入指令(動詞 鍵 值)。提供所需參數(因指令而異)。按 Enter 執行指令。 Redis 返迴響應,指示操作結果(通常為 OK 或 -ERR)。

redis怎麼使用鎖 redis怎麼使用鎖 Apr 10, 2025 pm 08:39 PM

使用Redis進行鎖操作需要通過SETNX命令獲取鎖,然後使用EXPIRE命令設置過期時間。具體步驟為:(1) 使用SETNX命令嘗試設置一個鍵值對;(2) 使用EXPIRE命令為鎖設置過期時間;(3) 當不再需要鎖時,使用DEL命令刪除該鎖。

redis命令行怎麼用 redis命令行怎麼用 Apr 10, 2025 pm 10:18 PM

使用 Redis 命令行工具 (redis-cli) 可通過以下步驟管理和操作 Redis:連接到服務器,指定地址和端口。使用命令名稱和參數向服務器發送命令。使用 HELP 命令查看特定命令的幫助信息。使用 QUIT 命令退出命令行工具。

redis過期策略怎麼設置 redis過期策略怎麼設置 Apr 10, 2025 pm 10:03 PM

Redis數據過期策略有兩種:定期刪除:定期掃描刪除過期鍵,可通過 expired-time-cap-remove-count、expired-time-cap-remove-delay 參數設置。惰性刪除:僅在讀取或寫入鍵時檢查刪除過期鍵,可通過 lazyfree-lazy-eviction、lazyfree-lazy-expire、lazyfree-lazy-user-del 參數設置。

See all articles