Redis is introduced in recent projects, so it is documented for future viewing. Don't talk nonsense, straight to the subject.
First, the preparation before installation:
Download Redis:
Official: Http://redis.io/download (not described here)
GitHub: There are a lot of Daniel here to share the experience, more than the original three more than the DLL, the function is very useful
eg
(including source code) Https://github.com/ServiceStack/ServiceStack.Redis
(packaged) Https://github.com/ServiceStack/redis-windows
To download the Redis client:
Http://redisdesktop.com/download (not described here, we recommend using the command line to connect Redis-cli.exe)
Second, Redis configuration:
1. Locate the Redis storage location and start the Redis server. (command, as below)
Redis-server.exe redis.windows.conf
So far, the Redis service has started.
2. Connect Operation Redis:
Also open a command-line window (cmd), find Redis storage location, connect Redis Service (note to modify your own IP, port number default is 6379)
Redis-cli.exe-h 192.168.10.61-p 6379
Redis 127.0.0.1:6379> SET name Tongsir
Ok
Redis 127.0.0.1:6379>keys *
1) "Name"
Redis 127.0.0.1:6379> GET Name
"Tongsir"
Redis installation Configuration (Windows edition)