Install Jenkins under CentOS easy to fix

Source: Internet
Author: User

Jenkins installs the following steps:

Command: Yum-y list java*

Yum-y Install java-1.7.0-openjdk.x86_64 --------Build the JDK environment

Java

wget Http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo-O/etc/yum.repos.d/ Epel-apache-maven.repo

wget http://pkg.jenkins-ci.org/redhat-stable/jenkins-2.7.3-1.1.noarch.rpm

Yum-y Install Apache-maven

Ls

RPM-IVH jenkins-2.7.3-1.1.noarch.rpm

        vim/etc/sysconfig/jenkins                 and nbsp                          ,         &NB Sp                          ,         &NB Sp                --------Modify profile with default port of 8080, no need to modify if not conflicting         & nbsp                          ,         &NB Sp        

Service Jenkins Restart ----------Start the Jenkins service

Vim/var/lib/jenkins/secrets/initialadminpassword ----------View the Jenkins password and copy it

Next start the port service in the browser, enter the Jenkins password to download the relevant software package

Install Jenkins under CentOS easy to fix

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.