把redis.windows.conf的数据参数复制给redis.windows-service.conf
搜关键字requirepass或者password

搜关键字logfile 修改日志文件

感觉没什么用,然后在当前文件夹运行Shift加右键打开 PowerShell 或者用cmd(管理员模式打开)D: 然后cd进这个目录,补充:
初始化服务 :redis-server --service-install
卸载服务: redis-server --service-install --uninstall


网友评论