ubuntu 14.04中安装Jenkins
1.安装wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
·
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
更多推荐
已为社区贡献10条内容
所有评论(0)