In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article shows you how to install jenkins in linux. It is concise and easy to understand. It will definitely make your eyes shine. I hope you can gain something from the detailed introduction of this article.
war package deployment:
Start directly with jar:
java -jar jenkins.war --ajp13Port=-1 --httpPort=18080
Script:
#!/ bin/bash
#Import the JENKINS_HOME environment variable
# export JENKINS_HOME=/usr/local/This path is the jenkins installation path, not the default path/root/.jenkins
cd $JENKINS_HOME
Start Jenkins
nohup java -jar jenkins.war --ajp13Port=-1 --httpPort=18080 >/dev/null 2>&1 &
Plugin download slow problem
Method 1. Modify/root/.jenkins/hudson.model. UpdateCenter.xml
sed -i 's#https://updates.jenkins.io/update-center.json#http://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json#'
Replace mirror source
Modality 2. Modify the default.json file
sed -i 's/http:\/\/updates.jenkins-ci.org\/download/https:\/\/mirrors.tuna.tsinghua.edu.cn\/jenkins/g' default.json && sed -i 's/http:\/\/www.google.com/https:\/\/www.baidu.com/g' default.json
This is how to install jenkins in linux. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserves, please pay attention to 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.