Linux-Jenkins安装
1、下载Jenkins资源
1)官网:https://pkg.jenkins.io/debian-stable/
2)百度云:
链接:https://pan.baidu.com/s/1q1wWCaOKDPz0idWRxwqI-w
提取码:zywj
2、安装:
sudo dpkg -i jenkin_2.101_all.deb
安装过程容易出错的地方:
root@ubuntu:/home/jmh081701/Desktop# dpkg -i jenkins_2.101_all.deb
Selecting previously unselected package jenkins.
(Reading database ... 218333 files and directories currently installed.)
Preparing to unpack jenkins_2.101_all.deb ...
Unpacking jenkins (2.101) ...
dpkg: dependency problems prevent configuration of jenkins:
jenkins depends on daemon; however:
Package daemon is not installed.
dpkg: error processing package jenkins (--install):
dependency problems - leaving unconfigured
Processing triggers for systemd (229-4ubuntu16) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
jenkins
解决办法:sudo apt-get -f install
3、启动:
cd /
/etc/init.d/jenkins restart
默认端口:8080
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步