Changes between Version 10 and Version 11 of TracOnSlackwareTwelvePointOne
- Timestamp:
- Oct 26, 2015, 8:34:06 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracOnSlackwareTwelvePointOne
v10 v11 1 [[PageOutline(2-5,Contents,pullout)]] 2 1 3 = Trac 11rc1 + MySQL + mod_python on Slackware 12.1 2 4 … … 14 16 * In Subversion source directory (probably in /tmp) do: 15 17 16 {{{ 18 {{{#!sh 17 19 make swig-py 18 20 make install-swig-py … … 23 25 Once subversion has been recompiled Trac installation can proceed. First install ez_setup: 24 26 25 {{{ 27 {{{#!sh 26 28 python ez_setup.py 27 29 }}} … … 29 31 Next install Genshi: 30 32 31 {{{ 33 {{{#!sh 32 34 easy_install Genshi 33 35 }}} … … 35 37 And finally Trac: 36 38 37 {{{ 39 {{{#!sh 38 40 easy_install Trac==0.11rc1 39 41 }}} … … 45 47 * Compile and install mysql-python from slackbuilds. 46 48 * Set-up the Trac database: 47 {{{ 49 {{{#!sql 48 50 mysql -u root -p 49 create databasetrac DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;51 CREATE DATABASE trac DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; 50 52 USE trac; 51 53 CREATE USER tracuser IDENTIFIED BY 'password'; … … 59 61 Create Trac project: 60 62 61 {{{ 63 {{{#!sh 62 64 trac-admin /path/to/myproject initenv 63 65 }}} … … 67 69 * Compile and install mod_python from http://slackbuilds.org/ slackbuilds]. 68 70 * Configure Apache to test Python installation, add the following to `httpd.conf` (location only for tests): 69 {{{ 71 {{{#!apache 70 72 LoadModule python_module lib/httpd/modules/mod_python.so 71 73 <Location /mpinfo> … … 77 79 78 80 * '''IMPORTANT''': Make sure PYTHONPATH is set and that apache can see it: 79 {{{ 81 {{{#!sh 80 82 export PYTHONPATH=$PYTHONPATH:/usr/lib/svn-python 81 83 }}} … … 86 88 87 89 '''Note''': add this VirtualHost config for multiple projects: 88 {{{ 90 {{{#!apache 89 91 <VirtualHost *:999> 90 92 DocumentRoot /path/to/trac