| 6 | |
| 7 | |
| 8 | |
| 9 | = Notes from a debian sarge install = |
| 10 | |
| 11 | Get clearsilver from http://www.clearsilver.net/ |
| 12 | - (tested with http://www.clearsilver.net/downloads/clearsilver-0.9.8.tar.gz) |
| 13 | |
| 14 | - tar xvfz clearsilver-0.9.8.tar.gz |
| 15 | - cd clearsilver-0.9.8 |
| 16 | - ./configure |
| 17 | - make |
| 18 | - make install |
| 19 | - cd python/ |
| 20 | - ln -s /usr/bin/python2.3 /usr/bin/python |
| 21 | - make |
| 22 | - make install |
| 23 | |
| 24 | Everything else should be OK apart from the fact that you will have to get a subversion from unstable (don't worry, unstable for debian is like normal redhat) |
| 25 | |
| 26 | - apt-get -t unstable install subversion |
| 27 | |
| 28 | This should then allow you to build and initialise trac. |
| 29 | |
| 30 | When you come to running it though you'll also have to add the env_module using the following line in your /etc/apache/modules.conf |
| 31 | |
| 32 | - LoadModule env_module /usr/lib/apache/1.3/mod_env.so |
| 33 | |
| 34 | I then set up a trac.conf in my /etc/apache/conf.d folder like so |
| 35 | |
| 36 | <VirtualHost local.trac> |
| 37 | alias /trac/ "/usr/share/trac/htdocs/" |
| 38 | ServerAdmin youremail@yourdomain.tld |
| 39 | DocumentRoot /home/tim/myTrac |
| 40 | ServerName local.trac |
| 41 | ErrorLog /home/tim/myTrac/logs/error.log |
| 42 | CustomLog /home/tim/myTrac/logs/access_log common |
| 43 | AddHandler cgi-script cgi |
| 44 | <Location "/cgi-bin/trac.cgi"> |
| 45 | SetEnv TRAC_DB "/home/tim/myTrac/tracdb/mydb" |
| 46 | Options FollowSymLinks +ExecCGI |
| 47 | AllowOverride None |
| 48 | </Location> |
| 49 | </VirtualHost> |
| 50 | |
| 51 | Don't forget to create those log folders though (apachectl configtest doesn't warn you about that one) |
| 52 | |
| 53 | |
| 54 | |
| 55 | |