window10 install Redis

Article directory

Table of contents

Redis download address

ZIP compressed package installation method

1. Download the Redis compressed package

2. Unzip to a local folder

Edit 3. Set the Redis startup program as an environment variable to achieve self-starting

introduction

        ​ ​ Redis is a key value type cross-platform non-relational database. It has the following three major characteristics:

                unified The APP can be loaded and used again when it is restarted. Supports the persistence of data.

                2. It not only supports the existence of key-value form data, but also provides operational operations such as list, SET, HASH.

                ​ ​ ​ ​ 3. Support data backup, that is, data storage in master-slave mode.

Redis download address

Windows version readis download (GitHub):

https://github.com/tporadowski/redis/releases (recommended)

ZIP compressed package installation method 

1. Download the Redis compressed package

2. Unzip to a local folder

3. Execute cmd in the Redis decompression path to open the terminal and run the Redis service

redis-server.exe redis.windows.conf

Running successfully, the port defaults to 6379

3. Set the Redis startup program as an environment variable to achieve self-starting

 4. Test whether the Redis service starts successfully by using the client provided by Redis to connect to the Redis service.

redis-cli.exe -h 127.0.0.1 -p 6379

        The occurrence of PONG indicates that the local Redis configuration is successful. Then we can use Redis as database, cache and message middleware, and perform well in terms of performance, scalability and flexibility.

Guess you like

Origin blog.csdn.net/2201_75875170/article/details/133957198