Edgewall Software

Changes between Version 15 and Version 16 of Ubuntu-11.10


Ignore:
Timestamp:
Oct 16, 2017, 7:37:00 PM (7 years ago)
Author:
figaro
Comment:

Further cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • Ubuntu-11.10

    v15 v16  
    77Every time I use vim you can use any editor you want, such as nano or gedit.
    88
    9 '''Install Trac''' (and useful plugins) from repository:
     9'''Install Trac''' and some useful plugins from the repository:
    1010
    1111{{{#!sh
     
    1313}}}
    1414
    15 If you're going to use sqlite for database, then install python-sqlite:
     15If you're going to use sqlite for the database, then install python-sqlite:
    1616
    1717{{{#!sh
     
    2525}}}
    2626
    27 '''Add Trac user:'''
     27'''Add Trac user'''
    2828
    2929{{{#!sh
    30 sudo adduser --system --shell /bin/sh --gecos 'trac project managment' --group --disabled-password --home /var/trac trac
     30sudo adduser --system --shell /bin/sh --gecos 'trac project management' --group --disabled-password --home /var/trac trac
    3131}}}
    3232
    33 '''Add www-data to Trac group''' so Apache can access Trac files
     33'''Add www-data to Trac group''' so Apache can access Trac files:
    3434
    3535{{{#!sh
     
    3737}}}
    3838
    39 '''Login as Trac user''' start bash and swich to homedir:
     39'''Login as Trac user''' start bash and switch to the home directory:
    4040
    4141{{{#!sh
     
    5353trac-admin android deploy android/deploy
    5454}}}
    55 and finish instalation
     55and finish installation.
    5656
    5757'''Change permissions so group can write/read/execute'''
     
    6161}}}
    6262
    63 You can add as many projects as you want. And even later, all you have to do to create a new project, deploy it and you're set.
     63You can add as many projects as you want and at any point in time. All you have to do is create a new project, deploy it and you're set.
    6464
    65 '''Back to your user'''.
    66 pressing Ctrl-D twice should get you back.
     65'''Back to your user'''
    6766
    68 Now we'll configure Apache.
     67Pressing Ctrl-D twice should get you back.
    6968
    70 Open apache apache site file what you want to use for Trac (default should be fine). In my case I have Virtualhost for subdomain Trac.
     69'''Configure Apache webserver'''
     70
     71Open the Apache site file that you want to use for Trac. The default file should be fine. In my case I have Virtualhost for subdomain Trac:
    7172
    7273{{{#!sh
     
    7475}}}
    7576
    76 and looks like:
     77and it looks like:
    7778
    7879{{{#!apache
     
    102103}}}
    103104
    104 WSGIScriptAlias does all the magic. It gets its project name from url and redirects to trac.wsgi in that project.
    105 If you're not running Trac sites as a subdomain but as a folder in your documentroot (i.e. `domain.ur/trac/myproject`) replace:
     105WSGIScriptAlias does all the magic. It gets its project name from url and redirects to trac.wsgi in that project.
     106
     107If you're not running Trac sites as a subdomain but as a folder in your documentroot (i.e. `domain.ur/trac/myproject`), then replace:
    106108{{{#!sh
    107109^/([^/]+)
     
    114116(there's just added 'trac/'). And make sure that `/var/trac/projects` is in DocumentRoot.
    115117
    116 '''Reload apache configuration'''
     118'''Reload Apache configuration'''
    117119
    118120{{{#!sh