我们可以使用 SSH 搭建 Git 服务器,具体操作如下:
具体操作如下:
选择 Ubuntu 作为 git 服务器
安装 git:
apt-get install git
安装 ssh 服务(一般系统都安装了):
apt-get install openssh-server