Redis download

This document uses the Windows installation as an example. The download address is github.com/tporadowski…

To install Linux, download the latest stable version from redis. IO /download

Redis supports 32 and 64 bits. This needs to be selected according to the actual situation of your system platform, here we download redis-x64-xxx. zip to disk D, decompress, rename the folder Redis.

Open the installation folder with the following contents:

Redis test use

Open the CMD window in the installation directory and run the following command to start the Redis service from the Redis configuration file: redis.windows.conf can be omitted. If omitted, the default Redis service is enabled

redis-server.exe redis.windows.conf
Copy the code

The following screen is displayed when the Redis service is successfully started

At this time, in the Redis installation directory, open another CMD window and execute the command: this command indicates that the client connects to the Redis service

Redis -cli.exe -h 127.0.0.1 -p 6379Copy the code

Run the set and get commands to access data. If the Redis is successfully installed, the Redis is successfully installed