国产xxxx99真实实拍_久久不雅视频_高清韩国a级特黄毛片_嗯老师别我我受不了了小说

資訊專欄INFORMATION COLUMN

spring-boot-plus運維部署(八)

Berwin / 3396人閱讀

摘要:運維部署線上部署打包環境為打包后的目錄設置線上數據庫等敏感信息啟動服務啟動日志

spring-boot-plus運維部署 線上部署
打包環境為prod
mvn clean package -Pprod
打包后的目錄
cd target/spring-boot-plus-1.2.0.RELEASE-prod
設置線上數據庫、Redis等敏感信息
vim spring-boot-plus/config/application-prod.yml
啟動服務
sh spring-boot-plus/bin/startup.sh
啟動日志
[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: 應用程序名稱

application jar name: 應用jar包名稱

application bin path: 項目bin命令路徑

application root path: 項目根路徑

application log path: 項目運行日志路徑

application JAVA_OPT : JAVA OPT參數設置

application background startup command: 執行命令后,實際的啟動命令

application pid: 進程ID

The following profiles are active: prod:prod當前項目運行的環境

啟動成功
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:項目發布版本

profileActive:項目使用的環境

contextPath:項目訪問路徑

port:項目端口號

home:項目主頁 Spring Boot Admin監控頁面

docs:Swagger接口頁面

!! 注意,這里的路徑是內網地址,如果部署到服務器,請使用公網IP訪問!! 項目啟動成功
spring-boot-plus project start success...........

訪問IP地址即可

文章版權歸作者所有,未經允許請勿轉載,若此文章存在違規行為,您可以聯系管理員刪除。

轉載請注明本文地址:http://specialneedsforspecialkids.com/yun/76097.html

相關文章

  • spring-boot-plus后臺快速開發框架1.0.0.RELEASE發布了

    摘要:是一套集成常用開發組件的后臺快速開發框架每個人都可以獨立快速高效地開發項目官網地址主要特性集成常用開發組件集公共配置日志等集成快速操作快速生成后臺代碼集成,可自動生成文檔集成權限控制集成緩存集成消息隊列集成連接池,性能和慢查詢檢 Introduction spring-boot-plus是一套集成spring boot常用開發組件的后臺快速開發框架 Purpose 每個人都可以獨立、快...

    104828720 評論0 收藏0

發表評論

0條評論

最新活動
閱讀需要支付1元查看
<