Edgewall Software
Home
Trac
Trac Hacks
Genshi
Babel
Bitten
Home
Download
Documentation
Mailing Lists
License
FAQ
Search:
Login
Preferences
Help/Guide
About Trac
Wiki
Timeline
Roadmap
Browse Source
View Tickets
New Ticket
Search
Context Navigation
+0
Start Page
Index
History
Editing TracOnDebian
Adjust edit area height:
8
12
16
20
24
28
32
36
40
Edit side-by-side
= Installing and Running Trac on Debian = == Notes from a debian sarge install == As has been previously pointed out, a Debian package does not exist, hence you need to build it yourself. This isn't ''too'' onerous if you know where you might get bitten. Hopefully the following should be of some use. First you need the SQLite, Subversion and the related python modules. Note that you need to use the version of subversion from unstable. Don't worry as Debians unstable is not really unstable, it's about as stable as typical redhat packages. You might want to use apt-pinning, which is basically a way of stopping unstable dependancies from getting installed all over the place (try this [http://jaqque.sbih.org/kplug/apt-pinning.html guide for beginners]). Create or edit /etc/apt/preferences and insert {{{ Package: * Pin: release a=testing Pin-Priority: 650 Package: * Pin: release a=unstable Pin-Priority: 600 }}} {{{ apt-get install sqlite python2.3-subversion python2.3-sqlite apt-get -t unstable install subversion }}} Clearsilver isn't available as a package so get clearsilver from http://www.clearsilver.net/ (tested [http://www.clearsilver.net/downloads/clearsilver-0.9.8.tar.gz 0.9.8]) {{{ tar xvfz clearsilver-0.9.8.tar.gz cd clearsilver-0.9.8 ./configure make make install cd python/ ln -s /usr/bin/python2.3 /usr/bin/python make make install }}} This should then allow you to build and initialise trac. 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 {{{ LoadModule env_module /usr/lib/apache/1.3/mod_env.so }}} I then set up a trac.conf in my /etc/apache/conf.d folder like so {{{ <VirtualHost local.trac> alias /trac/ "/usr/share/trac/htdocs/" ServerAdmin youremail@yourdomain.tld DocumentRoot /home/tim/myTrac ServerName local.trac ErrorLog /home/tim/myTrac/logs/error.log CustomLog /home/tim/myTrac/logs/access_log common AddHandler cgi-script cgi <Location "/cgi-bin/trac.cgi"> SetEnv TRAC_DB "/home/tim/myTrac/tracdb/mydb" Options FollowSymLinks +ExecCGI AllowOverride None </Location> </VirtualHost> }}} Don't forget to create those log folders though (apachectl configtest doesn't warn you about that one)
Note:
See
WikiFormatting
and
TracWiki
for help on editing wiki content.
Change information
Your email or username:
E-mail address and name can be saved in the
Preferences
Comment about this change (optional):
Note:
See
TracWiki
for help on using the wiki.