Directory
An environment
System environment
Software Environment
Software version
Two-Installation
1. Download
2. Installation
Three-proof
Body
An environment
1.1 System Environment CENTOS 6.5 64-bit
[Email protected] conf]# lsb_release-alsb Version:: Base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch: Graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarchdistributor id:centosdescription: CentOS Release 6.6 (Final) release:6.6codename:final[[email protected] conf]#
1.2 Software Environment
JDK 1.6,tomcat 7.0.63
1.3 Software version
Jenkins v1.596
Two-Installation
2.1 Downloads
Official website http://mirrors.jenkins-ci.org/war-stable/1.596.2/
Baidu Network disk: Link: http://pan.baidu.com/s/1gd6iM7h Password: 2y3n
2.2 Installation
2.2.1 Dependent Software Installation
http://my.oschina.net/u/234018/blog/498118
http://my.oschina.net/u/234018/blog/501367
2..2.2 Jenkins Installation
Direct the Jenkins.war CP to the Apache-tomcat-7.0.63/webapps directory
[[email protected] webapps]# pwd/usr/local/apache-tomcat-7.0.63/webapps[[email protected] webapps]# lltotal 66644drwxr-xr-x 14 root root 4096 aug 25 09:50 docsdrwxr-xr-x 7 root root 4096 Aug 25 09:50 examplesdrwxr-xr-x 5 root root 4096 aug 25 09:50 host-managerdrwxr-xr-x 16 root root 4096 aug 30 11:28 jenkins-rw-r--r-- 1 root root 68217618 Aug 25 14:58 jenkins.wardrwxr-xr-x 5 root root 4096 aug 25 09:50 managerdrwxr-xr-x 3 Root root 4096 aug 25 09:50 root[[email protected] roxy-pa-1 webapps]#
2.2.3 Configuring environment variables (personal feel dispensable, not tested for validation)
/etc/profile add
Export Jenkins_home=/usr/local/apache-tomcat-7.0.63/webapps/jenkins
2.2.4 Rebooting Tomcat
Three-proof
Visit the following URL
http://x.x.x.x:8080/jenkins/
Ps:jenkins is dependent on the Tomcat version and the JDK version. I just started the version is incompatible, went a half-day detour.
CENTOS Installation Jenkins