Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Jenkins in linux system in

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report