Open the redis installation path and execute: redis-server --service-install redis.windows.conf
Install service command
Recommended: redis introductory tutorial
After executing the command, open the computer service
The service is not available at this time Start, execute the command: redis-server --service-start to start the service
Start the service or pass the command: redis-server --service-stop to pause the service
Uninstall via command: redis-server --service-uninstall
Related recommendations:
mysql video tutorial: https: //www.php.cn/course/list/51.html
The above is the detailed content of Introduction to the method of registering redis as a window service. For more information, please follow other related articles on the PHP Chinese website!