反馈已提交

网络繁忙

You are viewing 5.1 help doc. More details are displayed in the latest help doc.

Installing and Configuring Standalone Redis on Windows Systems

  • Recent Updates: October 21, 2022
  • 1. Overview

    Redis is an open source underlying Key-Value storage database written in C language.

    Redis is used as a state server in Web clusters, mainly for storing cached logins, template locks, sessionIDs, etc., and plays a role in authenticating all accesses and operations.

    2. Operation steps

    2.1 Download Redis

    You can download the corresponding version for Windows on GitHub at https://github.com/MicrosoftArchive/redis/releases  , and you can choose the latest version to download.

    Note: The mis file is the Microsoft installation version, the zip file is the unpacked version, here we download the zip package, unpack it and use it.

    If you don't have access to GitHub, you can also download it directly by clicking Redis-x64-3.2.100.zip :Redis-x64-3.2.100.zip

    2.2 Installing Redis

    Create a new folder on the D drive, e.g. D:\redis, and extract the files from Redis-x64-3.2.100.zip to that folder

    2.3 Modify the configuration file

    Edit profileredis.windows.conf,Modify the following:

    bind 127.0.0.1 ---> # bind 127.0.0.1
    protected-mode yes ---> protected-mode no
    # requirepass foobared ---> requirepass 123456  #123456 is the password can be replaced
    by any
    port 6379 ---> port 7379  #Change the port to 7379
    maxmemory 4294967296  # Configure memory to 4G unit is byte, can also
    be configured to other sizes, the recommended size is 4G (need to add content)
    maxmemory-policy allkeys-lru # Expiration policy, LRU Least Recent
    Use algorithm (content to be added)

    2.4 Starting Redis

    cmd enter  Redis Directory ,execute the redis-server.exe redis.windows.conf statement and the following will appear to indicate a successful startup.

    Attachment List


    Theme: Deployment Integration
    Already the First
    Already the Last
    • Helpful
    • Not helpful
    • Only read

    售前咨询电话

    400-811-8890转1

    在线技术支持

    在线QQ:800049425

    热线电话:400-811-8890转2

    总裁办24H投诉

    热线电话:173-1278-1526

    文 档反 馈

    鼠标选中内容,快速反馈问题

    鼠标选中存在疑惑的内容,即可快速反馈问题,我们将会跟进处理。

    不再提示

    10s后关闭