Take a look directly at how Redis is installed on Windows systems and turn on his services.
You can download the https://github.com/dmajkic/redis/downloads here.
I used the 64-bit, decompressed structure is like this, there are two files are not, I added in the back, Install_service.bat and RedisService.exe, I will say later.
Enter CMD, go to the above installation path, execute redis-server.exe redis.conf.
This effect appears to indicate that the Redis server has been successfully installed.
Reopen a CMD window and use the CD command to switch to the installation directory. Executive Redis-cli.exe-h 127.0.0.1-p 6379
Store a string with key Test,value Helloword, and then get the key value.
If you have a relationship with Redis, the Redis service will be switched off and need to be reopened manually. Now we set him up to start the Redis service automatically, just like MySQL, MongoDB.
Added two files. 1, Install_service.bat content is the following configuration. You can copy the past.
@echo Offset CUR_PATH=%CD%SC Create redis-instance binpath= "\"%cur_path%\redisservice.exe\ "%cur_path%\redis.conf" start= "Auto" displayname= "Redis"
2, REDISSERVICE.EXEHTTP://PAN.BAIDU.COM/S/1SJRVMTF can come here to download. are placed in the above directory. Then double-click Install_service.bat. Look at the service again.
This will be a success. Even if we restart the computer Redis service is turned on.
Redis Win Edition installation