Changes between Version 4 and Version 5 of TracOnDebian
- Timestamp:
- May 1, 2004, 4:00:05 PM (20 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracOnDebian
v4 v5 1 1 = Installing and Running Trac on Debian = 2 2 3 # apt-get install python2.3-subversion python2.3-sqlite 3 == Notes from a debian sarge install == 4 4 5 Trac is not packaged, follow the source install 5 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. 6 6 7 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. 7 8 9 {{{ 10 apt-get install sqlite python2.3-subversion python2.3-sqlite 11 apt-get -t unstable install subversion 12 }}} 8 13 9 = Notes from a debian sarge install = 14 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]) 10 15 11 Get clearsilver from http://www.clearsilver.net/ 12 - (tested with http://www.clearsilver.net/downloads/clearsilver-0.9.8.tar.gz) 16 {{{ 17 tar xvfz clearsilver-0.9.8.tar.gz 18 cd clearsilver-0.9.8 19 ./configure 20 make 21 make install 22 cd python/ 23 ln -s /usr/bin/python2.3 /usr/bin/python 24 make 25 make install 26 }}} 13 27 14 - tar xvfz clearsilver-0.9.8.tar.gz15 - cd clearsilver-0.9.816 - ./configure17 - make18 - make install19 - cd python/20 - ln -s /usr/bin/python2.3 /usr/bin/python21 - make22 - make install23 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 subversion27 28 28 29 This should then allow you to build and initialise trac. … … 30 31 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 32 - LoadModule env_module /usr/lib/apache/1.3/mod_env.so 33 {{{ 34 LoadModule env_module /usr/lib/apache/1.3/mod_env.so 35 }}} 33 36 34 37 I then set up a trac.conf in my /etc/apache/conf.d folder like so 35 38 36 <V''''''irtualHost local.trac> 39 {{{ 40 <VirtualHost local.trac> 37 41 alias /trac/ "/usr/share/trac/htdocs/" 38 42 ServerAdmin youremail@yourdomain.tld … … 44 48 <Location "/cgi-bin/trac.cgi"> 45 49 SetEnv TRAC_DB "/home/tim/myTrac/tracdb/mydb" 46 Options F ''''''ollowSymLinks +ExecCGI47 A ''''''llowOverride None50 Options FollowSymLinks +ExecCGI 51 AllowOverride None 48 52 </Location> 49 53 </VirtualHost> 50 54 }}} 51 55 Don't forget to create those log folders though (apachectl configtest doesn't warn you about that one) 52 56