One, download the Windows version of Redis
Since there is no Windows version on the official website, Redis, which needs to download the Windows version, has the following two addresses:
Blogger's csdn resources address:http://download.csdn.net/detail/u010608551/9778240
Github:https://github.com/msopentech/redis/tags
Ii. Installing Redis on Windows
1. Unzip the downloaded package to a specified directory, then open the cmd window and point the current directory to the extracted directory of Redis.
2. Service to start Redis
Perform redis-server redis.windows.conf, the display indicates that the boot was successful.
Iii. setting up Redis as a service under Windows
1. Although Redis is started in, Redis disappears as soon as a cmd window is closed. So to set up Redis as a service under Windows. That is set here, first found that it is useless for this Redis service ( directly enter services.msc in the input field to open the Windows Service window )
2. Setting up Redis as a service under Windows
Execute command:redis-server--service-install redis.windows-service.conf--loglevel verbose,(this may be a bit of a stutter, Do not close the window or keep it wild. If there is no error message, it means success, and then to the "service" interface refresh, found that a Redis service items
3. Common Redis Service commands
Uninstall Service: Redis-server--service-uninstall
Open service: Redis-server--service-start
Stop service: Redis-server--service-stop
4. Start the service
Next Run the Redis-server--service-start command to start the Redis service
5. Test if Redis started successfully
Here, the installation and service deployment of Redis under Windows has been successful, in more detail to Redis's Chinese web http://www.redis.net.cn/
To install Redis under Windows