当前位置:网站首页>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 /?
边栏推荐
- 2022-07-03-CKA-粉丝反馈最新情况
- 校招期间 准备面试算法岗位 该怎么做?
- Postgres establish connection and delete records
- Matplotlib drawing retouching (how to form high-quality drawings, such as how to set fonts, etc.)
- 基於flask寫一個接口
- postgis 安装地理信息扩展
- MySQL ifnull usage function
- 终端安全能力验证环境搭建和渗透测试记录
- Golang(1)|从环境准备到快速上手
- Add ICO icon to clion MinGW compiled EXE file
猜你喜欢
leetcode:1755. Sum of subsequences closest to the target value
Chapter 05_ Storage engine
Five layer network protocol
Introduction of ArcGIS grid resampling method
浅聊我和一些编程语言的缘分
Phpstudy Xiaopi's MySQL Click to start and quickly flash back. It has been solved
显示器要申请BS 476-7 怎么送样?跟显示屏一样吗??
PVC 塑料片BS 476-6 火焰传播性能测定
The transformation based on vertx web sstore redis to realize the distributed session of vertx HTTP application
Golang(1)|从环境准备到快速上手
随机推荐
Golang(1)|从环境准备到快速上手
PostGIS installation geographic information extension
【日常训练--腾讯精选50】89. 格雷编码(看题解才会的)
序列联配Sequence Alignment
树莓派4B上ncnn转换出来的模型调用时总是崩溃(Segment Fault)的原因
Simple getting started example of Web Service
示波器探头对测量带宽的影响
Longest swing sequence [greedy practice]
[case] Application of element display and hiding -- element mask
PHP deserialization +md5 collision
基於flask寫一個接口
当用户登录,经常会有实时的下拉框,例如,输入邮箱,将会@qq.com,@163.com,@sohu.com
Vant source code parsing event Detailed explanation of TS event processing global function addeventlistener
Pytoch practice -- MNIST dataset handwritten digit recognition
leetcode:1755. Sum of subsequences closest to the target value
Selenium's method of getting attribute values in DOM
int GetMonth( ) const throw( );后面的throw( )什么意思?
Aitm 2-0003 horizontal combustion test
Postgres establish connection and delete records
Talk about my fate with some programming languages