当前位置:网站首页>jenkins部署
jenkins部署
2022-07-23 05:47:00 【study_小达人】
Jenkins部署:
在线安装:
sudo wget -O /etc/yum.repos.d/jenkins.repo
https://pkg.jenkins.io/redhat-stable/jenkins.repo
sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
sudo yum upgrade
sudo yum install java-11-openjdk
sudo yum install jenkins
sudo systemctl daemon-reload
或者docker运行:
docker run -d -p 8888:8080 -v /data/jenkins:/var/jenkins_home --name jenkins jenkins/jenkins:2.332.3-lts
修改下载跟新地址:
1、default.json的具体路劲是:{jenkins的工作路径}/updates/default.json
2、sudo sed -i ‘s#updates.jenkins.io/download/plugins#mirrors.tuna.tsinghua.edu.cn/jenkins/plugins#g’ default.json && sudo sed -i ‘s#www.google.com#www.baidu.com#g’ default.json
3、进入插件管理、点击高级,修改升级站点的地址为清华大学镜像地址
https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json
systemctl start jenkins 过一会就可以访问了 端口自定义可以修改jenkins.service 里面的port
边栏推荐
- Hcip-hcia knowledge review (II)
- HCIP --- HDLC和PPP协议
- Hcip - first experiment
- Routing and switching technology - static routing
- OSPF comprehensive experiment
- C: stack stack source code, array stack, chain stack
- Explain the flow control mechanism and congestion control mechanism of TCP in detail
- MySQL性能优化,索引优化
- HCIP---条件匹配和OSPF协议
- Overview of OpenSSL self visa process
猜你喜欢

Hcip - first experiment

Learning diary - (routing and switching technology) layer 3 switch

Unity3d:场景加载 GameObejct上脚本执行顺序

学习日记(路由与交换技术)——浮动静态路由和缺省路由

OSPF综合实验

Hcip --- condition matching and OSPF Protocol

Unity3d+gameframework: resource analysis, resource dependency, circular dependency detection

超好用的抓包工具tcpdump

Gameframework:resource loading, resource loading, dependency loading, task pool, object pool, reference count

浅做一下思科实验吧!
随机推荐
Explain TCP segmentation and IP fragmentation in detail
OSPF的路由策略和流量抓取
Hcip - HDLC and PPP protocols
强一致性和弱一致性的分析思路以及分布式场景的并发技巧
Learning diary - (routing and switching technology) DHCP (Dynamic Host Configuration Protocol)
Hcip--- BGP related configuration
即时通讯WebSocket
浅做一下思科实验吧!
剖析Redis中的Sentinel模式
Hcip - first experiment
Learning diary - (routing and switching technology) network address translation NAT Technology
psutil监控的简单使用
MySQL性能优化,索引优化
Unity3d:ugui, UI and special effect particle level, bakemesh above 2018.2, particles between two images and in Scrollview
Learning diary - (routing and switching technology) single arm routing
How to solve too many if statements
Unity used trilib plug-in under URP pipeline to load model material incorrectly
Super easy to use packet capturing tool tcpdump
Manually configure DHCP service
2小时1000人吃饭,要多少台座椅?