buy xanax online buy xanax valium meridia mexico order meridia online watson brand soma soma sleep weight loss medication star jones weight loss medicine tamiflu order tamiflu canada zyban information buy zyban canada buy cialis online buy cheap cialis lexapro wellbutrin 10 lexapro mg lexapro pharmacy purchase geico car insurance cheap car insurance uk buy ativan online buy lorazepam online buy viagra viagra sale online xanax cod order xanax online rolex dealer imitation rolex watch drug klonopin wafer ic clonazepam info buy viagra buy viagra online purchase generic prilosec discount pharmacy prilosec purchase tamiflu online pharmacy tamiflu generic nexium pneumonia blue cross health insurance california health insurance propecia on line finasteride propecia xenical sale xenical weight loss cheap phentermine phentermine diet pill weight loss used rolex watch online lady rolex watch buy xanax on line xanax drug klonopin vs xanax pill clonazepam description drug store pharmacy online cheap online pharmacy order alprazolam alprazolam order soma carisoprodol brand carisoprodol collins acupuncture weight loss perricone diet weight loss paxil xr buy paxil online alprazolam teva order alprazolam online order paxil online paxil benefit herbal viagra buy viagra order lorazepam online lorazepam dose 2mg bipolar and zoloft order zoloft online buy adipex online cheap adipex online diazepam medication valium diazepam web.com order xanax online xanax drug online pharmacy cheap online pharmacy viagra information cheap viagra order viagra online buy viagra purchase generic ambien ambien buying online drug for impotence levitra levitra vendita weight loss supplement la weight loss center buy cheap cialis cialis dosage didrex mexico order didrex online alprazolam xanax alprazolam information valium picture valium buying online buy carisoprodol online bulk carisoprodol mexico adipex prescription buy adipex online argento soma soma muscle uk personal secured loan personal bank loan swiss replica rolex watch authorized rolex dealer order propecia online propecia effectiveness purchase cheap carisoprodol discount carisoprodol info viagra sale online order viagra online prevacid prilosec pill discount pharmacy prilosec purchase bontril slow release capsule buy bontril online melfiat 105mg phendimetrazine capsule phendimetrazine cod line canada lowest nexium price nexium purple pill prozac statistics generic prozac information buy prozac online prozac prescription aetna health insurance individual health insurance phentermine pill buy phentermine online lowest price phentermine phentermine adipex ionamin cheap levitra prescription cost levitra pill car insurance uk auto insurance car insurance clonazepam anti anxiety buy clonazepam online purchase cialis online cialis for woman buying viagra order viagra on line buy phentermine online phentermine online pharmacy generic lexapro medication purchase lexapro line cheapest car insurance cheap car insurance uk michigan health insurance health insurance ca zoloft for premature ejaculation depressio zoloft book celexa listing orange celexa 20 mg celexa 20mg buy cheap meridia prescription buy meridia online buy zyban online order zyban online order valium online prescription valium compare didrex price didrex online pharmacy buy valium online valium picture discontinuing celexa order celexa online ambien cod ambien online pharmacy phentermine on line phentermine prescription 2 bontril by order pm bontril 35mg by mallinckrodt melfiat 105mg phendimetrazine capsule purchase phendimetrazine info buy cheap xenical cheapest xenical secured personal loan no credit personal loan personal student loan bad credit personal loan adipex price order adipex online zolpidem tartrate order ambien online canadian pharmacy online en language online pharmacy buy soma carisoprodol generic soma cheapest diazepam buy diazepam online buy ambien online ambien lowest price information on diazepam order diazepam online order lorazepam online ativan drug medication viagra sample buy viagra online

FOO!

Trac Installation Guide

The Trac web-based project management tool is implemented as a CGI- or standalone program. Trac is written in the Python programming language and uses the SQLite embedded database for persistant storage. For HTML rendering, Trac uses the Clearsilver template system.

Requirements

