摘要:
1.安装git软件推荐两个软件安装源:http://www.webtatic.com里面主要是git, gitweb,gitolitehttp://repoforge.org里面主要是git,git-daemonrepoforg上的git版本比较新2.对apache 服务器进行配置在/etc/httpd/conf.d/ 下添加git.conf文件文件内容为 #设定git仓库的路径为/var/www/gitSetEnv GIT_PROJECT_ROOT /var/www/git#使所有的git仓库通过http,对外可见 SetEnv GIT_HTTP_EXPORT_ALL#访问 /git 等.. 阅读全文