Linux下安装Jenkins
一、概述
Jenkins是一个开源软件项目,是基于Java开发的一种持续集成工具,用于监控持续重复的工作,旨在提供一个开放易用的软件平台,使软件的持续集成变成可能。
二、准备
JDK1.8、Maven、Git
三、安装
3.1、下载Jenkins
wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo

rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
3.2、安装Jenkins
yum install -y jenkins

3.3、启动Jenkins
service jenkins start

3.4、查看占用端口
ps -ef|grep "jenkins"

四、访问
4.1、输入URL地址:http://localhost:8080

4.2、设置用户/密码

4.3、 默认配置(插件)

五、成功

