john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

Linux install trac on centos5 or debian

of course you've already run

CENTOS/REDHAT yum install httpd mod_ssl python

DEBIAN/UBUNTU apt-get install apache2 libapache2-mod-python libapache2-mod-python-doc

NOTE the "trac" in the apt-get sources is 10.4 (very old!) so we ignore it!

now get the boostrap module that allows you to install things easily

wget http://peak.telecommunity.com/dist/ez_setup.py $ sudo python ez_setup.py

run the easy_install app which isnstalls required dependencies + trac

sudo easy_install Trac


mkdir -p /trac-root/projects/trac

(this makes all of the directories at once)

trac-admin /trac-root/projects/trac/test initenv

Project Name: test Database: hit enter for default SVN: hit enter for default (no svn usage) Path to Repository: enter for default (no svn usage)


trac-admin version

Welcome to trac-admin 0.11.6 Interactive Trac administration console. Copyright (c) 2003-2009 Edgewall Software

Type: '?' or 'help' for help on commands.

Trac [/trac-root/tracScripts/version]> quit

-------------------------------------------

CONGRATULATIONS, YOU HAVE TRAC INSTALLED But not quite configured...

-------------------------------------------


  • « Linux configure apache with trac
  • php include continued url file access is disabled »

Published

Feb 9, 2010

Category

linux

~134 words

Tags

  • centos5 8
  • debian 10
  • install 58
  • installs 41
  • linux 249
  • on 26
  • or 7
  • trac 8