valium forum phentermine on line xanax forum online vicodin side effects of diazepam cheap adipex hydrocodone apap drug fioricet zoloft lawsuits acyclovir zovirax buy soma online cheapest cialis buy tramadol online buy ambien viagra alternative smoking weightloss diet oxycodone detox discount phentermine cheap lamisil online pharmacy tramadol cheap viagra generic ultram biaxin without prescription generic adipex celexa & discontinuation symptoms fioricet buy cheap codeine xanax forum aura soma lexapro online ultracet effects of vicodin buy valium buy celebrex drugs ambien side effects order cialis buy hydrocodone online where to buy ephedrine effects of zoloft fioricet online buy xanax online cheap phentermine prescription adipex generic ambien biaxin side effects carisoprodol generic celebrex celexa buy cialis codeine buying ephedrine pills buy fioricet buy hydrocodone without prescription order hydrocodone lamisil cheap lexapro withdrawal phentermine side effects christina ricci prozac nation watson soma cheap tramadol no prescription ultracet buy cheap ultram buy valium buy viagra buy vicodin online buy xanax zoloft attorney buy aciphex actonel prescription acyclovir zovirax aldara cream allegra buy online altace amoxicillin rash atenolol ativan online arizona bextra recall biaxin buy online bupropion hcl butalbital buy online buy cialis claritin cheap ephedrine fioricet side effects hydrocodone without prescription buy lamisil buy levitra online alcohol and lexapro buy online lorcet meridia nasonex buying paxil attorney cheap phentermine buy online premarin propecia cheap buy cheap proscar online risperdal cheap soma synthroid dosage tadalafil tenuate on line online pharmacy tramadol valtrex mexico buy vicodin without a prescription vioxx claim xango mangosteen yasmin birth control pill zoloft what is zovirax zyprexahttp://hydrocodone.openswarm.com/ cheap adipex diazepam suicide buy fioricet buy hydrocodone online ionamin sale phentermine side effects buy valium online online vicodin side effects of xanax hydrocodone apap phentermine 37 5 prescription adipex diazepam fioricet buy hydrocodone online ionamin diet pill phentermine online valium forum vicodin addiction buy xanax buy viagra online blackjack books initial d gamble rumble online casino gambling online best online roulette free online poker texas holdem strategy celebrex cheap ampicillin amoxil antibiotics adipex prescriptions buy ambien effexor xr withdrawal clomid success accutane journals prozac forum side effects of prednisone lorazepam metformin and pioglitazone order xanax online wellbutrin xl side effects herbal viagra bontril diet pill generic didrex actos without prescription alprazolam online augmentin xr buspar codeine buying diazepam without prescription buy diflucan cheap flexeril imitrex ionamin diet pill buy neurontin no prescription protonix depression and provigil no prescription retin a buy cheap ultracet online ultram valium forum buy online vigrx low cost xenical online zocor purchase zyban cheap zyrtec buy cheap carisoprodol buy celexa buy ephedra how synthroid works generic tadalafil propecia hair treatment zoloft lawsuits xango distributors tramadol hcl vioxx claim cheapest cialis cheap acyclovir hydrocodone no prescription meridia side effects dangers of ephedrine watson soma phentermine side effects paxil yasmin 28 side effects of zyprexa vicodin tenuate dospan drug valtrex atenolol purchase altace levitra lexapro side effects wellbutrin bupropion arizona bextra recall aciphex cheap actonel prescription aldara allegra beck amoxicillin rash ativan addiction biaxin buy online butalbital cheap claritin fioricet side effects danger of lamisil buy lorcet buy nasonex premarin buying order proscar purchase risperdal what is zovirax

Trac Installation Guide

The Trac web-based project management tool is implemented as a server side cgi-program. Trac is written in the Python programming language and uses SQLite as an embedded database. For HTML rendering, Trac uses the Clearsilver template system.

Requirements

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

  • Python, version >= 2.1.
    • Please keep in mind, that for RPM-based systems you will also need python-devel and python-xml packages.
  • Subversion, version >= 0.37. (>=1.0.1 recommended)
  • Subversion Python bindings.
  • PySQLite, version >= 0.4.3 (>= 0.5 for better performance)
  • Clearsilver, version >= 0.9.3
  • A CGI-capable web server (we QA-test on Apache2 )

Installing Trac

$ 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. Trac-admin is the command center of Trac. Note: you'll need root permissions or equivalent for this step. For more information on installing Trac on specific platforms, see:

Advanced Users

To install Trac in a different location, and other advanced installation options, run:

$ python ./setup.py --help

Creating a Project Environment

Trac Environment is the backend storage format where Trac stores information like wiki pages, tickets, reports, settings, etc. A Trac environment consist of a directory containing an SQLite database, human-readable configuration file, log-files and attachments. A new Trac environment is created with trac-admin:

$ trac-admin /path/to/projectenv initenv

Note: The web server user need write permission to the environment directory and all the files inside. trac-admin will ask you where your subversion repository is located and where it can find the trac templates directory (the default value should be fine).

Configuring Apache

Copy (or symlink) "trac/cgi-bin/trac.cgi" to you web servers /cgi-bin/ directory. You can also configure apache to use the "trac/cgi-bin/" directory directly if you like, it's a matter of taste. Finally edit the apache config and add this config snippet, with filenams edited to match your installation:

Alias /trac/ "/usr/share/trac/htdocs/" #or where you installed the trac docs
#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: When creating a new environment, trac-admin will print a config snippet customized for your project.

Using Trac

You should now have a working Trac installation at: http://<yourhostname>/cgi-bin/trac.cgi There you should be able to browse your subversion repository, create tickets, view the timeline etc. Keep in mind that anonymous users (not logged in) can only access a restricted subset of all Trac features. Please continue to TracPermissions to learn how to grant additional privileges to authenticated users. For further user-documentation, see TracGuide?. Enjoy''


See also: TracGuide?, TracPermissions, TracOnFreeBsd, TracOnNetBsd, TracOnOsx, TracOnMandrakelinux, TracOnDebian, TracOnGentoo