Install Jenkins in Linux (1), jenkinslinux
Jenkins Introduction
Jenkins is a Java-based continuous integration tool used to monitor continuous repetitive work. features include:
1. Continuous software version release/test projects. 2. Monitor the execution of external calls. Installation environment
Operating System: linux (centOS)
Software: jdk
Software: tomcat
Software: jenkins (version 2.7.1)
Installation Steps
1. Because Jenkins is developed based on Java, make sure that jdk has been installed on the operating system before installation. For details, see [Linux] JDK installation and configuration (tar.gz) and tomcat installation.
2. Download jenkins war package from official website, address https://jenkins.io/
3. Press the jenkins. war package and place it in tomcat (tomcat installation: [Linux] JDK installation and configuration (tar.gz) and webapps under tomcat installation
4. start tomcat. Tomcat will decompress the war package, generate a jenkins folder, and generate a. jenkins folder under the root directory. For example:
5. Enter an ip address (http: // ip: Port/jenkins) in the browser to access the service,
6. Enter the password when entering jenkins for the first time. Password location:/root/. jenkins/secrets/initialAdminPassword
7. Go to the select plug-in installation page and select the first (Install suggested plugins)
8. After the plug-in is installed, you need to create the first user
9. After creating a user, you can use jenkins.
Remarks
If the plug-in fails to be installed, go to the image address: plugin