Edgewall Software

Changes between Version 1 and Version 2 of Ubuntu-11.04-Subversion


Ignore:
Timestamp:
Dec 15, 2010, 7:53:21 PM (13 years ago)
Author:
gacevedo@…
Comment:

Writing some installation and configuration sections. It's still not completed thou

Legend:

Unmodified
Added
Removed
Modified
  • Ubuntu-11.04-Subversion

    v1 v2  
    11= Installing Trac with Subversion on Ubuntu =
    22
    3 For a full installation tutorial on Trac, please read TracInstall
     3The goal of this tutorial is to demostrate how to setup a Subversion <-> Trac enviroment on Ubuntu 11.04. A MySQL database and Subversion Python bindings are going to be used.
     4Please note that only general instructions are provided, and it's asummed that you have basic knowledge on Linux administration.
     5
     6'''Note''': for a full installation tutorial on Trac, please read TracInstall
    47
    58[[PageOutline(2-3,Installation Steps,inline)]]
     
    710== Installing the software and its dependencies ==
    811
    9 
    1012=== Base packages ===
    1113
     14In order to get Trac and Subversion installed, you will need to get a few packages listed below. Also, make sure your system is updated.
     15
     16{{{
     17sudo apt-get install apache2 libapache2-mod-python python-setuptools python-genshi mysql-server python-mysqldb
     18}}}
    1219
    1320=== Subversion ===
    1421
     22Installing Subversion (SVN) is pretty straight forward. Just run:
     23
     24{{{
     25sudo apt-get install subversion
     26}}}
    1527
    1628=== Trac ===
    1729
     30There are different ways of installing Trac. But since this tutorial is focused on Ubuntu, you'll do the Ubuntu way:
     31
     32{{{
     33sudo apt-get install trac
     34}}}
    1835
    1936== Configuring ==
    2037
     38This part is maybe the most important section on this tutorial. You'll learn how to syncronize Trac and Subversion in order to be able to see on your Trac Project website what's going on in your repository and also how to automate some tasks.
    2139
    2240=== Subversion ===
    2341
    24 
    2542==== Creating the project ====
    26 
    2743
    2844==== Hook scripts ====
    2945
    3046
     47=== Setup the MySQL database ===
     48
     49Before installing Trac, you'll need to setup the MySQL database.
     50
     51Log into MySQL database, using the root credentials you've setup during the installation:
     52{{{
     53mysql -u root -p
     54}}}
     55
     56Once logged in, create the database for Trac:
     57{{{
     58CREATE DATABASE trac DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
     59}}}
     60
     61Now create the username which Trac is going to use to connect to the database:
     62{{{
     63GRANT ALL ON trac.* TO trac@localhost IDENTIFIED BY 'yourpassword';
     64}}}
     65
     66You can now exit the MySQL command line.
     67
     68=== Trac ===
     69
     70==== Initiate the enviroment
     71
     72==== Explicit syncronization ====
     73
     74===== Automatic reference to the SVN changesets in Trac tickets =====
     75
     76
    3177=== Apache ===
    3278
    33 
    3479==== Set up Trac handling ====
    35 
    3680
    3781==== Authentication ====
    3882
    3983
    40 === Trac ===
    41 
    42 
    43 ==== Explicit syncronization ====
    44 
    45 
    46 ===== Automatic reference to the SVN changesets in Trac tickets =====
    47 
    48 
    4984== Workflow examples ==
    50 
    51