作者:我我檬檬我我186 | 2021-09-03 12:57
官方文档:http://pkg.jenkins-ci.org/redhat/1.先安装JAVAhttp://blog.csdn.net/fenglailea/article/details/260066472.安装jenkins[plain]viewplaincopyprint?
官方文档:http://pkg.jenkins-ci.org/redhat/
1.先安装JAVA
http://blog.csdn.net/fenglailea/article/details/26006647
2.安装jenkins
-
sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
-
sudo rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key
3.设置jenkins 端口和用户
-
sudo vi /etc/sysconfig/jenkins
4.安装目录和日志
-
/usr/lib/jenkins #安装目录
-
/var/log/jenkins #日志目录
5.jenkins启动文件
-
sudo /sbin/service jenkins start