Edgewall Software

Changes between Version 1 and Version 2 of TracOnUbuntu


Ignore:
Timestamp:
Mar 10, 2005, 11:17:35 AM (19 years ago)
Author:
bryan@…
Comment:

small edits

Legend:

Unmodified
Added
Removed
Modified
  • TracOnUbuntu

    v1 v2  
    1 TRAC has trouble with Ubuntu's {{{WartyWarthog}}} release; it needs versions of python-SQLite and clearsilver that aren't available on Warty. So I upgraded my fresh Warty to the {{{HoaryHedgehog}}} release. A fresh Hoary install should be ok but I didn't test that.
     1These instructions were written for a '''fresh install''' of Ubuntu(Hoary). Should work OK under other conditions too.
    22
    3 To upgrade I changed my etc\apt\sources.list to look like the one found [http://www.ubuntulinux.org/wiki/GuideToHoary/view?searchterm=hoary%20sources.list here,] or [wiki:TracOnUbuntu#sources.list] then ran the following commands:
     3FYI, Trac has trouble with Ubuntu's {{{WartyWarthog}}} release; it needs versions of python-SQLite and clearsilver that aren't available on Warty (see #468 & #1104). So I upgraded my fresh Warty to the {{{HoaryHedgehog}}} release. A fresh Hoary install should be ok but I didn't test that.
     4
     5To upgrade I changed my '''etc\apt\sources.list''' to look like this:
     6{{{
     7## Main & restricted
     8deb http://archive.ubuntu.com/ubuntu hoary main restricted
     9deb-src http://archive.ubuntu.com/ubuntu hoary main restricted
     10
     11## Universe (needed for the Trac install)
     12deb http://archive.ubuntu.com/ubuntu hoary universe
     13deb-src http://archive.ubuntu.com/ubuntu hoary universe
     14
     15## Security
     16deb http://security.ubuntu.com/ubuntu hoary-security main restricted
     17deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted
     18}}}
     19
     20... then ran the following commands to actually perform the update:
    421{{{
    522sudo apt-get update
    6 sudo apt-get upgrade
     23sudo apt-get -y upgrade
    724}}}
    825
     
    123140Some permissions changes and an apache restart are now needed:
    124141{{{
    125 sudo chown -R www-data /var/trac/project
    126142sudo chown -R www-data /var/svn/project
    127143sudo chown -R www-data /usr/share/trac
     
    131147Test by going to !http://servername/svn/project
    132148
    133 If this works, your Subversion install is up and running! Now let's finish the Trac install.
     149If this works, your Subversion install is up and running! Now let's finish the Trac install (but don't go on to Trac install until you have the above working properly).
    134150
    135 I put my trac environment at /var/trac/project. I'm not using the mod_python extentions at the moment. First I ran
     151I put my trac environment at /var/trac/project. Of course you could use any other path or name - something a little more descriptive of ''your'' project would probably be a good idea. First I ran these commands:
    136152{{{
    137153mkdir /var/trac
    138 trac-admin /var/trac/project initenv
     154trac-admin /var/trac/project initenv
     155sudo chown -R www-data /var/trac/project
    139156}}}
    140157The "trac-admin" command above prompted me to enter the project name (''project''), the path to the trac environment (''var/trac/project''), and the path to the Trac templates directory (''usr/share/trac/templates''); then it printed out a bunch of stuff. If there are no errors you should now be able to surf to your Trac site at '''!http://servername/cgi-bin/trac.cgi'''
     
    153170... with this change, you can get to Trac with '''!http://servername''' instead of the more cumbersome '''!http://servername/cgi-bin/trac.cgi'''
    154171
    155 == sources.list ==
    156 {{{
    157 ## Main & restricted
    158 deb http://archive.ubuntu.com/ubuntu hoary main restricted
    159 deb-src http://archive.ubuntu.com/ubuntu hoary main restricted
    160 
    161 ## Universe
    162 deb http://archive.ubuntu.com/ubuntu hoary universe
    163 deb-src http://archive.ubuntu.com/ubuntu hoary universe
    164 
    165 ## Security
    166 deb http://security.ubuntu.com/ubuntu hoary-security main restricted
    167 deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted
    168 }}}