成人国产在线小视频_日韩寡妇人妻调教在线播放_色成人www永久在线观看_2018国产精品久久_亚洲欧美高清在线30p_亚洲少妇综合一区_黄色在线播放国产_亚洲另类技巧小说校园_国产主播xx日韩_a级毛片在线免费

資訊專欄INFORMATION COLUMN

spring-boot-plus運(yùn)維部署(八)

Berwin / 3405人閱讀

摘要:運(yùn)維部署線上部署打包環(huán)境為打包后的目錄設(shè)置線上數(shù)據(jù)庫(kù)等敏感信息啟動(dòng)服務(wù)啟動(dòng)日志

spring-boot-plus運(yùn)維部署 線上部署
打包環(huán)境為prod
mvn clean package -Pprod
打包后的目錄
cd target/spring-boot-plus-1.2.0.RELEASE-prod
設(shè)置線上數(shù)據(jù)庫(kù)、Redis等敏感信息
vim spring-boot-plus/config/application-prod.yml
啟動(dòng)服務(wù)
sh spring-boot-plus/bin/startup.sh
啟動(dòng)日志
[root@springbootplus spring-boot-plus-1.2.0.RELEASE-prod]# sh spring-boot-plus/bin/startup.sh 
================================================ 2019-08-06 00:14:02 ================================================
application name: spring-boot-plus
application jar name: spring-boot-plus.jar
application bin path: /root/spring-boot-plus/target/spring-boot-plus-1.2.0.RELEASE-prod/spring-boot-plus/bin
application root path: /root/spring-boot-plus/target/spring-boot-plus-1.2.0.RELEASE-prod/spring-boot-plus
application log path: /root/spring-boot-plus/target/spring-boot-plus-1.2.0.RELEASE-prod/spring-boot-plus/logs/spring-boot-plus.log
application JAVA_OPT : -server -Xms1g -Xmx1g -Xmn512m -XX:MetaspaceSize=64m -XX:MaxMetaspaceSize=256m -XX:-OmitStackTraceInFastThrow
application background startup command: nohup java -server -Xms1g -Xmx1g -Xmn512m -XX:MetaspaceSize=64m -XX:MaxMetaspaceSize=256m -XX:-OmitStackTraceInFastThrow -jar /root/spring-boot-plus/target/spring-boot-plus-1.2.0.RELEASE-prod/spring-boot-plus/lib/spring-boot-plus.jar --spring.config.location=/root/spring-boot-plus/target/spring-boot-plus-1.2.0.RELEASE-prod/spring-boot-plus/config/ > /root/spring-boot-plus/target/spring-boot-plus-1.2.0.RELEASE-prod/spring-boot-plus/logs/spring-boot-plus.log 2>&1 &
application pid: 25435


                 _                    _                 _                _
                (_)                  | |               | |              | |
  ___ _ __  _ __ _ _ __   __ _ ______| |__   ___   ___ | |_ ______ _ __ | |_   _ ___
 / __| "_ | "__| | "_  / _` |______| "_  / _  / _ | __|______| "_ | | | | / __|
 \__  |_) | |  | | | | | (_| |      | |_) | (_) | (_) | |_       | |_) | | |_| \__ 
 |___/ .__/|_|  |_|_| |_|\__, |      |_.__/ \___/ \___/ \__|      | .__/|_|\__,_|___/
     | |                  __/ |                                   | |
     |_|                 |___/                                    |_|

      :: Spring Boot ::             (v2.1.6.RELEASE)
      :: Spring Boot Plus ::        (v1.2.0.RELEASE)
      :: spring-boot-plus ::        https://springboot.plus


2019-08-06 00:14:03.953  INFO 25435 --- [           main] i.g.s.SpringBootPlusApplication          : Starting SpringBootPlusApplication on izm5e9gwtfsmjdxcsrpxbgz with PID 25435 (/root/spring-boot-plus/target/spring-boot-plus-1.2.0.RELEASE-prod/spring-boot-plus/lib/spring-boot-plus.jar started by root in /root/spring-boot-plus/target/spring-boot-plus-1.2.0.RELEASE-prod/spring-boot-plus)
2019-08-06 00:14:03.962  INFO 25435 --- [           main] i.g.s.SpringBootPlusApplication          : The following profiles are active: prod

application name: 應(yīng)用程序名稱

application jar name: 應(yīng)用jar包名稱

application bin path: 項(xiàng)目bin命令路徑

application root path: 項(xiàng)目根路徑

application log path: 項(xiàng)目運(yùn)行日志路徑

application JAVA_OPT : JAVA OPT參數(shù)設(shè)置

application background startup command: 執(zhí)行命令后,實(shí)際的啟動(dòng)命令

application pid: 進(jìn)程ID

The following profiles are active: prod:prod當(dāng)前項(xiàng)目運(yùn)行的環(huán)境

