Assuming I get the right place for the list this time (apologies if
this duplicates - I've sent a copy to Toms anyway).

These are my notes on how I did my installation. They may or may not
work for you. They're offered as-is as I did this ages ago and have
pretty much forgotten anything else. (In other words - if this fsck's
your system, don't blame me.)

System: FreeBSD. This' private and not exposed to the outside world so
I don't have to worry about security from outsiders - you may have to
depending on what you want to do.
Packages installed via portmap.
This may not be the optimal installation but it works for me.

Notes on the installation

mkdir /var/svn/projects /usr/local/bin/svnadmin create --fs-type
/var/svn/projects

mkdir /var/trac/projects /usr/local/bin/trac-admin /var/trac/projects
initenv

Enabled mod_fastcgi in /usr/local/etc/lighttpd.conf - uncomment in the
server.modules list and add the fastcgi.server entry along these
lines:

fastcgi.server = ("/trac" =>

   ("trac" =>

       ("socket" => "/tmp/trac-fastcgi.sock",

           "bin-path" => "//usr/local/share/trac/cgi-bin/trac.fcgi",
"check-local" => "disable", "bin-environment" =>

               ("TRAC_ENV" => "/var/trac/projects")

       )

   )

   )

Create log files

touch /var/log/lighttpd.access. touch /var/log/lighttpd.error.log

chown www:www /var/log/lighttpd.access.log chown www:www
/var/log/lighttpd.error.log

Create wrapper for ease of use

vi /usr/bin/lighttpd

   #!/bin/sh /usr/local/sbin/lighttpd -f /usr/local/etc/lighttpd.conf
$@

chmod +x /usr/bin/lighttpd

Enable at startup time

echo 'lighttpd_enable="YES"' >> /etc/rc.conf

chown -R www:www /var/trac to avoid access errors

HTH.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to