当前位置:网站首页>Deployment of Jenkins under win7
Deployment of Jenkins under win7
2022-07-05 21:14:00 【hunanying】
One 、 Preparation before installation :
1.jdk Installation :
Download address :https://www.oracle.com/cn/java/technologies/javase/javase-jdk8-downloads.html
After downloading the installation package , Follow the prompts to install step by step , There are two installation path choices during the installation process , The first is jdk The installation path , The second, jre The installation path ( If you don't choose the path twice , Then the installation is incorrect )
A、cmd Console , Input Java -version, Don't complain , The version number can be displayed normally
B、cmd Console , Input javac, Don't complain
solve Javac It's not an internal command problem :path Using absolute paths 
// Environmental variables involved , have access to echo %JAVA_HOME%\bin; The way in cmd Print above
2.Tomcat Installation ( Follow the instructions to install , See the online saying about configuring environment variables , Currently, there is no online configuration )
Download address :https://tomcat.apache.org/
Two 、jekein install ( Recommended mirroring mis Installation package download , Good continuous integration )
A、 Image download address :http://ftp-chi.osuosl.org/pub/jenkins/windows-stable/2.277.2/jenkins.msi
A、war File download :https://www.jenkins.io/download/
4.Jenkins There are two ways to start : Both in cmd Start in
1、java -jar jenkins.war When the mode is started, it will be generated in the user's directory .Jenkins Directory as the default working directory 【C:\Users\Administrator.jenkins】
2、net start jenkins The working directory for mode startup is jenkins Installation directory jenkins.xml Configuration in progress "JENKINS_HOME" Determined by , Default working directory %BASE% namely Jenkins Installation directory .
5.、Jenkins The closing of the :
Browser input http://localhost:8080/exit, It can be turned off , Starting can also be done in this way
Or use ,net stop jenkins
6Jenkins. Boot failure ( It stops immediately after starting , May be occupied by port – Check the log under the root directory , Baidu found that the port is occupied ):
A、 Use netstat -ano Command to view the process occupying the port
B、 Use taskkill Command delete process , Refer to taskkill /?
边栏推荐
- hdu2377Bus Pass(构建更复杂的图+spfa)
- 【日常训练】729. 我的日程安排表 I
- Evolution of zhenai microservice underlying framework from open source component encapsulation to self-development
- 基於flask寫一個接口
- ViewRootImpl和WindowManagerService笔记
- 木板ISO 5660-1 热量释放速率摸底测试
- Chapter 05_ Storage engine
- EN 438-7 laminated sheet products for building covering decoration - CE certification
- Mode - "Richter replacement principle"
- [daily training -- Tencent select 50] 89 Gray code (only after seeing the solution of the problem)
猜你喜欢

Clion-MinGW编译后的exe文件添加ico图标

LeetCode_ Hash table_ Difficulties_ 149. Maximum number of points on the line

Who the final say whether the product is good or not? Sonar puts forward performance indicators for analysis to help you easily judge product performance and performance

Learning robots have no way to start? Let me show you the current hot research directions of robots

Why can't Chinese software companies produce products? Abandon the Internet after 00; Open source high-performance API gateway component of station B | weekly email exclusive to VIP members of Menon w

EN 438-7 laminated sheet products for building covering decoration - CE certification

实现浏览页面时校验用户是否已经完成登录的功能

leetcode:1139. The largest square bounded by 1

请查收.NET MAUI 的最新学习资源

Wood board ISO 5660-1 heat release rate mapping test
随机推荐
ts 之 类的简介、构造函数和它的this、继承、抽象类、接口
js常用方法封装
bazel是否有学习的必要
Add ICO icon to clion MinGW compiled EXE file
Haas506 2.0 development tutorial - Alibaba cloud OTA - PAC firmware upgrade (only supports versions above 2.2)
Is it necessary for bazel to learn
Mode - "Richter replacement principle"
Matplotlib drawing retouching (how to form high-quality drawings, such as how to set fonts, etc.)
Test of incombustibility of cement adhesives BS 476-4
Vant source code parsing event Detailed explanation of TS event processing global function addeventlistener
Utils/index TS tool function
leetcode:1755. 最接近目标值的子序列和
Selenium finds the contents of B or P Tags
Talk about my fate with some programming languages
【案例】元素的显示与隐藏的运用--元素遮罩
selenium 获取dom内属性值的方法
校招期间 准备面试算法岗位 该怎么做?
ViewRootImpl和WindowManagerService笔记
Reading and writing operations of easyexcel
php中explode函数存在的陷阱