1. There is no official Windows version of Redis, but Microsoft has developed and maintained a Windows version for Win64.
Windows version download address: https://github.com/MicrosoftArchive/redis/releases
Download Redis-x64-3.2.100.zip
Download the unzipped directory
Directly open redis-server.exe to run without password access, and only run temporarily.
The following Windows services run in the background and add passwords
1. After cmd enters the folder, enter: redis-server --service-install redis.windows.conf
提示:Redis successfully installed as a service.
Indicate the success of joining the service!
2. If Redis sets a password
First modify the redis.windows.conf file
Find requirepass foobared and add requirepass 123456, where 123456 is the password
Execute after adding the password: redis-server --service-install redis.windows.conf service will prompt
The service will not start, you can add parameters to the service, as shown below:
123456 is your Redis password.
The installation is complete!