jenkins 安装

1
2
 1.基础环境
 yum install java-1.8.0-openjdk java-1.8.0-openjdk-devel  -y
1
<a href="https://mirrors.tuna.tsinghua.edu.cn/jenkins/redhat-stable/" target="_blank" style="color: rgb(66, 133, 244);">https://mirrors.tuna.tsinghua.edu.cn/jenkins/redhat-stable/<br>包  百度云tmp<br></a><br><br>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 [root@192 ~]# rpm -ivh  jenkins-2.32.3-1.1.noarch.rpm 
warning: jenkins-2.32.3-1.1.noarch.rpm: Header V4 DSA/SHA1 Signature, key ID d50582e6: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:jenkins-2.32.3-1.1               ################################# [100%]
[root@192 ~]
 
 
[root@192 ~]# service jenkins status 
● jenkins.service - LSB: Jenkins Continuous Integration Server
   Loaded: loaded (/etc/rc.d/init.d/jenkins; bad; vendor preset: disabled)
   Active: inactive (dead)
     Docs: man:systemd-sysv-generator(8)
[root@192 ~]# service jenkins start 
Starting jenkins (via systemctl):                          [  OK  ]
[root@192 ~]#
 
修改jenkins 默认的用户 以及端口
[root@192 jenkins]# rpm -ql jenkins 
/etc/init.d/jenkins
/etc/logrotate.d/jenkins
/etc/sysconfig/jenkins  #在此文件中
/usr/lib/jenkins
/usr/lib/jenkins/jenkins.war
/usr/sbin/rcjenkins
/var/cache/jenkins
/var/lib/jenkins
/var/log/jenkins
[root@192 jenkins]#









本文转自 小小三郎1 51CTO博客,原文链接:http://blog.51cto.com/wsxxsl/1922910,如需转载请自行联系原作者
上一篇:9.ES6-set去重


下一篇:运维小知识---CentOS6.5安装Jenkins