#JAVA依赖:
1 yum install java-1.8.0-openjdk 2 java -version
#软件安装:
wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins.io/redhat-stable/jenkins.repo rpm --import http://pkg.jenkins.io/redhat-stable/jenkins.io.key yum install jenkins vim /etc/sysconfig/jenkins JENKINS_AJP_PORT="-1" #服务管理: service jenkins start/stop/restart chkconfig jenkins on
#访问路径:
http://10.0.0.1:8080
cat /var/lib/jenkins/secrets/initialAdminPassword
select plugins to install --> install
create user
start
#配置管理:
##系统管理:
###系统设置
####插件管理 -> 可选插件 -> (git,github)