码迷,mamicode.com
首页 > 其他好文 > 详细

jenkins安装

时间:2016-09-25 18:45:22      阅读:143      评论:0      收藏:0      [点我收藏+]

标签:

 

Jenkins下载:

http://pkg.jenkins-ci.org/redhat-stable/

 

安装:

https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Red+Hat+distributions

 

环境:

jdk:
  1.7 +


[root@super66 ~]# wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
[root@super66 ~]# rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key
[root@super66 ~]# yum install -y jenkins


[root@super66 ~]# rpm -ivh jenkins-1.609.2-1.1.noarch.rpm
Preparing... ########################################### [100%]
1:jenkins ########################################### [100%]

[root@super66 ~]# rpm -ivh jenkins-2.7.4-1.1.noarch.rpm
Preparing... ########################################### [100%]
1:jenkins ########################################### [100%]


[root@super66 ~]# /etc/init.d/jenkins start
Starting Jenkins [ OK ]
[root@super66 ~]# ps -ef|grep jen
jenkins 10491 1 49 15:40 ? 00:00:04 /etc/alternatives/java -Dcom.sun.akuma.Daemon=daemonized -Djava.awt.headless=true -DJENKINS_HOME=/var/lib/jenkins -jar /usr/lib/jenkins/jenkins.war --logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war --daemon --httpPort=8080 --ajp13Port=8009 --debug=5 --handlerCountMax=100 --handlerCountMaxIdle=20
root 10510 9133 0 15:40 pts/2 00:00:00 grep jen

[root@super66 ~]# netstat -antup|grep 8080
tcp 0 0 :::8080 :::* LISTEN 10491/java

 

 

http://192.168.1.66:8080/

 

技术分享

技术分享

 

 

 自动化部署之路还很长呢!!!

 

jenkins安装

标签:

原文地址:http://www.cnblogs.com/fanxuanhui/p/5906306.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!