目标=搭建一个测试用git server,不管安全,能用就行。
跟着下面文章做。
http://www.snowfrog.net/2011/08/02/setting-up-gitweb-on-your-ubuntu-workstation/
基本没问题。
================装apache2时,有点问题:
Couldn't configure pre-depend multiarch-support for libnih-dbus1, probably a dependency cycle.
可能是/etc/apt/sources.list更改过度。改回最初的文件,并进行了
清理:
sudo apt-get autoremove
---------------------------安装apache
sudo apt-get install apache2
---------------------------测试效果:
http://[ubuntu ip]
================安装gitweb时,出现版本问题:
The following packages have unmet dependencies:
gitweb: Depends: git (< 1:1.7.1-.) but 1:1.7.9.5-1 is installed.
git: Breaks: gitweb (< 1:1.7.4~rc1) but 1:1.7.1-1.1ubuntu0.1 is to be installed.
1) gitweb [Not Installed]
Accept this solution? [Y/n/q/?] n
选择n,接下来还有选项,否则就没戏了。
-----------------------------
Remove the following packages:
1) git-man
Install the following packages:
2) libdigest-sha1-perl [2.13-1 (maverick)]
Downgrade the following packages:
3) git [1:1.7.9.5-1 (now) -> 1:1.7.1-1.1ubuntu0.1 (maverick-security, maveri
Accept this solution? [Y/n/q/?] Y
接受降级处理。
-----------------------------
Need to get 6,223kB of archives. After unpacking 2,360kB will be freed.
Do you want to continue? [Y/n/?]Y
-----------------------------
最终安装成功:/etc/gitweb.conf文件存在了。
http://[ubuntu ip]/gitweb可以访问。
为了保证测试顺利,设置权限如下:
cd /var/www/foo.git
sudo chown -R [用户]:[组] *
sudo chmod -R 777 *
别烦我
- 大小: 31.8 KB
分享到:
相关推荐
git Server 搭建方法与教程,包括简要的说明
Gitblit搭建及Git协作开发流程参考 本文档主要介绍了Gitblit的搭建和Git协作开发流程,旨在帮助创业团队和小型开发团队快速搭建自己的代码服务器。同时,文档也提供了基本的开发流程,代码提交、代码上传、代码...
关于ubuntu下git服务器的搭建
部署成web即可,方便地搭建git server服务器
完全学会Git、GitHub、Git Server的24堂课
git服务搭建文档说明git服务搭建文档说明git服务搭建文档说明
完全学会git github gitserver的24堂课。介绍仓库git的操作和知识
Bonobo.Git.Server本地服务器配置安装包加说明。。。。。。
git 管理代码 git的搭建 git的上传 项目的上传
介绍Bonobo,Git Server搭建过程,包含BonoboGitServer安装文件,搭建过程,Git客户端,以及TortoiseGit和中文语言包。
windows git环境搭建安装包。
windows下(包含X86和X64)sourcetree搭建git环境所需要的所有软件,包括:Mercurial-4.5,Mercurial-4.5-x64,SourceTreeSetup-2.4.7.0,Git-2.16.1.4-32-bit
window下本地git服务器搭建与使用详解
(git服务器搭建+git教程+git廖雪峰)
利用gitlib搭建本地的git服务器,便于苹果的协同开发
改教程详细的介绍了如何在Windows系统平台下搭建GItblit服务器
git环境搭建简介
此资源主要讲解了window环境下怎样搭建svn和git服务器,如何创建用户和组,并对仓库进行用户访问权限设置等。
这是一个Git私服搭建的文档,来源: https://www.cnblogs.com/jeremylee/p/5626240.html 前四步为配置java环境 第五步:下载Gitblit.下载地址:http://www.gitblit.com/ 第六步:解压缩下载的压缩包即可,无需...
使用Gitblit :在Windows2008 r2上部署Git Server