前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Jenkins 基础4

Jenkins 基础4

作者头像
franket
发布2022-03-21 17:55:31
2430
发布2022-03-21 17:55:31
举报
文章被收录于专栏:技术杂记

操作界面

jenkins1.png
jenkins1.png

停止

代码语言:javascript
复制
[root@h101 ~]# /etc/init.d/jenkins stop 
Shutting down Jenkins                                      [  OK  ]
[root@h101 ~]# ps faux | grep jenkins
root      4079  0.0  0.0 103256   828 pts/0    S+   20:34   0:00  |       \_ grep jenkins
[root@h101 ~]# netstat  -ant | grep 8080
[root@h101 ~]#  

开机启动

代码语言:javascript
复制
[root@h101 ~]# chkconfig  --list | grep jenkins
jenkins        	0:off	1:off	2:off	3:on	4:off	5:on	6:off
[root@h101 ~]# chkconfig  jenkins on
[root@h101 ~]# chkconfig  --list | grep jenkins
jenkins        	0:off	1:off	2:on	3:on	4:on	5:on	6:off
[root@h101 ~]# 

Jenkins 会作为一个后台服务在系统启动时启动


命令汇总

  • wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
  • rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key
  • yum install jenkins
  • java -version
  • vim /etc/sysconfig/iptables
  • grep 8080 /etc/sysconfig/iptables
  • /etc/init.d/iptables reload
  • iptables -L -nv | grep 8080
  • /etc/init.d/jenkins start
  • grep -v "^#" /etc/sysconfig/jenkins | grep -v "^$"
  • /etc/init.d/jenkins stop
  • chkconfig jenkins on

原文地址

本文系转载,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文系转载前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 操作界面
  • 停止
  • 开机启动
  • 命令汇总
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档