In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you "how to solve Jenkins installation problems", 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 solve Jenkins installation problems" this article.
Show that it is starting, please wait a moment.
During the installation of Jenkins, we often encounter that the installation of Jenkins has been stuck due to the lack of normal access to the Jenkins plug-in source, which shows that it is starting, please wait a moment. At this point, we have to change the plug-in source in order to successfully enter the installation process. In the jenkins2.241 version, the way to change the plug-in source is:
Vim / .jenkins/hudson.model.UpdateCenter.xml
# change the address in the label to: http://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json, after change to:
Cat / .jenkins/hudson.model.UpdateCenter.xml
Default
Http://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json
In this way, restart Jenkins to enter the installation of the plug-in.
Installation of 73 plugins in 1 hr 26 min
When initializing the installation of the version Jenkins2.241, select the checked plug-ins, including the dependencies between plug-ins. A total of 73 plug-ins are installed, which takes a total of time to install 1h36min, such as the following log of installing plug-ins:
2020-06-26 10 hr 53 hr 22.921 0000 [id=67] INFO h.m.UpdateCenter$CompleteBatchJob#run: Completed installation of 73 plugins in 1 hr 26 min
I think I should just go through this once. What should I do the next time I need to install it? It is recommended to keep a copy of its plug-in, and the next time you install it, put its plugins directory in the data directory of the Jenkins that needs to be installed, and if it is installed by the Docker container, you can mount it to the container, so that the installation process becomes very fast.
Localization: Chinese (Simplified)
To solve the problem of slow downloading of plug-ins, there are several opportunistic ways:
Copy plug-in
The solution scenario is to avoid the problem that Jenkins is slow under plug-ins with basic functions during installation, and another is that you can also use this way to install Jenkins during migration.
Replace the plug-in source
Most people on the Internet recommend using the Tsinghua plug-in [1] source to download the plug-in, but it is still a little slow after testing, but it is really better than the default.
Solve the last kilometer of the download
Around 2019.11, the domestic mirror source of the Jenkins Chinese community has been released. Specifically, you can see the Jenkins Chinese community blog [2]. More background information is not explained here, but the speed of downloading the plug-in has to be said to be almost imperceptible. when you select the plug-in to install, refresh the browser and show that the installation is complete. First search for the following plug-ins in the plug-in availability zone
After the installation is completed, the words of the Chinese community will be displayed in the lower left corner of the home page of Jenkins
After clicking in, you will see the plug-in source of the Chinese community, and then set up and update the central address.
Finally, after setting the address of the play plug-in, click to get it immediately to see if it is normal.
This basically solves all kinds of troubles caused by the installation of plug-ins. If you are tortured by plug-ins, you can try the effect yourself now.
The above is all the contents of this article entitled "how to solve the problems of Jenkins installation". 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.