当前位置:网站首页>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 /?
边栏推荐
- 《SAS编程和数据挖掘商业案例》学习笔记# 19
- Postgres establish connection and delete records
- Aitm 2-0003 horizontal combustion test
- Is Kai Niu 2980 useful? Is it safe to open an account
- 实现浏览页面时校验用户是否已经完成登录的功能
- 让开发效率飞速提升的跨端方案
- 树莓派4B上ncnn转换出来的模型调用时总是崩溃(Segment Fault)的原因
- Chapter 05_ Storage engine
- int GetMonth( ) const throw( ); What does throw () mean?
- LeetCode_哈希表_困难_149. 直线上最多的点数
猜你喜欢

PHP deserialization +md5 collision

显示屏DIN 4102-1 Class B1防火测试要求

秋招将临 如何准备算法面试、回答算法面试题

Teach yourself to train pytorch model to Caffe (III)

Golang (1) | from environmental preparation to quick start

Phpstudy Xiaopi's MySQL Click to start and quickly flash back. It has been solved

Golang(1)|从环境准备到快速上手

示波器探头对信号源阻抗的影响

leetcode:1755. 最接近目标值的子序列和

Clion-MinGW编译后的exe文件添加ico图标
随机推荐
【日常训练】729. 我的日程安排表 I
The transformation based on vertx web sstore redis to realize the distributed session of vertx HTTP application
CareerCup它1.8 串移包括问题
vant 源码解析 event.ts 事件处理 全局函数 addEventListener详解
How to send samples when applying for BS 476-7 display? Is it the same as the display??
Learning notes of SAS programming and data mining business case 19
selenium 获取dom内验证码图片
浅聊我和一些编程语言的缘分
2022-07-03-CKA-粉丝反馈最新情况
[daily training -- Tencent select 50] 89 Gray code (only after seeing the solution of the problem)
显示器要申请BS 476-7 怎么送样?跟显示屏一样吗??
LeetCode_哈希表_困难_149. 直线上最多的点数
Dictionary tree simple introductory question (actually blue question?)
Modifiers of attributes of TS public, private, protect
LeetCode: Distinct Subsequences [115]
概率论机器学习的先验知识(上)
Teach yourself to train pytorch model to Caffe (I)
wpf 获取datagrid 中指定行列的DataGridTemplateColumn中的控件
Establishment of terminal security capability verification environment and penetration test records
[case] Application of element display and hiding -- element mask