Redis-windows install redis service

一, download

before we download the corresponding version of redis. The blogger downloaded:

二, installation service

zip is free of installation, directly extract to a certain path. Then enter cmd to redis decompression path to start the installation service.

redis-server --service-install

The above window service has been installed, the redis service can be started directly to the task manager through the interface to start and stop, of course, you can also start and stop through the command:

Redis-server --service-start
# stop
Redis-server --service-stop
# Uninstall
Redis-server --service-uninstall

III, test

You may not believe it, so the installation is successful. But...but it's really that simple, from the beginning to the end we installed a windows service and only executed one command. Let's go into the redis client and do a simple test: