Debian Cgit nginx + simpleCGI

aptitude install nginx gitosis git-core
get cgit and build:http://hjemli.net/git/cgit/
cpan FCGI, FCGI::ProcManager,Socket


setup cgit
vi /etc/cgitrc



setup gitosis


refs1:http://gebi.supersized.org/archives/4-Installing-gitosis-on-debian.html
refs:2:http://dora.bk.tsukuba.ac.jp/~takeuchi/index.php?%A5%D7%A5%ED%A5%B0%A5%E9%A5%DF%A5%F3%A5%B0%2Fgitosis%20%A4%CB%A4%E8%A4%EB%20git%20%A5%B5%A1%BC%A5%D0%A1%BC%A4%CE%B4%C9%CD%FD
refs3:http://phichyudebow.blogspot.com/2010/07/cgit-on-debian-apache2.html

setup nginx
vi /etc/nginx/site-available/default



setup SimpleCGI:refs:http://wiki.nginx.org/SimpleCGI
vi /usr/local/bin/cgiwrap-fcgi.pl



.Start
perl /usr/local/bin/cgiwrap-fcgi.pl
bind/listen error: -> mkdir /var/run/nginx/
chmod 0666 /var/run/nginx/cgiwrap-dispatch.sock
/etc/init.d/nginx restart

コメント

このブログの人気の投稿

git-archive by 7zip

Skype mood to twitter by COM

C++ and C setting for VIM