1,jenkins
1)安装jenkins
下载tomcat 安装包 https://tomcat.apache.org/download-90.cgi
cd /usr/local 放到这个路径下安装
./startsh.up
下载jenkins rpm包
http://pkg.jenkins-ci.org/redhat/
cd /usr/local/tomcat-9876/webapps
java - jar /usr/lib/jenkins/jenkins.war --httpPort=8088
ip:端口:jenkins
2) 使用jenkins 新建项目
2,安装ansible
1) 安装epel源
yum install http://mirrors.163.com/centos/7.4.1708/extras/x86_64/Packages/epel-release-7-9.noarch.rpm
2) 查看epel源并安装ansible
[root@node2 ~]ll /etc/yum.repos.d/epel*
[root@node2 ~]yum install ansible -y
3,本地搭建gitlab
下载安装git