当前位置: 首页 > ai >正文

07、上传jar包到 Linux 并启动项目

07、上传jar包到 Linux 并启动项目

1、上传jar包

[root@xx-blog xx-springboot]# pwd
/root/xx-springboot
[root@xx-blog xx-springboot]# ls
xx-springboot-1.0-SNAPSHOT.jar

2、启动命令

java -jar xx-springboot-1.0-SNAPSHOT.jar
[root@xx-blog xx-springboot]# java -jar xx-springboot-1.0-SNAPSHOT.jar.   ____          _            __ _ _/\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \\\/  ___)| |_)| | | | | || (_| |  ) ) ) )'  |____| .__|_| |_|_| |_\__, | / / / /=========|_|==============|___/=/_/_/_/:: Spring Boot ::                (v3.5.0)2025-07-29T09:19:10.652+08:00  INFO 2423 --- [xx-springboot] [           main] com.xx.Application                       : Starting Application v1.0-SNAPSHOT using Java 21.0.8 with PID 2423 (/root/xx-springboot/xx-springboot-1.0-SNAPSHOT.jar started by root in /root/xx-springboot)
2025-07-29T09:19:10.656+08:00  INFO 2423 --- [xx-springboot] [           main] com.xx.Application                       : No active profile set, falling back to 1 default profile: "default"
2025-07-29T09:19:11.961+08:00  INFO 2423 --- [xx-springboot] [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 8001 (http)
2025-07-29T09:19:11.978+08:00  INFO 2423 --- [xx-springboot] [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2025-07-29T09:19:11.978+08:00  INFO 2423 --- [xx-springboot] [           main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.41]
2025-07-29T09:19:12.008+08:00  INFO 2423 --- [xx-springboot] [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2025-07-29T09:19:12.010+08:00  INFO 2423 --- [xx-springboot] [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1224 ms
2025-07-29T09:19:12.491+08:00  INFO 2423 --- [xx-springboot] [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 8001 (http) with context path '/'
2025-07-29T09:19:12.511+08:00  INFO 2423 --- [xx-springboot] [           main] com.xx.Application                       : Started Application in 2.663 seconds (process running for 3.242)
http://www.xdnf.cn/news/19730.html

相关文章:

  • 9月3日星期三今日早报简报微语报早读
  • 深入解析Java Spliterator(Stream延迟、并行计算核心)
  • TensorFlow的Yes/No 关键词识别模型训练
  • LVGL9.3 vscode 模拟环境搭建
  • 多层环境室内定位系统综述总结
  • 如何获取easy-ui的表格的分页大小
  • VRRP协议
  • Deformable 3D Gaussians:把动态场景装进“可变形的静态世界”
  • 技术重构人力管理 —— 打造人力资源流程自动化、智能化专业服务方案
  • 解决git无法连接github
  • 打破信息洪流:微算法科技(NASDAQ:MLGO)推出一种移动互联网环境下数字媒体热点挖掘算法
  • 什么是量子计算?
  • HarmonyOS 声明式 UI 状态管理深度实践:从 @State 到持久化
  • STM32的时钟系统与时钟树的配置
  • 深兰科技AI问诊助手走访打浦桥街道社区卫生服务中心
  • 阅兵背后的科技:战场上的目标检测与无人机巡检
  • 刷新记录:TapData Oracle 日志同步性能达 80K TPS,重塑实时同步新标准
  • 腾讯云《意愿核身移动 H5》 接入完整示例
  • 【51单片机】【protues仿真】基于51单片机压力测量仪系统
  • 机器学习从入门到精通 - KNN与SVM实战指南:高维空间中的分类奥秘
  • 深度学习入门:从神经网络基础到 BP 算法全解析
  • 快速搭建一个Vue+TS+Vite项目
  • CMake构建学习笔记24-使用通用脚本构建PROJ和GEOS
  • Unity开发保姆级教程:C#脚本+物理系统+UI交互,3大模块带你通关游戏开发
  • Spring Boot配置error日志发送至企业微信
  • char、short、int等整型类型取值范围
  • Java继承
  • 【YOLO】数据增强bug
  • mysql第五天学习 Mysql全局优化总结
  • AI+教育:用BERT构建个性化错题推荐系统