Linux Learning---Installing Jenkins under Linux system

Source: Internet
Author: User

1. First prepare the Java environment, install the JDK

2. Download Jenkins to Linux server: https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Red+Hat+distributions# Installingjenkinsonredhatdistributions-importantnoteoncentosjava on Demand: Latest version or stable version

Choose the latest version here, use the Yum mode to download and install sudo wget-o/etc/yum.repos.d/jenkins.repoHttp://pkg.jenkins-ci.org/redhat/jenkins.reposudo rpm--importHttps://jenkins-ci.org/redhat/jenkins-ci.org.keysudo yum install Jenkins (there may be yum when the error, error reasons or because the upgrade python3 caused, modify the first line of the corresponding file, the python changed to Python2 can be, concrete operation see http://www.cnblogs.com/zhangxue521/ p/8335990.html)

Time is a bit long and needs to wait a while, when you see the Jenkins version and the complete word, it's already installed.

3. Next Configure the Jenkins portVi/etc/sysconfig/jenkins find/jenkins_port, modify jenkins_port= "8080", Default to "8080", I modified in order to 8088

4. Start JenkinsEnter "Service Jenkins restart",

enter access in the browser/HTTP//Your ip:8088Enter the page as follows

Then copy the red path, enter the VI red path in the terminal, and copy the password from the file to the password of the page. Go on

will be prompted to install the plug-in, choose to install the recommended plug-in, let it install automatically, and then go to the following page

Enter your administrator information so that Jebkins installation is complete

Linux Learning---Installing Jenkins under Linux system

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.