Installation and start downloading Redis →

A lower mounting Window

 Download: https://github.com/MSOpenTech/redis/releases

 Redis supports 32-bit and 64-bit. This according to the actual circumstances of your system platform selection, here we Redis-x64-xxx.zip download archive to the C drive, unzip the folder renamed redis.

Second, the installation

  Extract the downloaded zip package, as I unzip to D: \ DevelopServices \ Redis-x64-3.0.504

Third, start

Cmd opens a window cd to redis installation directory to the root directory, run redis-server.exe redis.windows.conf.
After entering, it will display the following screen:

 

 If you want convenience, you can put the path redis added to the system environment variable, so you lose save path, and that redis.windows.conf back can be omitted, if omitted, the default is enabled.

Redis environment variable configuration, the path configuration to the path value redis system variables, as shown:

 

 

Enter the start command in dos

From here, enter cmd command dos, re-entering the redis file, enter the command: redis-server --service-install redis.windows.conf --loglevel verbose
following more than two lines and tell you successfully, it shows a success.

 Fourth, the test

This time another start a cmd window, do not close the original, otherwise they can not access the server.
Switch to Run redis redis-cli.exe the directory -h 127.0.0.1 -p 6379.
Setting key to set myKey abc
taken myKey key to GET
the Redis mounting test is completed in the WINDOWS

Guess you like

Origin www.cnblogs.com/BalmyLee/p/11582157.html