Install and operate Redis under Windows system

The first step is to download an installation package. Below is the download path
https://github.s3.amazonaws.com/downloads/dmajkic/redis/redis-2.4.5-win32-win64.zip?X-Amz-Algorithm= AWS4-HMAC-SHA256&X-Amz-Credential=AKIAISTNZFOVBIJMK3TQ%2F20171206%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20171206T011635Z&X-Amz-Expires=300&X-Amdebbc66445cc45cc45bcc45bccdae2daebatebate

The second step is to open the installation package.
After opening the installation package, there are two folders 32 and 64. It depends on your operating system to choose
Write picture description here

Mine is 64-bit after opening...
Write picture description here

Step 3: Windows Run
Shortcut key windows + R, enter [cmd] command to enter the doc operation window, and then execute redis-server.exe under the folder to start successfully.
Write picture description here

The fourth step, let’s test it.
Also enter the doc operation window and execute redis-cli.exe
Write picture description here

This is done.

Use in java The
first doc window cannot be closed, and once the redis service is closed, it will also be closed. Then ...
Write picture description here
Write picture description here
In addition, we need is a jar package
Write picture description here
you can go to download the latest version, so basically completed.

Guess you like

Origin blog.csdn.net/old_wzhou/article/details/78770035