搭建jenkins+gitlab+tomcat+maven步骤
-  安装maven 
 a.先下载maven tar包
 b.解压 tar包 tar -xvzf apache-maven-3.6.0-bin.tar.gz
 c.配置maven的环境变量
 vim /etc/profile
 在文件最后加入一下代码:
 export MAVEN_HOME=/home/jenkins/software/apache-maven-3.6.0
 export MAVEN=MAVENHOME/binexportPATH=MAVEN_HOME/bin export PATH=MAVENHOME/binexportPATH=MAVEN:$PATH:wq 退出 
 生效文件 source /etc/profile查看maven是否安装生效 mvn -version 
-  gitlab安装 
 a.进行安装
 下载 wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-10.6.2-ce.0.el7.x86_64.rpm
 安装 rpm -Uvh gitlab-ce-10.6.2-ce.0.el7.x86_64.rpm
 编辑配置文件:vim /etc/gitlab/gitlab.rb
 执行配置: gitlab-ctl reconfigure
 重启: gitlab-ctl restart
 查看编译库:strings /lib64/libc.so.6 |grep GLIBC
 安装glibc:
 wget http://ftp.gnu.org/gnu/glibc/glibc-2.27.tar.gz
 tar -xvf glibc-2.27.tar.gz
 mkdir glibc-2.27/build
 cd glibc-2.27build
 …/configure --prefix=/usr --disable-profile --enable-add-ons --with-headers=/usr/include --with-binutils=/usr/bin
 make
 make install
 查看系统版本: cat /etc/redhat-release
 安装更高版本的git:https://www.cnblogs.com/kevingrace/p/5954042.html
 jenkins构建部署:http://www.cnblogs.com/shmilyToHu/p/7515579.html
 eclipse中gtilab的使用:https://blog.csdn.net/qq_35781732/article/details/82418574