安装部署jenkins [一]
我部署这个软件的时候是先安装好tomcat和jdk。因为jenkins的端口也是8080没有做相应的修改,默认8080.
参考地址<----戳我
iTech's Blog<----戳我
持续集成平台jenkins的书籍或是学习资料<----戳我
简书 <----戳我
jenkins镜像地址 <----戳我
Install Jenkins on Red Hat distributions
先安装jenkins的源
wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
下载RPM包导入签名
rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key
yum安装jenkins
yum install jenkins
启动
service jenkins start/stop/restart
chkconfig jenkins on
我的系统及版本
# cat /etc/redhat-release
CentOS Linux>
不要开启防火墙
做好准备工作就可以打开浏览器输入你的IP地址只是我的。 http://192.168.12.11:8080/jenkins
登陆后有一个让你填写校验码的路径。只需要到你的服务器上获取就行了
# cat /var/lib/jenkins/secrets/initialAdminPassword
f7feb2d3855241b9813ebf1237095a55
做测试选择默认安装
https://images2017.cnblogs.com/blog/989996/201709/989996-20170921175315884-142351673.png
https://images2017.cnblogs.com/blog/989996/201711/989996-20171103204932123-1304656616.png
https://images2017.cnblogs.com/blog/989996/201711/989996-20171103205008951-1118614130.png
https://images2017.cnblogs.com/blog/989996/201709/989996-20170921175339634-809335975.png
https://images2017.cnblogs.com/blog/989996/201709/989996-20170921175402837-1385727700.png
接下来就是你的表演时间,后续还会有更新。
页:
[1]