一、niginx 启动 start nginx
nginx关闭 .\nginx -s stop(quit)
niginx做一个静态页面(配置静态资源)
nginx配置文件位置: nginx-1.17.4\conf\nginx.conf
listen :设置端口号
server_name:设置域名
root : 设置首页索引路由
修改完配置文件,运行 .\nginx -s reload 重新加载配置文件使其生效
二、tomcat 启动 startup.bat/startup.sh
启动乱码解决:logging.properties文件: java.util.logging.ConsoleHandler.encoding = GBK/UTF-8
三、将接口部署到tomcat
将war包复制到webapps文件下实现部署