To install Trac, the following software packages must be installed:

  • Python, version >= 2.1 (>=2.3 recommended).
    • Please keep in mind, that for RPM-based systems you will also need python-devel and python-xml packages.
  • Subversion, version >= 1.0. (>=1.1 recommended)
  • Subversion Python bindings (Caveat: Trac uses the SWIG bindings included in the Subversion distribution, not the PySVN package!)
  • SQLite, version 2.8.x or 3.0.x
  • PySQLite, version >= 0.5 but < 1.1.0 (for SQLite 2.8.x), version >= 1.1.1 (for SQLite 3.0.x)
  • Clearsilver, version >= 0.9.3
  • docutils, version >= 0.3.3 (??)
  • A CGI-capable web server (tested on Apache )

Optional Packages

Installing Trac

Like most Python programs, install the Trac python modules by running the following command at the top of the source directory:

$ python ./setup.py install

This will byte-compile the python source code and install it in the site-packages directory of your python installation. The directories cgi-bin, templates, htdocs and wiki-default are all copied to $prefix/share/trac/ .

The script will also install the trac-admin command-line tool, used to create and maintain project environments.

The trac-admin program is the control center for Trac.

Note: you'll need root permissions or equivalent for this step.

For more information on installing Trac on specific platforms, see the TracInstallPlatforms page (on the main project web site).

Advanced Users

To install Trac in a custom location, and view other advanced install options, run:

$ python ./setup.py --help

Creating a Project Environment

TracEnvironment is the backend storage format where Trac stores information like wiki pages, tickets, reports, settings, etc. An environment consist of a directory containing an SQLite database, human-readable configuration file, log-files and attachments.

A new Trac environment is created using trac-admin, like:

$ trac-admin /path/to/projectenv initenv

trac-admin will ask you where your subversion repository is located and where it can find the trac templates directory (the default value should work for a typical install).

Note: The web server user will require file system write permission to the environment directory and all the files inside. Remember to set the appropriate permissions.

The same applies for the subversion repository files (unless using the FSFS Subversion backend, something we highly recommend.

Configuring Apache

Make "trac/cgi-bin/trac.cgi" accessible to your web server at /cgi-bin/, either by copying/symlinking or use the "trac/cgi-bin/" directory directly.

Edit the apache config and add this snippet, filenames edited to match your installation:

Alias /trac/ "/usr/share/trac/htdocs/" #or where you installed the trac htdocs
#You have to allow people to read the files in htdocs
<Directory "/usr/share/trac/htdocs">
	Options Indexes MultiViews
	AllowOverride None
	Order allow,deny
	Allow from all
</Directory>


# Trac need to know where the database is located
<Location "/cgi-bin/trac.cgi">
	SetEnv TRAC_ENV "/path/to/projectenv"
</Location>

# You need this to allow users to authenticate
# trac.htpasswd can be created with 
# cmd 'htpasswd -c trac.htpasswd' (UNIX)
# do 'man htpasswd' to see all the options
<Location "/cgi-bin/trac.cgi/login">
	AuthType Basic
	AuthName "trac"
	AuthUserFile /somewhere/trac.htpasswd
	Require valid-user
</Location>

Note: If Apache complains about the Set'Env line make sure you have the Load'Module for mod_env uncommented (Apache 1.3).

Note: When creating a new environment, trac-admin will print a config snippet customized for your project.

Note: If you are using Apache suEXEC feature see ApacheSuexec (on the project web site).

Using Trac

Congratulations! You should now have a running Trac installation at:

http://<yourhostname>/cgi-bin/trac.cgi

You should be able to browse your subversion repository, create tickets, view the timeline and use all the features of Trac.

Keep in mind that anonymous users (not logged in) can only access a restricted subset of all Trac features by default.

Note: If you don't want long, and relatively ugly, URLs, you can prettify them by changing your Apache config. See TracPrettyUrls (on the project website).

Please continue to TracPermissions to learn how to grant additional privileges to authenticated users.

For user documentation, see TracGuide.

Enjoy!

The Trac Team


See also: TracGuide, TracUpgrade, TracPermissions, TracInstallPlatforms, TracModPython