Tracのfcgi利用
# cat /etc/redhat-release CentOS release 4.8 (Final) # trac-admin –version trac-admin 0.11.5.ja1 # python –version Python 2.5.2 # httpd -v Server version: Apache/2.0.52 Server built: Nov 12 2009 06:54:45 # rpm -q httpd-devel httpd-devel-2.0.52-41.ent.6.centos4 # fcgi???
# wget http://www.fastcgi.com/dist/fcgi.tar.gz # ls -l fcgi-2.4.0.tar.gz -rw-r–r– 1 root root 468682 1? 20? 2003 fcgi-2.4.0.tar.gz # tar zxvf fcgi-2.4.0.tar.gz # # cd fcgi-2.4.0 # ./configure # checkinstall checkinstall 1.6.0, Copyright 2002 Felipe Eduardo Sanchez Diaz Duran This software is released under the GNU GPL. The package documentation directory ./doc-pak does not exist. Should I create a default set of package docs? [y]: Preparing package documentation…OK Please choose the packaging method you want to use. Slackware [S], RPM [R] or Debian [D]? R Please write a description for the package. End your description with an empty line or EOF. >> ************************************** **** RPM package creation selected *** ************************************** This package will be built according to these values: 1 - Summary: [ Package created with checkinstall 1.6.0 ] 2 - Name: [ fcgi ] 3 - Version: [ 2.4.0 ] 4 - Release: [ 1 ] 5 - License: [ GPL ] 6 - Group: [ Applications/System ] 7 - Architecture: [ i386 ] 8 - Source location: [ fcgi-2.4.0 ] 9 - Alternate source location: [ ] 10 – Requires: [ ] 11 – Provides: [ fcgi ] Enter a number to change any of them or press ENTER to continue: Installing with make install… …… ********************************************************************** Done. The new package has been saved to /usr/src/redhat/RPMS/i386/fcgi-2.4.0-1.i386.rpm You can install it in your system anytime using: rpm -i fcgi-2.4.0-1.i386.rpm ********************************************************************** # rpm -ivh /usr/src/redhat/RPMS/ie386/fcgi-2.4.0-1.i386.rpm # # rpm -q fcgi fcgi-2.4.0-1 # mod_fcgid???
# svn checkout http://svn.apache.org/repos/asf/httpd/mod_fcgid/trunk mod_fcgid … ????? 884074 ????????????? # # cd mod_fcgid/ # ./configure.apxs … # make … # make install Making install in modules/fcgid … Installing configuration files make[1]: /build/mkdir.sh: ??????????????? make[1]: *** [install-conf] ??? 127 … #