Redis starts the specified configuration file

1. Enter the DOS window

2. Enter the installation directory of redis

3. Enter: redis-server --service-install redis.windows.conf --loglevel verbose (install redis service)

4. Enter: redis-server --service-start (start service)

5. Enter: redis-server --service-stop (stop the service)

 

 

Note: This command: redis-server --service-install redis.windows.conf --loglevel verbose (install redis service)
needs to be executed in the redis installation directory to execute successfully.

Reference link: https://blog.csdn.net/justinytsoft/article/details/54614068

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325851409&siteId=291194637