I. Introduction to Redis
Redis is a key-value storage system that caches data on the server side. If the database is connected to a portion of the data is added to the memory, and then read the data in memory, the speed will be faster. The types of vlue supported are: String,list,set, Zset (Ordered collection), and hash type.
Two. Installing Redis under Windows
1.:https://github.com/dmajkic/redis/downloads
2. Support 32bit and 64bit, according to their own computer conditions to choose. Copy the selected content to the installation directory , such as: I need to install 64bit, it is necessary to copy the contents of the 64bit folder into the installation directory, this is particularly important.
3. Open a CMD window and switch to the installation directory: (you can switch by using the CD command, or you can manually open the current installation directory and enter CMD directly in the address bar above)
4. Run Redis-server.exe redis.conf, the following interface appears after running
This means that the Redis server has been successfully installed
5. Reopen a CMD window and switch to the installation directory
6. Run Redis-cli.exe-h 127.0.0.1-p 6379. Where 127.0.0.1 is the local ip,6379 is the Redis server default port, the following interface appears:
In this way, the rediswindows environment has been built to complete ~~~~~ ~~~~~ ~~~~~
Installation of Redis under Windows