0.先安装JAVA
1.安装
wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update -y
sudo apt-get install jenkins -y注意:最后两步速度非常慢,主要是下载
2.安装文件位置
安装目录:/var/lib/jenkins 日志目录:/var/log/jenkins/jenkins.log
3.启动/停止
sudo /etc/init.d/jenkins start sudo /etc/init.d/jenkins stop
4.访问(当前IP)
http://192.168.1.100:8080/
来源:http://blog.csdn.net/ruisheng_412/article/details/8066330