文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>how to setup gitweb on ubuntu

how to setup gitweb on ubuntu

时间:2009-05-24  来源:linuxGentoo

$ sudo apt-get install gitweb  $ edit /etc/gitweb.conf      # path to git projects (<project>.git)   $projectroot = "/home/lynn/public/"; (/home/lynn/public is also our DocumentRoot) $ pushd /home/lynn/public $ sudo ln -sf /usr/share/gitweb/* . $ git clone --bare {somewhere} lynn.git $ touch lynn.git/git-daemon-export-ok $ cp lynn.git/hooks/post-update.sample lynn.git/hooks/post-update
$ chmod a+x lynn.git/hooks/post-update

open your brower,input http://localhost/cgi-bin/gitweb.cgi
 


you also can clone this repository on other machine: git clone http://{your repository ip address}/lynn.git
相关阅读 更多 +
排行榜 更多 +
Unity Connect

Unity Connect

学习教育 下载
青橙记录本

青橙记录本

商务办公 下载
脑洞惊魂夜

脑洞惊魂夜

休闲益智 下载