啟動(dòng)成功
2019-08-06 00:29:03.730  INFO 26795 --- [           main] i.g.s.SpringBootPlusApplication          : Started SpringBootPlusApplication in 10.746 seconds (JVM running for 11.28)
2019-08-06 00:29:03.758  INFO 26795 --- [           main] i.g.s.util.PrintApplicationInfo          : projectFinalName : spring-boot-plus
2019-08-06 00:29:03.759  INFO 26795 --- [           main] i.g.s.util.PrintApplicationInfo          : projectVersion : 1.2.0.RELEASE
2019-08-06 00:29:03.759  INFO 26795 --- [           main] i.g.s.util.PrintApplicationInfo          : profileActive : prod
2019-08-06 00:29:03.759  INFO 26795 --- [           main] i.g.s.util.PrintApplicationInfo          : contextPath : /
2019-08-06 00:29:03.759  INFO 26795 --- [           main] i.g.s.util.PrintApplicationInfo          : port : 8888
2019-08-06 00:29:03.789  INFO 26795 --- [           main] i.g.s.util.PrintApplicationInfo          : home:http://172.31.105.37:8888/
2019-08-06 00:29:03.789  INFO 26795 --- [           main] i.g.s.util.PrintApplicationInfo          : docs:http://172.31.105.37:8888/docs
2019-08-06 00:29:03.789  INFO 26795 --- [           main] i.g.s.util.PrintApplicationInfo          : spring-boot-plus project start success...........
2019-08-06 00:29:03.794  INFO 26795 --- [           main] i.g.s.util.PrintApplicationInfo          : 
 ____    __                    __        ____                                                   
/  _` / \__                / \__    /  _`                                                 
 ,L\_  ,_    __     _ __  ,_    ,L\_  __  __    ___    ___     __    ____    ____  
 /_\__   /  /"__`  /`"__  /    /_\__  / /   /"___ /"___ /"__` /",__  /",__ 
   / L   \_/ L.\_  /   \_     / L   \_ / \__// \__//  __//\__, `/\__, `
    `\____ \__ \__/.\_ \_   \__     `\____ \____/ \____ \____ \____/\____//\____/
    /_____//__//__//_/ /_/   /__/     /_____//___/  /____//____//____//___/  /___/ 
                                                                                                
                                                                                                
2019-08-06 00:29:03.909  INFO 26795 --- [nio-8888-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet "dispatcherServlet"
2019-08-06 00:29:03.909  INFO 26795 --- [nio-8888-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet "dispatcherServlet"
2019-08-06 00:29:03.924  INFO 26795 --- [nio-8888-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 15 ms
2019-08-06 00:29:04.317  INFO 26795 --- [gistrationTask1] d.c.b.a.c.r.ApplicationRegistrator       : Application registered itself as e211ba082db8
2019-08-06 00:29:04.678  INFO 26795 --- [     parallel-2] io.lettuce.core.EpollProvider            : Starting with epoll library
2019-08-06 00:29:04.681  INFO 26795 --- [     parallel-2] io.lettuce.core.KqueueProvider           : Starting without optional kqueue library

projectFinalName:spring-boot-plus

projectVersion:項(xiàng)目發(fā)布版本

profileActive:項(xiàng)目使用的環(huán)境

contextPath:項(xiàng)目訪問(wèn)路徑

port:項(xiàng)目端口號(hào)

home:項(xiàng)目主頁(yè) Spring Boot Admin監(jiān)控頁(yè)面

docs:Swagger接口頁(yè)面

!! 注意,這里的路徑是內(nèi)網(wǎng)地址,如果部署到服務(wù)器,請(qǐng)使用公網(wǎng)IP訪問(wèn)!! 項(xiàng)目啟動(dòng)成功
spring-boot-plus project start success...........

訪問(wèn)IP地址即可

文章版權(quán)歸作者所有,未經(jīng)允許請(qǐng)勿轉(zhuǎn)載,若此文章存在違規(guī)行為,您可以聯(lián)系管理員刪除。

轉(zhuǎn)載請(qǐng)注明本文地址:http://systransis.cn/yun/76097.html

相關(guān)文章

  • spring-boot-plus后臺(tái)快速開(kāi)發(fā)框架1.0.0.RELEASE發(fā)布了

    摘要:是一套集成常用開(kāi)發(fā)組件的后臺(tái)快速開(kāi)發(fā)框架每個(gè)人都可以獨(dú)立快速高效地開(kāi)發(fā)項(xiàng)目官網(wǎng)地址主要特性集成常用開(kāi)發(fā)組件集公共配置日志等集成快速操作快速生成后臺(tái)代碼集成,可自動(dòng)生成文檔集成權(quán)限控制集成緩存集成消息隊(duì)列集成連接池,性能和慢查詢檢 Introduction spring-boot-plus是一套集成spring boot常用開(kāi)發(fā)組件的后臺(tái)快速開(kāi)發(fā)框架 Purpose 每個(gè)人都可以獨(dú)立、快...

    104828720 評(píng)論0 收藏0

發(fā)表評(píng)論

0條評(píng)論

最新活動(dòng)
閱讀需要支付1元查看
<