Redis Installation and Configuration in Windows (Standalone Setup)

  • Last update:September 19, 2025
  • Overview

    Redis is an open-source database where data is stored as key-value pairs in the C programming language.

    Redis serves as a state server in the Web cluster, primarily storing information such as cached logins, template locks, and session IDs, while also validating all access and operations.

    Procedure

    Downloading the Redis Installation Package

    You can select and download the Redis installation package that is compatible with your Windows system in GitHub (download link: https://github.com/MicrosoftArchive/redis/releases). You can select and download the corresponding installation package of the latest version.

    iconNote:
    The MIS file is the Microsoft installation version, while the ZIP file is the decompression version. In this document, you can download the ZIP file, and unzip it for use.

    If you cannot access GitHub, you can download the file directly: Redis-x64-3.2.100.zip

    Installing Redis

    Create a folder in Data (D:), for example, a folder named redis, and place the decompressed files to the folder.

    Modifying the Configuration File

    Edit the configuration file redis.windows.conf, and make the following adjustments.

    bind 127.0.0.1 ---> # bind 127.0.0.1
    protected-mode yes ---> protected-mode no
    # requirepass foobared ---> requirepass 123456  #123456 is the password, and can be modified.
    port 6379 ---> port 7379  # Modify the port to 7379.
    maxmemory 4294967296  # Set the memory to 4GB (recommended) in bytes or other size. (You need to add the content.)
    maxmemory-policy noeviction #When Redis reaches its maximum memory, it will not automatically clear or delete any keys to free up memory. New write requests will be rejected.

    Starting Redis

    Press Windows + R, enter cmd, and click OK to enter the command prompt window. Execute the redis-server.exe redis.windows.conf statement. If the following content is displayed, Redis is successfully started, as shown in the following figure.

    附件列表


    主题: Deployment and Integration
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy