1.安装 mysql
2.安装java 环境
3.使用idea打war包
点击 apply
生成war包
将war包传到tomcat的webapp目录下,进入tomcat安装目录,进入bin,./start.sh 启动 tomcat,
直接访问项目