windows设置springboot和nginx开机启动

springboot

编写文件名
放入路径
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
G:\imageServer为jar包路径

@echo off
g:
cd G:\imageServer
START "imageServer" javaw -jar imageServer.jar  

nginx

编写文件名
nginx-1.18.0-start.bat
放入路径
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
G:\keti\nginx-1.18.0 为nginx路径

@echo off
g:
cd G:\keti\nginx-1.18.0
START nginx.exe

windows设置springboot和nginx开机启动_第1张图片
windows设置springboot和nginx开机启动_第2张图片
windows设置springboot和nginx开机启动_第3张图片
windows设置springboot和nginx开机启动_第4张图片
windows设置springboot和nginx开机启动_第5张图片
windows设置springboot和nginx开机启动_第6张图片

你可能感兴趣的:(课题,nginx,spring,boot,windows)