springboot框架下項目在liunx機器上部署

springboot自帶tomcat,只需要將本地的maven項目打包放到liunx即可。步驟如下: 1.本地打包 (1)確定本地maven環境變量配置正確,如下即可: (2)到項目路徑下,和pom.xml同級目錄,進行打包 出現build success即可,在target目錄下 打包完成 2.部署到liunx (1)先用WSCP/Xshell的文件傳輸將打好的包放到liunx系統上 (2)執行
相關文章
相關標籤/搜索