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-core纔是服務器
...
Installed:
git