Jenkins install

Linux CentOS 7.1 x64

Java 1.8 x64

apache-maven-3.3.9

Installation

image

 

Modify Configration

Modify configration file /etc/sysconfig/jenkins

vim /etc/sysconfig/jenkins
# 修改启动用户为root,默认为jenkins
JENKINS_USER="root"
# 修改运行端口为9080,默认为8080
JENKINS_PORT="9080"
 

Start service

 
systemctl start jenkins.service
systemctl status jenkins.service
 
 

Configuration

open http://host:9080/

image

more /var/lib/jenkins/secrets/initialAdminPassword

image

image

image

user name: admin password: admin

image

image

 

 

 

 

 

 
posted @ 2016-11-10 10:00  Alex~  阅读(203)  评论(0编辑  收藏  举报