Changes between Version 1 and Version 2 of TracOnUbuntu
- Timestamp:
- Mar 10, 2005, 11:17:35 AM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracOnUbuntu
v1 v2 1 T RAC 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.1 These instructions were written for a '''fresh install''' of Ubuntu(Hoary). Should work OK under other conditions too. 2 2 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: 3 FYI, 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 5 To upgrade I changed my '''etc\apt\sources.list''' to look like this: 6 {{{ 7 ## Main & restricted 8 deb http://archive.ubuntu.com/ubuntu hoary main restricted 9 deb-src http://archive.ubuntu.com/ubuntu hoary main restricted 10 11 ## Universe (needed for the Trac install) 12 deb http://archive.ubuntu.com/ubuntu hoary universe 13 deb-src http://archive.ubuntu.com/ubuntu hoary universe 14 15 ## Security 16 deb http://security.ubuntu.com/ubuntu hoary-security main restricted 17 deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted 18 }}} 19 20 ... then ran the following commands to actually perform the update: 4 21 {{{ 5 22 sudo apt-get update 6 sudo apt-get upgrade23 sudo apt-get -y upgrade 7 24 }}} 8 25 … … 123 140 Some permissions changes and an apache restart are now needed: 124 141 {{{ 125 sudo chown -R www-data /var/trac/project126 142 sudo chown -R www-data /var/svn/project 127 143 sudo chown -R www-data /usr/share/trac … … 131 147 Test by going to !http://servername/svn/project 132 148 133 If this works, your Subversion install is up and running! Now let's finish the Trac install .149 If 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). 134 150 135 I put my trac environment at /var/trac/project. I'm not using the mod_python extentions at the moment. First I ran151 I 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: 136 152 {{{ 137 153 mkdir /var/trac 138 trac-admin /var/trac/project initenv 154 trac-admin /var/trac/project initenv 155 sudo chown -R www-data /var/trac/project 139 156 }}} 140 157 The "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''' … … 153 170 ... with this change, you can get to Trac with '''!http://servername''' instead of the more cumbersome '''!http://servername/cgi-bin/trac.cgi''' 154 171 155 == sources.list ==156 {{{157 ## Main & restricted158 deb http://archive.ubuntu.com/ubuntu hoary main restricted159 deb-src http://archive.ubuntu.com/ubuntu hoary main restricted160 161 ## Universe162 deb http://archive.ubuntu.com/ubuntu hoary universe163 deb-src http://archive.ubuntu.com/ubuntu hoary universe164 165 ## Security166 deb http://security.ubuntu.com/ubuntu hoary-security main restricted167 deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted168 }}}