The example of this article for everyone to share the Windows Redis installation method for your reference, the specific content as follows
1, first of all, Redis official support Linux system, I do not say here, need to refer to: http://www.jb51.net/article/96234.htm
2. Windows 64-bit download address: https://github.com/MSOpenTech/redis/releases
3, after the download of the Redis extract to their own directory below, after decompression
4, here you can directly click Redis-server.exe Boot, the default configuration (no password) to start
Red box can be seen, no config file specified, using the default Config, so that the start is no problem, you can check the installation directory under the Open Command window, run the command redis-cli.exe-h 127.0.0.1
Success can see the above effect.
5, we will set the Redis password, open the redis.windows.conf file, find the # Requirepass foobared this line to remove the comments, foobared replaced by their own password, save.
6. Operation Command: Redis-server.exe redis.windows.conf
Can see is to use our configuration file to start, and then test, here must enter the password, do not enter the password will be the error
This note does not enter the password, no permissions, so we need to enter the password, redis-cli.exe-h 127.0.0.1-a password
7, here, Windows installation Redis is done. Here's a shortcut to start the command Redis-server.exe redis.windows.conf, create a new txt text, save the command in a file,
Then convert the text format to a. bat file and run the bat file directly.
The above is the entire content of this article, I hope to help you learn, but also hope that we support the cloud habitat community.