当前位置:网站首页>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 /?
边栏推荐
- @Validated基础参数校验、分组参数验证和嵌套参数验证
- Determine the best implementation of horizontal and vertical screens
- Is it necessary for bazel to learn
- postgis 安装地理信息扩展
- 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
- Write an interface based on flask
- int GetMonth( ) const throw( ); What does throw () mean?
- 国外LEAD美国简称对照表
- 水泥胶黏剂BS 476-4 不燃性测试
- @Validated basic parameter verification, grouping parameter verification and nested parameter verification
猜你喜欢
![Longest swing sequence [greedy practice]](/img/e1/70dc21b924232c7e5e3da023a4bed2.png)
Longest swing sequence [greedy practice]

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

使用WebAssembly在浏览器端操作Excel

LeetCode_哈希表_困难_149. 直线上最多的点数

Opérations de lecture et d'écriture pour easyexcel

MySQL 千万数据量深分页优化, 拒绝线上故障!

Five layer network protocol

第05章_存储引擎

浅聊我和一些编程语言的缘分

Evolution of zhenai microservice underlying framework from open source component encapsulation to self-development
随机推荐
PHP deserialization +md5 collision
ArcGIS\QGIS无插件加载(无偏移)MapBox高清影像图
Material design component - use bottomsheet to show extended content (II)
WPF gets the control in the datagridtemplatecolumn of the specified row and column in the DataGrid
ODPS 下一个map / reduce 准备
Teach yourself to train pytorch model to Caffe (I)
Explain various hot issues of Technology (SLB, redis, mysql, Kafka, Clickhouse) in detail from the architecture
Matplotlib drawing retouching (how to form high-quality drawings, such as how to set fonts, etc.)
终端安全能力验证环境搭建和渗透测试记录
js常用方法封装
国外LEAD美国简称对照表
Get JS of the previous day (timestamp conversion)
vant 源码解析之 utils/index.ts 工具函数
股票开户选择哪家证券公司比较好哪家平台更安全
ts 之 属性的修饰符public、private、protect
Comparison table of foreign lead American abbreviations
[daily training -- Tencent select 50] 89 Gray code (only after seeing the solution of the problem)
Simple getting started example of Web Service
R language [data management]
MYSQL IFNULL使用功能