使用服务器环境:操作系统:cenos6.4
eclipse 版本:Version: Luna Service Release 1a (4.4.1)
1.安装python-
setuptools
yum -y install python-setuptools
检测是否安装成功
python -c "import setuptools"
如果没有输出任何内容代表安装成功
如果有如下输出代表安装失败
2.
服务器上安装git
yum -y install git
查看是否安装成功
git --version
3,安装gitosis
clone 代码库
在github上找到gitosis 项目 clone到本地
git clone