Edgewall Software

Changes between Version 83 and Version 84 of TracOnUbuntu


Ignore:
Timestamp:
Sep 30, 2011, 8:07:57 AM (13 years ago)
Author:
Remy Blank
Comment:

Page cleanup.

Legend:

Unmodified
Added
Removed
Modified
  • TracOnUbuntu

    v83 v84  
    11= Trac on Ubuntu =
    22[[PageOutline]]
    3 = Installing Trac on Ubuntu
     3{{{
     4#!div class=important
     5'''Help wanted:''' The various Ubuntu specific install docs should be cleaned and merged where that makes sense...
     6}}}
     7
     8 * Back to TracInstallPlatforms
     9 * TracInstall - See this before reading any distro specific tutorial
     10
     11
     12'''Note:''' It is always best practice to use the latest [wiki:WikiStart stable version] of Trac.
     13
     14||= tutorial =||=  Ubuntu Version =||= Trac Version =||= Apache =||= VCS =||= Database =||
     15|| [wiki:Ubuntu-11.04-Subversion Ubuntu-10.04-Subversion] || 10.04 || 0.12 || Mod_Python || Subversion || MySQL||
     16|| [wiki:Ubuntu-10.04-Bazaar] || 10.04 || 0.12 || Mod_WSGI || Bazaar || MySQL||
     17|| [https://help.ubuntu.com/community/Trac ubuntu Help] || ?|| ?|| Mod_Python || ?|| SQLite||
     18|| [wiki:0.11/TracOnUbuntu] || 8.04 || 0.11 || Mod_Python || Subversion || SQLite||
     19|| [wiki:0.11/TracOnUbuntuHardy hardy, cgi] || 8.04 || 0.11 || ~~CGI~~ || Subversion || SQLite||
     20|| TracUbuntuMultipleProjects || 8.04 || 0.11 || Mod_Python || Subversion || SQLite||
     21|| [wiki:0.10.4/TracOnUbuntuHardy] || 8.04 || 0.10.4 || Mod_Python || Subversion || SQLite||
     22|| TracFeisty || 7.04 || ?|| Mod_Python || Subversion || SQLite||
     23|| TracInstallUbuntu || ?|| 0.11.5 || Mod_Python || ?|| SQLite||
     24|| [https://help.ubuntu.com/community/UbuntuTracHowto Ubuntu-Trac] || ?|| ?|| Mod_Python || Subversion || SQLite||
     25|| [wiki:TracOnUbuntuBreezer Ubuntu 5.10 "The Breezy Badger"] || 5.10 || ?|| Mod_Python || Subversion || SQLite||
     26|| [wiki:TracOnUbuntuBreezyWorkingenv Ubuntu 5.10 with workingenv] || 5.10 || ?|| Fast_CGI || ?|| SQLite||
     27
     28'''DB:''' Most tutorials do not say the database they are using. I assume the default is SQLite.
     29
     30'''Ubuntu 8.04.2 Hardy Note:''' the default package installs trac-post-commit-hook under /usr/share/doc/trac/contrib path. Unfortunately this script is not working correctly with Trac 0.11 and you need to download the latest version from [source:0.11-stable/contrib/trac-post-commit-hook].
     31
     32== Installing Trac on Ubuntu
    433This is a short recipe to install and configure virtual `Apache2` host with `Trac`
    5 == What are Ubuntu packages needed
     34=== Which Ubuntu packages are needed
    635Typical procedure to install Trac under Ubuntu with its default dependencies (default - choosed by apt) is
    736{{{#!sh
     
    1039}}}
    1140Ensure that python version matches Trac latest, otherwise apt will install older Trac version which matches your old python package installed. Also take into account that `python-babel` should be always installed before `trac` if you wish to see it internationalized.
    12 === Upgrade python packages
     41==== Upgrade python packages
    1342Ubuntu pre-packaged python resources are not always newest, and you may consider to upgrade them with `easy_install` or `pip`
    1443- Upgrade with `easy_install`
     
    2352pip install --upgrade Trac
    2453}}}
    25 == Configuring virtual host
     54=== Configuring virtual host
    2655Here is shown sample virtual host configuration running under `apache2` (one file) with minimal, "entry level" settings.
    2756Config file created at `apache2` known place for site configs (see below), and then configured site can be "enabled" to run.
     
    3261- `/var/local/trac/.htpasswd` is a password file created with `htpasswd` utility
    3362- `ru_RU.UTF8` is a locale ident
    34 === Prepare configuration
     63==== Prepare configuration
    3564First you need to
    3665- create directory for Trac project and change its access permissions to that under which `apache2` runs (`www-data` in most cases)
     
    74103</VirtualHost>
    75104}}}
    76 === Enable prepared configuration
     105==== Enable prepared configuration
    77106{{{#!sh
    78107a2enmod python
     
    80109service apache restart
    81110}}}
    82 = done.
    83 {{{
    84 #!div class=important
    85 '''Help wanted:''' The various Ubuntu specific install docs should be cleaned and merged where that makes sense...
    86 }}}
    87 
    88  * Back to TracInstallPlatforms
    89  * TracInstall - See this before reading any distro specific tutorial
    90 
    91 
    92 '''Note:''' It is always best practice to use the latest [wiki:WikiStart stable version] of Trac.
    93 
    94 ||= tutorial =||=  Ubuntu Version =||= Trac Version =||= Apache =||= VCS =||= Database =||
    95 || [wiki:Ubuntu-11.04-Subversion Ubuntu-10.04-Subversion] || 10.04 || 0.12 || Mod_Python || Subversion || MySQL||
    96 || [wiki:Ubuntu-10.04-Bazaar] || 10.04 || 0.12 || Mod_WSGI || Bazaar || MySQL||
    97 || [https://help.ubuntu.com/community/Trac ubuntu Help] || ?|| ?|| Mod_Python || ?|| SQLite||
    98 || [wiki:0.11/TracOnUbuntu] || 8.04 || 0.11 || Mod_Python || Subversion || SQLite||
    99 || [wiki:0.11/TracOnUbuntuHardy hardy, cgi] || 8.04 || 0.11 || ~~CGI~~ || Subversion || SQLite||
    100 || TracUbuntuMultipleProjects || 8.04 || 0.11 || Mod_Python || Subversion || SQLite||
    101 || [wiki:0.10.4/TracOnUbuntuHardy] || 8.04 || 0.10.4 || Mod_Python || Subversion || SQLite||
    102 || TracFeisty || 7.04 || ?|| Mod_Python || Subversion || SQLite||
    103 || TracInstallUbuntu || ?|| 0.11.5 || Mod_Python || ?|| SQLite||
    104 || [https://help.ubuntu.com/community/UbuntuTracHowto Ubuntu-Trac] || ?|| ?|| Mod_Python || Subversion || SQLite||
    105 || [wiki:TracOnUbuntuBreezer Ubuntu 5.10 "The Breezy Badger"] || 5.10 || ?|| Mod_Python || Subversion || SQLite||
    106 || [wiki:TracOnUbuntuBreezyWorkingenv Ubuntu 5.10 with workingenv] || 5.10 || ?|| Fast_CGI || ?|| SQLite||
    107 
    108 '''DB:''' Most tutorials do not say the database they are using. I assume the default is SQLite.
    109 
    110 '''Ubuntu 8.04.2 Hardy Note:''' the default package installs trac-post-commit-hook under /usr/share/doc/trac/contrib path. Unfortunately this script is not working correctly with Trac 0.11 and you need to download the latest version from [source:0.11-stable/contrib/trac-post-commit-hook].