redis installation and example

1. Install Redis

Official website: http://redis.io/

Official download: http://redis.io/download  You can download different versions as needed

Windows version: https://github.com/MSOpenTech/redis

The resources of github can be downloaded directly by ZIP (this is a friendly reminder for students who don't know)

After the download is complete, you can right-click and extract it to a hard disk, such as D:\Redis\redis-2.6

There are two zip packages under D:\Redis\redis-2.6\bin\release, one 32-bit and one 64-bit 

Extract it to the D:\Redis\redis-2.6 root directory according to the number of digits of your own windows

 

2. Start Redis

Start the service after entering the redis directory (note the addition of redis.windows.conf)

redis-server.exe redis.windows.conf

Otherwise, the password setting is invalid.

3. Test use

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326529172&siteId=291194637