Redis windows installed in the computer

1, github Download: https://github.com/MSOpenTech/redis/tags 

2, after the download is complete, the corresponding folder to extract the

3, open redis.windows.conf, requirepass new password at #requirepass foobared; maxmemory number of bytes in the new # maxmemory <bytes>

 

 

 

 4, an input installation directory cmd, and enter, input window black: redis-server.exe redis.windows.conf, the map appears, representing the successful installation

 

5, without closing the window again enter cmd installation directory, and enter, input window black: redis-server --service-install redis.windows-service.conf --loglevel verbose, then the system will service redis successfully added service (see: after windows + R input services.msc)

 

 6, configure the environment variables, directly after completion of key windows + R: redis-cli into the client, redis-server into the service side

Open service: redis-server --service-start

Stop Service: redis-server --service-stop

Guess you like

Origin www.cnblogs.com/guo126/p/12446304.html