当前位置:网站首页>Jenkins learning (I) -- Jenkins installation
Jenkins learning (I) -- Jenkins installation
2022-07-03 09:14:00 【Fill your head with water】
install
Linux Next Jenkins install
Download address :https://jenkins.io/download/
1. Here, download and install on the server , Enter the following command to install the download dependency :
sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
# Enter the command if :command not found!
# Need to install wget, Enter the following command to use yum install wget:
# yum -y install wget
2. Install the secret key
sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
3. install
yum install epel-release # repository that provides 'daemonize'
yum install jenkins
# If the version number is displayed, the installation is successful
4. Modify port number ( Default 8080, It can be left unchanged )
vi /etc/sysconfig/jenkins
5. An error will be reported when running directly
# service jenkins restart
yes jdk Reasons for configuration
6. To configure jdk The installation directory ( Subject to your own installation directory )( See the picture below ):
vi /etc/init.d/jenkins Fill in your own jdk The installation path /bin/java
5. restart
service jenkins restart
Stop running :service jenkins stop
Tuo :
restart :http://ip:8080/restart
stop it :http://ip:8080/stop
Here's the picture The successful
jenkins Definition of relevant catalogue :
/usr/lib/jenkins/ | jenkins The installation directory ,war The bag will be here . |
/etc/sysconfig/jenkins | jenkins The configuration file ,“ port ”,“JENKINS_HOME” You can configure it here . |
/var/lib/jenkins/ | default JENKINS_HOME. |
/var/log/jenkins/jenkins.log | jenkins Log files . |
To configure
linux install jenkins After that, a system named initialAdminPas sword Documents , Open it with notepad , Copy the contents inside .
Next, you will see whether to download the recommended plug-ins , Click skip plug-in installation
Be careful :
To avoid port occupation , It is suggested that 8080 Ports should be uncommon ports
If the change fails , Open the terminal ,cd To Jenkins Installation directory ( namely jenkins.war In the directory ), Mine is /usr/lib/jenkins Execute the following command :
java -jar jenkins.war --ajp13Port=-1 --httpPort=8081
边栏推荐
- Save the drama shortage, programmers' favorite high-score American drama TOP10
- LeetCode 513. Find the value in the lower left corner of the tree
- LeetCode 324. 摆动排序 II
- Memory search acwing 901 skiing
- The method of replacing the newline character '\n' of a file with a space in the shell
- Six dimensional space (C language)
- 【点云处理之论文狂读经典版12】—— FoldingNet: Point Cloud Auto-encoder via Deep Grid Deformation
- 【点云处理之论文狂读经典版13】—— Adaptive Graph Convolutional Neural Networks
- 【点云处理之论文狂读经典版10】—— PointCNN: Convolution On X-Transformed Points
- 【点云处理之论文狂读经典版8】—— O-CNN: Octree-based Convolutional Neural Networks for 3D Shape Analysis
猜你喜欢
20220630 learning clock in
LeetCode 30. Concatenate substrings of all words
LeetCode 715. Range module
【毕业季|进击的技术er】又到一年毕业季,一毕业就转行,从动物科学到程序员,10年程序员有话说
Gaussian elimination acwing 883 Gauss elimination for solving linear equations
Introduction to the basic application and skills of QT
LeetCode 513. 找树左下角的值
【点云处理之论文狂读前沿版11】—— Unsupervised Point Cloud Pre-training via Occlusion Completion
LeetCode 1089. 复写零
State compression DP acwing 291 Mondrian's dream
随机推荐
Education informatization has stepped into 2.0. How can jnpf help teachers reduce their burden and improve efficiency?
LeetCode 30. Concatenate substrings of all words
Use the interface colmap interface of openmvs to generate the pose file required by openmvs mvs
【点云处理之论文狂读经典版12】—— FoldingNet: Point Cloud Auto-encoder via Deep Grid Deformation
[point cloud processing paper crazy reading classic version 9] - pointwise revolutionary neural networks
Parameters of convolutional neural network
[point cloud processing paper crazy reading classic version 14] - dynamic graph CNN for learning on point clouds
2022-2-13 learn the imitation Niuke project - Project debugging skills
树形DP AcWing 285. 没有上司的舞会
Common penetration test range
Sword finger offer II 091 Paint the house
LeetCode 241. 为运算表达式设计优先级
【点云处理之论文狂读经典版13】—— Adaptive Graph Convolutional Neural Networks
Install third-party libraries such as Jieba under Anaconda pytorch
What are the stages of traditional enterprise digital transformation?
Using variables in sed command
Recommend a low code open source project of yyds
【点云处理之论文狂读前沿版10】—— MVTN: Multi-View Transformation Network for 3D Shape Recognition
MySQL installation and configuration (command line version)
传统办公模式的“助推器”,搭建OA办公系统,原来就这么简单!