Redis
Build an environment in Windows
From http://www.cnblogs.com/chenchunyong/archive/2013/04/17/Redis.html
1. What is redis?
Redis is a high-performance Key-value database that does not support any SQL statements. It supports more storage value types, including string, list, set, and zset ). These data types support push/pop, Add/Remove, Intersection Set and difference set, and more abundant operations, and these operations are atomic. On this basis, redis supports sorting in different ways. Like memcached, data is cached in the memory to ensure efficiency. The difference is that redis periodically writes the updated data to the disk or writes the modification operation to the append record file, and on this basis implements master-slave (master-slave) synchronization.
2. Set up the redis environment in. net.
To do a good job, you must first sharpen the tool. To learn about redis, you must first set up the environment. To set up the environment, you must download redis. Https://github.com/dmajkic/redis/downloads. The downloaded redis supports 32bit and 64bit. Select 64bit based on your actual situation.
Copy the 64bit file content to the directory to be installed, for example, E: \ reids.
Open a cmd window and use the CD command to switch to the specified directory (E: \ redis) and run the redis-server.exe redis. conf. The following page is displayed after running.
This indicates that the redis server has been installed successfully.
Open a new cmd window and run the CD command to switch to the specified directory (E: \ redis) and run the redis-cli.exe-H 127.0.0.1-P 6379 where 127.0.0.1 is the local IP and 6379 is the default port of the redis server. As shown in.
In this way, the setup in redis Windows environment is complete, isn't it easy.
The environment has been set up. You have to test it. For example, store a string whose key is test and value is Hello word, and then obtain the key value.
Test successful!