IT数码 购物 网址 头条 软件 日历 阅读 图书馆
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
图片批量下载器
↓批量下载图片,美女图库↓
图片自动播放器
↓图片自动播放器↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁
 
   -> Java知识库 -> How to install/run Jenkins on Apache Tomcat Serve -> 正文阅读

[Java知识库]How to install/run Jenkins on Apache Tomcat Serve

Total Steps:

  1. Step1, Download java 8 or 11 as Jenkins supports that
  2. Step2, Download Apache Tomcat Server
  3. Step3, Download Jenkins.war file
  4. Step4, Copy Jenkins.war to "webapps" folder of folder of Apache Tomcat Server
  5. Step5, Start Apache Tomcat Server
  6. Step6, Hit Tomcat URL
  7. Step7, Launch Jenkins from Apache URL
  8. Step8, Install plugins
  9. Step9, Shutdown running Tomcat server

Step1, Download java 8 or 11 as Jenkins supports that

Step2, Download Apache Tomcat Server

  • download:https://tomcat.apache.org/
  • select proper version and platform(windows or linux or mac)
  • if windows then could select core : "64-bit_windows_zip"


Step3, Download Jenkins.war file

  • download:?https://www.jenkins.io/download/
  • select/choose "Generic Java package(.war)" to download in part "Long-term Support(LTS)"

Step4, Copy Jenkins.war to "webapps" folder of folder of Apache Tomcat Server

  • find "webapps" folder in?Apache Tomcat (ex: apache-tomcat-9.0xxx-windows-x64)
  • copy "Jenkins.war" to "webapps" of?Apache Tomcat?(ex: apache-tomcat-9.0xxx-windows-x64)

Step5, Start Apache Tomcat Server

  • startup – To start tomcat server. By default it starts at 8080 port
  • shutdown – To shutdown running tomcat server
  • change default port 8080 to any port(ex:8010). if not change, it will conflict and prompt Error.
  • how to change port? solution is: 1) go to?conf folder in Apache tomcat folder 2) find server.xml file,content like?<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />. 3) only change port ="8080" to "8010"
  • click "startup.bat" to start server, and it will deploy Jenkins.war file as well.?
  • Note: as first setup Jenkins, an initial passord like "daf9aaxxxxxxxxxxxxx" will be provided to unlock jenkins in console(also include the password path stored), keep the password in mind.?A?new folder "jenkins" is created in "webapps"

Step6, Hit Tomcat URL - (localhost:8080)

  • Open a browser and input localhost:8080

Step7, Launch Jenkins from Apache URL

  • Unlock Jenkins page will be prompted. find initial password "daf9aaxxxxxxxxxxxxx" according to page prompted path OR?get the information from?Step5. Then Input it.

Step8, Install plugins

  • It will ask you to Customize jenkins by installing a good number of plugins. You can manually choose or install all suggested plugins. I will recommend to go for “Install suggested plugins
  • Plugin installation will take time. Let it be completed. Now it will ask you to create first admin user.?Set Username and passowd then keep it in mind. then create and click on “Save and Continue” button.
  • Go through steps, then "Jenkins is ready!", click "Start using Jenkins", then "Welcome to Jenkins!" will be showed.?
  Java知识库 最新文章
计算距离春节还有多长时间
系统开发系列 之WebService(spring框架+ma
springBoot+Cache(自定义有效时间配置)
SpringBoot整合mybatis实现增删改查、分页查
spring教程
SpringBoot+Vue实现美食交流网站的设计与实
虚拟机内存结构以及虚拟机中销毁和新建对象
SpringMVC---原理
小李同学: Java如何按多个字段分组
打印票据--java
上一篇文章      下一篇文章      查看所有文章
加:2022-03-10 22:17:51  更:2022-03-10 22:18:15 
 
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁

360图书馆 购物 三丰科技 阅读网 日历 万年历 2024年11日历 -2024/11/24 11:27:37-

图片自动播放器
↓图片自动播放器↓
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
图片批量下载器
↓批量下载图片,美女图库↓
  网站联系: qq:121756557 email:121756557@qq.com  IT数码