Get the App
SLTechnology News&Howtos  ›  Development  › 

How to install Jenkins in linux system in

Shulou Source: shulou.com Published: 2022-06-01 15:01:31 10月04日 Update

This article mainly shows you "how to install Jenkins in the linux system", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "how to install Jenkins in the linux system" this article.

Jenkins is an open source, user-friendly continuous integration (CI) tool that originated from Hudson (Hudson is commercial) and is mainly used to continuously and automatically build / test software projects and monitor the operation of external tasks.

Installation environment

Operating system: linux (centOS)

Software: jdk

Software: tomcat

Software: jenkins (version 2.7.1)

Installation steps

1. Since Jenkins is based on Java, make sure that jdk is installed in the operating system before installation

Getting started with Jenkins-getting started with Jenkins installation-installation

two。 Download jenkins's war package from the official website at https://jenkins.io/

3. Press the jenkins.war package to be placed under webapps under tomcat (tomcat installation: [Linux] Tomcat installation and one server configuring multiple Tomcat)

Getting started with Jenkins-getting started with Jenkins installation-installation

4. Start tomcat. Tomcat unzips the war package, generates a jenkins folder, and generates a .Jenkins folder under the root directory. As shown below:

Getting started with Jenkins-getting started with Jenkins installation-installation

5. Enter the ip address (http://ip: port / jenkins) on the browser to access it, as shown in the figure:

Getting started with Jenkins-getting started with Jenkins installation-installation

6. To enter the password for the first time in jenkins, the password location: / root/.jenkins/secrets/initialAdminPassword

Getting started with Jenkins-getting started with Jenkins installation-installation

7. Go to the select plug-in installation interface and select the first one (Install suggested plugins)

8. After the plug-in installation is complete, you need to create the first user

9. After you create the user, you can use jenkins

Remarks

If the plug-in installation fails, you can download it manually at the image address: https://mirrors.tuna.tsinghua.edu.cn/jenkins, and then upload it through the Advanced in plug-in Management.

The above is all the contents of the article "how to install Jenkins in linux system". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: System plug-in software content address article operating system password file folder user interface learning help generation input selection advanced task location Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Apple Docker Shulou Tech Info NVidia