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

安装Jenkins

时间:2018-06-12 23:33:19      阅读:348      评论:0      收藏:0      [点我收藏+]

标签:.com   web   latest   cal   eric   roo   cti   color   查看   

前提条件: 已经成功安装并配置了Tomcat + JDK + Mysql, 可参考: https://www.cnblogs.com/alicegu2009/p/9174134.html

1. Open https://jenkins.io/download/

2. Download Generic Java package (.war)

3. Copy the war to Ubutu machine under: /usr/local/apache-tomcat-9.0.8/webapps

4. Start tomcat, 查看启动日志:

root@agu:/usr/local/apache-tomcat-9.0.8/bin# ./startup.sh 


root@agu:/usr/local/apache-tomcat-9.0.8/logs# tail -f catalina.out 

root@agu:/usr/local/apache-tomcat-9.0.8/bin# cat /root/.jenkins/secrets/initialAdminPassword

5. Access Jenkins with http://<ip>:8080/jenkins/ (e.g. http://47.100.190.114:8080/jenkins/), need sdmin password to unlock.

6. Find the password and copy the password and paste it:

root@agu:/usr/local/apache-tomcat-9.0.8/bin# cat /root/.jenkins/secrets/initialAdminPassword

 

安装Jenkins

标签:.com   web   latest   cal   eric   roo   cti   color   查看   

原文地址:https://www.cnblogs.com/alicegu2009/p/9175512.html

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