1,jenkinsjava
1)安裝jenkinsnode
下載tomcat 安裝包 https://tomcat.apache.org/download-90.cgigit
cd /usr/local 放到這個路徑下安裝web
./startsh.up apache
下載jenkins rpm包centos
http://pkg.jenkins-ci.org/redhat/tomcat
cd /usr/local/tomcat-9876/webappsapp
java - jar /usr/lib/jenkins/jenkins.war --httpPort=8088webapp
ip:端口:jenkins gitlab
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