当前位置:网站首页>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 /?
边栏推荐
- Influence of oscilloscope probe on measurement bandwidth
- R language [data management]
- selenium 查找b或p标签的内容
- 基于flask写一个接口
- 【日常训练】729. 我的日程安排表 I
- Mode - "Richter replacement principle"
- ArcGIS\QGIS无插件加载(无偏移)MapBox高清影像图
- leetcode:1755. 最接近目标值的子序列和
- Enclosed please find. Net Maui's latest learning resources
- Introduction of ArcGIS grid resampling method
猜你喜欢
Two ways to realize video recording based on avfoundation
Wood board ISO 5660-1 heat release rate mapping test
基于vertx-web-sstore-redis的改造实现vertx http应用的分布式session
学习机器人无从下手?带你体会当下机器人热门研究方向有哪些
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
木板ISO 5660-1 热量释放速率摸底测试
浅聊我和一些编程语言的缘分
Five layer network protocol
Arcgis\qgis no plug-in loading (no offset) mapbox HD image map
秋招将临 如何准备算法面试、回答算法面试题
随机推荐
ArcGIS\QGIS无插件加载(无偏移)MapBox高清影像图
Learning robots have no way to start? Let me show you the current hot research directions of robots
Postgres establish connection and delete records
Material design component - use bottomsheet to show extended content (II)
Écrire une interface basée sur flask
Longest swing sequence [greedy practice]
Is Kai Niu 2980 useful? Is it safe to open an account
示波器探头对测量带宽的影响
Five layer network protocol
Determine the best implementation of horizontal and vertical screens
水泥胶黏剂BS 476-4 不燃性测试
[case] Application of element display and hiding -- element mask
[daily training] 729 My schedule I
wpf 获取datagrid 中指定行列的DataGridTemplateColumn中的控件
Matplotlib drawing retouching (how to form high-quality drawings, such as how to set fonts, etc.)
Wood board ISO 5660-1 heat release rate mapping test
LeetCode_哈希表_困难_149. 直线上最多的点数
Is it necessary for bazel to learn
Haas506 2.0 development tutorial - Alibaba cloud OTA - PAC firmware upgrade (only supports versions above 2.2)
Establishment of terminal security capability verification environment and penetration test records