CENTOS Installation Jenkins

Source: Internet
Author: User

Directory

An environment

    1. System environment

    2. Software Environment

    3. 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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.