First, the environment
Redis installation package: Redis-x64-3.0.504.zip
Download (official website does not provide Windows version, the Linux version only): https://github.com/MicrosoftArchive/redis/tags
Second, the steps
1) Download the Windows version of the zip archive and extract
2) Open the cmd command, enter the extract directory, execute the command: redis-server redis.windows.conf, you can start the Redis of temporary service (default port number 6379)
3) the deployment of Redis as a service under Windows, turn off on a window (otherwise the service start error), open a new command window, enter the command: redis-server --service-install redis.windows.conf, after the installation is complete you can in the Windows services interface to see Redis service, you can start (you can also use the command: redis-server --service-start to start the service).
Third, the commonly used commands
Installation Services: redis-server --service-install configuration file
uninstall the service: redis-server --service-uninstall configuration file
open service: redis-server --service-start
out of service: redis-server --service-stop
Fourth, tools
In Redis after extracting file folder, also provides other useful tools:
redis-benchmark: Redis stress test tool
redis-cli: Redis client connection tool for connecting Redis operation
redis-check-aof: update log detection tools, can fix the problem aof file
redis-check-dump: check local data file, you can fix the problem rdb file