Windows sets redis to enable automatic startup

Although redis is started, redis will disappear as soon as the cmd window is closed. So we need to set redis as a service under windows.
Open the computer's service list and find that there is no so-called Redis service.
We need to enter the directory where you installed Redis and
Insert image description here
open the system service again through the DOS command redis-server --service-install redis.windows-service.conf --loglevel verbose. Refresh and you can see the Redis service.
Insert image description here

Guess you like

Origin blog.csdn.net/ChengR666/article/details/127788360