Linux CentOS Installation Jenkins

Source: Internet
Author: User

Reprint: http://itjh.net/2016/04/26/centos-install-jenkins/

Jenkins is an open source project that provides an easy-to-use, continuous integration system that frees developers from complex integrations and focuses on more important business logic implementations. At the same time, Jenkins can implement errors in monitoring integration, provide detailed log files and reminders, and graphically display the trend and stability of project construction in the form of graphs.

Centos 6.7Jenkins 2.0

Yum Install Jenkins
  • jenkins yum The source file that was created

    $ vim /etc/yum.repos.d/jenkins.repo

    In jenkins.repo , add the following:

    [jenkins]name=Jenkinsbaseurl=http://pkg.jenkins-ci.org/redhatgpgcheck=1
  • rpmIncrease jenkins The source'skey

    $ sudo rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key
  • Installationjenkins

    install jenkins
  • Installation Successful

  • Configuring the Jenkins File

    The main configuration jenkins of the running port and listening port, as well as the startup user, the configuration file address is /etc/sysconfig/jenkins , the following is the main modification content:

    Vim/etc/sysconfig/jenkins
    # Modify startup user as root, default to Jenkins
    jenkins_user="Root"
    # Modify the run port to 9999, default to 8080
    jenkins_port="9999"
  • Startjenkins

    sudo service Jenkins start
Configuration Jenkins
    • Open Jenkins Page

      http://192.168.16.190:9999

    • Initial boot requires a password

      Password file /var/lib/jenkins/secrets/initialAdminPassword , and then fill in the Click Continue .

    • Select Install

    • Install ing

      ?

      Log file/var/log/jenkins/jenkins.log

    • Installation successfully created first user

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