After downloading and decompressing Redis, if you want to run Redis in the background
1. Enter the DOS window
2. Enter the installation directory of Redis
3. Input: redis-server --service-install redis.windows.conf --loglevel verbose (install redis service)
If the following error occurs during the installation process
Redis installation system service 1073 error HandleServiceCommands: system error caught. error code=1073
报错:D:\ProgramFiles\redis>redis-server.exe --service-install redis.windows.conf --loglevel verbose
[12820] 06 Sep 11:00:26.431 # HandleServiceCommands: system error caught. error code=1073, message = CreateService failed: unknown error
Reason: Already exists in the system service