Edgewall Software

Changes between Version 10 and Version 11 of TracOnSlackwareTwelvePointOne


Ignore:
Timestamp:
Oct 26, 2015, 8:34:06 PM (8 years ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • TracOnSlackwareTwelvePointOne

    v10 v11  
     1[[PageOutline(2-5,Contents,pullout)]]
     2
    13= Trac 11rc1 + MySQL + mod_python on Slackware 12.1
    24
     
    1416 * In Subversion source directory (probably in /tmp) do:
    1517
    16 {{{
     18{{{#!sh
    1719make swig-py
    1820make install-swig-py
     
    2325Once subversion has been recompiled Trac installation can proceed. First install ez_setup:
    2426
    25 {{{
     27{{{#!sh
    2628python ez_setup.py
    2729}}}
     
    2931Next install Genshi:
    3032
    31 {{{
     33{{{#!sh
    3234easy_install Genshi
    3335}}}
     
    3537And finally Trac:
    3638
    37 {{{
     39{{{#!sh
    3840easy_install Trac==0.11rc1
    3941}}}
     
    4547 * Compile and install mysql-python from slackbuilds.
    4648 * Set-up the Trac database:
    47 {{{
     49 {{{#!sql
    4850mysql -u root -p
    49 create database trac DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
     51CREATE DATABASE trac DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
    5052USE trac;
    5153CREATE USER tracuser IDENTIFIED BY 'password';
     
    5961Create Trac project:
    6062
    61 {{{
     63{{{#!sh
    6264trac-admin /path/to/myproject initenv
    6365}}}
     
    6769 * Compile and install mod_python from http://slackbuilds.org/ slackbuilds].
    6870 * Configure Apache to test Python installation, add the following to `httpd.conf` (location only for tests):
    69 {{{
     71 {{{#!apache
    7072LoadModule python_module lib/httpd/modules/mod_python.so
    7173<Location /mpinfo>
     
    7779
    7880 * '''IMPORTANT''': Make sure PYTHONPATH is set and that apache can see it:
    79 {{{
     81 {{{#!sh
    8082export PYTHONPATH=$PYTHONPATH:/usr/lib/svn-python
    8183}}}
     
    8688
    8789'''Note''': add this VirtualHost config for multiple projects:
    88 {{{
     90 {{{#!apache
    8991<VirtualHost *:999>
    9092   DocumentRoot /path/to/trac