In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
Today I will show you how to deploy Jenkins under the Linux system. The content of the article is good. Now I would like to share it with you. Friends who feel in need can understand it. I hope it will be helpful to you. Let's read it along with the editor's ideas.
Jenkins is an open source software project, which is a continuous integration tool based on Java development, which is used to monitor continuous repetitive work. It aims to provide an open and easy-to-use software platform and make continuous integration possible.
Install JDK
Yum install-y java
Install jenkins
Add the Jenkins library to the yum library, where Jenkins will download and install.
Wget-O / etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.reporpm-- import https://pkg.jenkins.io/redhat-stable/jenkins.io.keyyum install-y jenkins
If you can't install it, go to the official website to download jenkis's rmp package, the official website address (http://pkg.jenkins-ci.org/redhat-stable/).
Wget http://pkg.jenkins-ci.org/redhat-stable/jenkins-2.7.3-1.1.noarch.rpmrpm-ivh jenkins-2.7.3-1.1.noarch.rpm1 wget http://pkg.jenkins-ci.org/redhat-stable/jenkins-2.7.3-1.1.noarch.rpmrpm-ivh jenkins-2.7.3-1.1.noarch.rpm
Configure the port of jenkis
Vi / etc/sysconfig/jenkins found the modified port number: JENKINS_PORT= "8080"
Start jenkins
Systemctl start jenkinssystemctl enable jenkins
After successful installation, Jenkins will start with the system as a daemon
The system creates a "jenkins" user to allow the service. If the owner of the service is changed, the owners of / var/log/jenkins, / var/lib/jenkins, and / var/cache/jenkins need to be modified.
Configuration parameters will be obtained from / etc/sysconfig/jenkins at startup
By default, Jenkins runs on port 8080, which is accessed directly in the browser for service configuration
Jenkins's RPM repository configuration is added to / etc/yum.repos.d/jenkins.repo
Open jenkins
Access in the browser
The initial password will be required for the first time entry as shown below
The initial password is: / var/lib/jenkins/secrets/initialAdminPassword
Select "Install suggested plugins" to install the default plug-in, and Jenkins will download the relevant plug-in to install it.
Create a Super Admin account
These are all the contents of how to deploy Jenkins under the Linux system. For more content related to how to deploy Jenkins under the Linux system, you can search the previous articles or browse the following articles to learn! I believe the editor will add more knowledge to you. I hope you can support it!
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.