Nginx nginx -s stop #停止nginx nginx # 启动nginx SpringBoot java -jar xxx.jar --spring.profiles.active=prd #以生产模式启动SpringBoot应用 Shell scp source.txt user_name@ip_address:/xx/xx/target.txt # mac用scp命令上传文件到远程服务器