Friday, February 03, 2012

install trac on centos with fastcgi

installation was simplified with yum and easyinstall (setuptools)

yum install python mod_python
yum install mysql-devel
yum install python-devel


Install MySQL-python
  1. Download the tarball from http://sourceforge.net/projects/mysql-python
  2. Compile the package:
    # python setup.py build && python setup.py install
Install Clearsilver, a templating package needed by Trac
  1. Download Clearsilver from http://www.clearsilver.net/downloads/
  2. Compile Clearsilver:
  3. #./configure && make && make install
install setuptools

#yum install python-setuptools

A few examples:
  • first install of the latest stable version Trac 0.12.2, with i18n support:
    easy_install Babel==0.9.5
    easy_install Trac
    
    It's very important to run the two easy_install commands separately, otherwise the message catalogs won't be generated.
then: http://trac.edgewall.org/wiki/TracFastCgi
sample configuration: https://coderanger.net/~coderanger/httpd/fcgi_example.conf

other reading:
http://www.justinbritten.com/work/2008/05/installing-trac-on-centos-5/
http://trac.edgewall.org/wiki/TracInstall

No comments:

Related Posts Plugin for WordPress, Blogger...