Author: alonesword
Contact: http://blog.csdn.net/alonesword/
Http://www.cnblogs.com/alonesword/
(This article is published in the blog and csdn at the same time. If you need to reprint it, keep its author as its source)
Jenkins is developed in Java and requires support from JRE (JDK). (Note: I still don't know the difference between JRE and JDK >_<). It must support distributed deployment, therefore, Jenkins is deployed directly. jar package installation.
(1) Preparations
Check that the Jenkins machine has installed the following software.
Software name |
Version |
|
JRE or JDK |
1.4 + |
|
Apache Tomcat |
6.0.26 |
|
|
|
|
(2) Environment check
1. Verify the Java environment
Open cmd Input
Shown below
Indicates that Java is successfully installed. The Java version is 1.6.0.
2. Verify the apachetomcat Environment
Open IE and enter the Tomcat address (the default installation is http: // localhost: 8080 /).
Tomcat is successfully installed.
(3) Jenkins Installation
1. Go to the Jenkins official website to download the jenkins-1.432 Installation File Jenkins. War
2. Copy Jenkins. War to the $ {apache_tomcat_home}/webapps directory.
3. Restart Tomcat
4. Verify that Tomcat is started normally.
5. If Tomcat is started properly, enter http: // localhost: 8080/Jenkins. If you can see the following page, congratulations, Jenkins has been installed successfully.
(4) Conventions
$ {Apache_tomcat_home} indicates the installation directory of apachetomcat.
(5) References
Installingjenkins
Install Jenkins