One, download the Windows version of Redis
Because you want to use Redis, install it on Windows, and make notes by the way.
Since the Redis official website does not have a version of Windows, download it on GitHub: https://github.com/MSOpenTech/redis/tags
My system is Win10 64-bit, so download the following version.
Second, the installation of Redis
1, unzip the downloaded compressed package, compressed a directory, such as F:\Redis
2. Enter CMD in the runtime and point the directory to the extracted Redis directory
3, start the command, enter Redis-server redis.windows.conf, appear as if the boot was successful.
third, set up Redis service
Although Redis is started above, Redis disappears as soon as you close the cmd window, so you want to set up Redis as a service under Windows.
On the cmd hit, point the directory to the unzipped Redis directory, enter the settings service command: Redis-server--service-install redis.windows-service.conf--loglevel Verbose, then open the service , a Redis service is found in the list and the service has been set successfully.
Common Redis Service commands:
Uninstall Service: Redis-server--service-uninstall
Open service: Redis-server--service-start
Stop service: Redis-server--service-stop
Installing Redis under Windows