One. Redis: https://github.com/ServiceStack/redis-windows/tree/master/downloads
Download the corresponding version *.zip as needed. (I'm win7x64 here)
Two. Use
1. After downloading, unzip to your corresponding directory:
1 File Description: 2 Redis-benchmark.exe # Benchmark 3 redis-check-aof.exe # aof4 Redischeck-dump.exe # Dump5 redis-cli.exe # client 6 redis-server.exe # Server 7 redis.windows.conf # configuration file
2. Simply start Redis:
Enter the extracted folder, shift+ right-click into cmd;
Type the cmd command: redis-server.exe redis.windows.conf
Note: This is the status of the service startup success, close the service directly shut down the cmd window;
3. Simple test status, where you can open a CMD window and type redis-cli.exe
Three. Installing the Redis Service
1. Open a CMD window under this folder to run the command:
redis-server--service-install redis.windows.conf--loglevel verbose
2. Close the Server CMD window and start the Redis service in the service after refreshing;
3. Start Redis-cli.exe test to see;
Four. Other related
1. More Redis commands can be seen on the official website or Chinese station, Poke here: http://www.redis.cn/commands.html.
2. Redis visualization tool,Redisdesktopmanager,Open source,
hosted on GitHub, interested can go to see:Https://github.com/uglide/RedisDesktopManager
3. Management tools: Redisstudio:https://github.com/cinience/redisstudio
4. Hosts settings:
1 set duapphosts=127.0. 0.1 sqld.duapp.com2set redisduapphosts=127.0. 0.1 redis.duapp.com3 echo%duapphosts% >> C:\Windows\System32\drivers\etc\hosts 4 echo%redisduapphosts% >> C:\Windows\System32\drivers\etc\hosts
Redis installation [Windows]