码迷,mamicode.com
首页 > 其他好文 > 详细

CentOS8 Jenkins 安装配置

时间:2021-02-08 12:28:14      阅读:0      评论:0      收藏:0      [点我收藏+]

标签:Servle   following   context   highlight   logging   one   pat   div   res   

下载war包

http://mirrors.jenkins.io/war-stable/latest/

 

上传到服务器

技术图片

 

 

 

开启服务

[root@localhost jenkins]# java -jar jenkins.war
Running from: /opt/jenkins/jenkins.war
webroot: $user.home/.jenkins
2021-02-07 06:52:19.306+0000 [id=1]	INFO	org.eclipse.jetty.util.log.Log#initialized: Logging initialized @253ms to org.eclipse.jetty.util.log.JavaUtilLog
2021-02-07 06:52:19.403+0000 [id=1]	INFO	winstone.Logger#logInternal: Beginning extraction from war file
2021-02-07 06:52:19.427+0000 [id=1]	WARNING	o.e.j.s.handler.ContextHandler#setContextPath: Empty contextPath
2021-02-07 06:52:19.471+0000 [id=1]	INFO	org.eclipse.jetty.server.Server#doStart: jetty-9.4.33.v20201020; built: 2020-10-20T23:39:24.803Z; git: 1be68755656cef678b79a2ef1c2ebbca99e25420; jvm 1.8.0_281-b09
2021-02-07 06:52:19.667+0000 [id=1]	INFO	o.e.j.w.StandardDescriptorProcessor#visitServlet: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
2021-02-07 06:52:19.718+0000 [id=1]	INFO	o.e.j.s.s.DefaultSessionIdManager#doStart: DefaultSessionIdManager workerName=node0
2021-02-07 06:52:19.718+0000 [id=1]	INFO	o.e.j.s.s.DefaultSessionIdManager#doStart: No SessionScavenger set, using defaults
2021-02-07 06:52:19.719+0000 [id=1]	INFO	o.e.j.server.session.HouseKeeper#startScavenging: node0 Scavenging every 600000ms
2021-02-07 06:52:19.999+0000 [id=1]	INFO	hudson.WebAppMain#contextInitialized: Jenkins home directory: /root/.jenkins found at: $user.home/.jenkins
2021-02-07 06:52:20.073+0000 [id=1]	INFO	o.e.j.s.handler.ContextHandler#doStart: Started w.@39d76cb5{Jenkins v2.263.3,/,file:///root/.jenkins/war/,AVAILABLE}{/root/.jenkins/war}
2021-02-07 06:52:20.085+0000 [id=1]	INFO	o.e.j.server.AbstractConnector#doStart: Started ServerConnector@39fb3ab6{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}
2021-02-07 06:52:20.085+0000 [id=1]	INFO	org.eclipse.jetty.server.Server#doStart: Started @1032ms
2021-02-07 06:52:20.087+0000 [id=22]	INFO	winstone.Logger#logInternal: Winstone Servlet Engine running: controlPort=disabled
2021-02-07 06:52:20.952+0000 [id=29]	INFO	jenkins.InitReactorRunner$1#onAttained: Started initialization
2021-02-07 06:52:20.968+0000 [id=31]	INFO	jenkins.InitReactorRunner$1#onAttained: Listed all plugins
2021-02-07 06:52:21.912+0000 [id=31]	INFO	jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
2021-02-07 06:52:21.919+0000 [id=33]	INFO	jenkins.InitReactorRunner$1#onAttained: Started all plugins
2021-02-07 06:52:21.930+0000 [id=30]	INFO	jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
2021-02-07 06:52:22.529+0000 [id=30]	INFO	jenkins.InitReactorRunner$1#onAttained: System config loaded
2021-02-07 06:52:22.529+0000 [id=30]	INFO	jenkins.InitReactorRunner$1#onAttained: System config adapted
2021-02-07 06:52:22.530+0000 [id=30]	INFO	jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
2021-02-07 06:52:22.530+0000 [id=30]	INFO	jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
2021-02-07 06:52:22.600+0000 [id=47]	INFO	hudson.model.AsyncPeriodicWork#lambda$doRun$0: Started Download metadata
2021-02-07 06:52:22.625+0000 [id=47]	INFO	hudson.util.Retrier#start: Attempt #1 to do the action check updates server
2021-02-07 06:52:23.177+0000 [id=33]	INFO	o.s.c.s.AbstractApplicationContext#prepareRefresh: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@6a841fbd: display name [Root WebApplicationContext]; startup date [Sat Feb 06 22:52:23 PST 2021]; root of context hierarchy
2021-02-07 06:52:23.177+0000 [id=33]	INFO	o.s.c.s.AbstractApplicationContext#obtainFreshBeanFactory: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@6a841fbd]: org.springframework.beans.factory.support.DefaultListableBeanFactory@7785aa5c
2021-02-07 06:52:23.185+0000 [id=33]	INFO	o.s.b.f.s.DefaultListableBeanFactory#preInstantiateSingletons: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@7785aa5c: defining beans [authenticationManager]; root of factory hierarchy
2021-02-07 06:52:23.353+0000 [id=33]	INFO	o.s.c.s.AbstractApplicationContext#prepareRefresh: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@1f829aad: display name [Root WebApplicationContext]; startup date [Sat Feb 06 22:52:23 PST 2021]; root of context hierarchy
2021-02-07 06:52:23.353+0000 [id=33]	INFO	o.s.c.s.AbstractApplicationContext#obtainFreshBeanFactory: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@1f829aad]: org.springframework.beans.factory.support.DefaultListableBeanFactory@3c68d103
2021-02-07 06:52:23.353+0000 [id=33]	INFO	o.s.b.f.s.DefaultListableBeanFactory#preInstantiateSingletons: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@3c68d103: defining beans [filter,legacy]; root of factory hierarchy
2021-02-07 06:52:23.506+0000 [id=33]	INFO	jenkins.install.SetupWizard#init: 

*************************************************************
*************************************************************
*************************************************************

Jenkins initial setup is required. An admin user has been created and a password generated.
Please use the following password to proceed to installation:

9a389529ff0242d3a1ac2f2f3520f32b

This may also be found at: /root/.jenkins/secrets/initialAdminPassword

*************************************************************
*************************************************************
*************************************************************

 浏览器中访问Jenkins服务器

 

 技术图片

 

 技术图片

 

 获取管理员密码

[root@localhost ~]# cat /root/.jenkins/secrets/initialAdminPassword

 技术图片

 

CentOS8 Jenkins 安装配置

标签:Servle   following   context   highlight   logging   one   pat   div   res   

原文地址:https://www.cnblogs.com/hakulamatata/p/14385229.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!