1.实验环境 IP地址 主机名 角色 操作系统 192.168.3.151 git-server Git Srever Centos 7.6 192.168.3.152 git-client Git Client Centos 7.6 2.git-server配置 (1)安装git服务 [root@git-server ~]# yum -y install git #需要ssh的支持,某些版本服务器需要安装 git