首页 > 系统相关 >centos7 安装jenkins记录

centos7 安装jenkins记录

时间:2023-01-09 18:38:17浏览次数:43  
标签:service root centos7 start yum var jenkins 安装

yum install jenkins
12 sudo service jenkins start | stop | restart
13 service jenkins start
14 systemctl status jenkins.service
15 vi /etc/sysconfig/jenkins
16 chown -R root:root /var/log/jenkins
17 chown -R root:root /var/lib/jenkins
18 chown -R root:root /var/cache/jenkins
19 service jenkins start
20 systemctl status jenkins.service
21 java
26 yum install java-1.8.0-openjdk
27 service jenkins start
28 service enable jenkins
29 systemctl enable jenkins.service
30 chkconfig jenkins on
31 yum install git
32 netstat -ntlp
33 ifconfig
34 curl
35 curl 47.94.217.46:8080
36 iptables -A INPUT -p tcp --dport 8080 -j ACCEPT
37 vi /var/lib/jenkins/secrets/initialAdminPassword
38 vi /etc/sysconfig/jenkins
39 service jenkins restart
40 netstat -ntlp
41 history
总结,直接yum install jenkins
无法启动再查原因
启动了无法访问再查原因

标签:service,root,centos7,start,yum,var,jenkins,安装
From: https://blog.51cto.com/u_14650780/5998662

相关文章