CentOS 7.4 安装配置Jenkins

准备

首先安装好jdk

获取安装包&安装

可以从下面地址查找安装包

http://pkg.jenkins.io/redhat/
https://pkg.jenkins.io/redhat-stable/

下载安装包

wget http://pkg.jenkins.io/redhat/jenkins-2.101-1.1.noarch.rpm
rpm -ivh jenkins-2.101-1.1.noarch.rpm

配置

vi /etc/sysconfig/jenkins
修改端口号:

JENKINS_PORT="8180"

保存

启动Jenkins

systemctl start jenkins

上一篇:centos7.x安装jenkins


下一篇:Jenkins 安装邮件插件后无法插件用户