Edgewall Software

Changes between Initial Version and Version 1 of TracOnArchLinux


Ignore:
Timestamp:
Jun 6, 2007, 1:00:53 PM (17 years ago)
Author:
Daneil YC Lin <dlin.tw@…>
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracOnArchLinux

    v1 v1  
     1= Installing Trac on !ArchLinux for Multiple Projects using Mod_Python =
     2[http://www.archlinux.org ArchLinux] is powered by a simple and lightweight package management system. It is release by rolling binary system.  Keep update by command line '''pacman -Syu''' will get the most recent version.
     3
     4== install depend packages from binary ==
     5{{{
     6pacman -S mod_python python-pysqlite
     7}}}
     8== Download trac from binary ==
     9Trac is already on community repository, check /etc/pacman.conf, make sure uncomment the following.
     10{{{
     11[community]
     12# Add your preferred servers here, they will be used first
     13Include = /etc/pacman.d/community
     14}}}
     15
     16SUPFILES=(arch extra !unstable community !testing)
     17
     18download and install it
     19{{{
     20pacman -S trac
     21}}}
     22
     23== or, build trac from source ==
     24if want the newest version trac.
     25
     26edit the /etc/abs/abs.conf, unmark the community
     27{{{
     28SUPFILES=(arch extra !unstable community !testing)
     29}}}
     30
     31{{{
     32cd /var/abs/community/network/trac
     33vi PKGBUILD  # modify the version to the newest version
     34makepkg -g   # modify PKGBUILD with the correct md5 checksum
     35makepkg -c   # build binary package file, and clean up work files after build
     36sudo pacman -A *.pkg.tar.gz  # install it
     37sudo pacman -U *.pkg.tar.gz  # or, upgrade it, if already installed
     38}}}
     39
     40== configure mod_python ==
     41edit /etc/httpd/conf/httpd.conf, append following line
     42{{{
     43LoadModule python_module /usr/lib/apache/mod_python.so
     44}}}
     45
     46to be continue...