<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Debian Tutorials &#187; trac</title>
	<atom:link href="http://www.debiantutorials.com/tag/trac/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.debiantutorials.com</link>
	<description>Copy/Paste tutorials for Debian based Linux distros</description>
	<lastBuildDate>Tue, 27 Dec 2011 01:15:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Installing and configuring Trac and Subversion on squeeze</title>
		<link>http://www.debiantutorials.com/installing-and-configuring-trac-and-subversion-on-squeeze/</link>
		<comments>http://www.debiantutorials.com/installing-and-configuring-trac-and-subversion-on-squeeze/#comments</comments>
		<pubDate>Tue, 09 Aug 2011 20:59:24 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[trac]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=377</guid>
		<description><![CDATA[Trac is an enhanced wiki and issue tracking system for software development projects. Trac uses a minimalistic approach to web-based software project management. Trac allows wiki markup in issue descriptions and commit messages, creating links and seamless references between bugs, tasks, changesets, files and wiki pages. A timeline shows all current and past project events [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.debiantutorials.com/wp-content/uploads/2011/08/trac.jpg" alt="Trac" align="right" style="margin-left:10px" />Trac is an enhanced wiki and issue tracking system for software development projects. Trac uses a minimalistic approach to web-based software project management.</p>
<p>Trac allows wiki markup in issue descriptions and commit messages, creating links and seamless references between bugs, tasks, changesets, files and wiki pages. A timeline shows all current and past project events in order, making the acquisition of an overview of the project and tracking progress very easy. The roadmap shows the road ahead, listing the upcoming milestones. </p>
<p><strong>Install and configure Trac and subversion</strong></p>
<p>1. Install required packages for both Trac and Subversion. We'll be using Apache to publish the Subversion repositories</p>
<p><code>apt-get install python-setuptools trac subversion libapache2-svn libapache2-mod-python<br />
a2enmod dav_fs<br />
</code><span id="more-377"></span></p>
<p>2. Create a template SVN repository which we will copy later to create new repositories.</p>
<p><code>mkdir /var/svn/<br />
mkdir /var/svn/tmpproject<br />
mkdir /var/svn/tmpproject/branches<br />
mkdir /var/svn/tmpproject/tags<br />
mkdir /var/svn/tmpproject/trunk</code></p>
<p>3. Enable the Apache SVN module</p>
<p><code>a2enmod dav_fs<br />
</code></p>
<p>4. Create a password file containing users that have access to the Subversion repositories and Trac</p>
<p><code>htpasswd -c /etc/apache2/svn.passwd user1<br />
htpasswd /etc/apache2/svn.passwd user2<br />
</code></p>
<p>5. Edit the apache configurations to enable Trac and Subversion SVN (pico /etc/apache2/sites-enabled/000-default). Add the following lines:</p>
<p><code>&lt;Location /svn&gt;<br />
DAV svn<br />
SVNParentPath /var/svn<br />
SVNAutoversioning on<br />
AuthType Basic<br />
AuthName "Subversion Repository"<br />
AuthUserFile /etc/apache2/svn.passwd<br />
Require valid-user<br />
&lt;/Location&gt;<br />
&lt;Location "/trac"&gt;<br />
SetHandler mod_python<br />
PythonHandler trac.web.modpython_frontend<br />
PythonOption TracEnvParentDir /var/trac/<br />
PythonOption TracUriRoot /trac<br />
AuthType Basic<br />
AuthName "Trac"<br />
AuthUserFile /etc/apache2/svn.passwd<br />
Require valid-user<br />
&lt;/Location&gt;<br />
</code></p>
<p>6. Create a directory for Trac projects</p>
<p><code>mkdir /var/trac<br />
</code></p>
<p><strong>Create the first project</strong></p>
<p>1. Create a subversion repository and import the directory structure from the tmpproject template</p>
<p><code>svnadmin create /var/svn/myproject --fs-type fsfs<br />
svn import /var/svn/tmpproject file:///var/svn/myproject -m "initial import"<br />
find /var/svn/myproject -type f -exec chmod 660 {} \;<br />
find /var/svn/myproject -type d -exec chmod 2770 {} \;<br />
chown -R root.www-data /var/svn/myproject<br />
</code></p>
<p>2. Create the Trac project</p>
<p><code>trac-admin /var/trac/myproject initenv<br />
find /var/trac/myproject -type f -exec chmod 660 {} \;<br />
find /var/trac/myproject -type d -exec chmod 2770 {} \;<br />
chown -R root.www-data /var/trac/myproject<br />
</code></p>
<p>3. Restart Apache</p>
<p><code>/etc/init.d/apache2 restart<br />
</code></p>
<p>4. Give a user administrator permissions to the project</p>
<p><code>trac-admin /var/trac/myproject<br />
permission add user1 TRAC_ADMIN<br />
</code></p>
<p>You can now access your Trac project by browsing with your favorite browser to http://localhost/trac/myproject.</p>
<p>To access the Subversion reposatory you can use any Subversion client. If you're using Windows, <a href="http://tortoisesvn.tigris.org/">TortoiseSVN</a> would be a good choice. The location to the new SVN repository is something like this: http://localhost/svn/myproject</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-and-configuring-trac-and-subversion-on-squeeze/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setup Trac and Subversion</title>
		<link>http://www.debiantutorials.com/setup-trac-and-subversion/</link>
		<comments>http://www.debiantutorials.com/setup-trac-and-subversion/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 23:38:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Etch]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[trac]]></category>

		<guid isPermaLink="false">http://debiantutorials.net/setup-trac-and-subversion/</guid>
		<description><![CDATA[Setup Trac and Subversion First install packages for both Trac and Subversion. We'll be using Apache to publish the Subversion reposatories apt-get install python-setuptools trac subversion libapache2-svn Create the SVN reposatory directory structure, used to create new reposatories later mkdir /var/svn/ mkdir /var/svn/tmpproject mkdir /var/svn/tmpproject/branches mkdir /var/svn/tmpproject/tags mkdir /var/svn/tmpproject/trunk Enable the Apache SVN module a2enmod [...]]]></description>
			<content:encoded><![CDATA[<p>Setup Trac and Subversion</p>
<p>First install packages for both Trac and Subversion. We'll be using Apache to publish the Subversion reposatories<br />
<code>apt-get install python-setuptools trac subversion libapache2-svn<br />
</code></p>
<p>Create the SVN reposatory directory structure, used to create new reposatories later<br />
<code>mkdir /var/svn/<br />
mkdir /var/svn/tmpproject<br />
mkdir /var/svn/tmpproject/branches<br />
mkdir /var/svn/tmpproject/tags<br />
mkdir /var/svn/tmpproject/trunk</code><span id="more-4"></span></p>
<p>Enable the Apache SVN module</p>
<p><code>a2enmod dav_fs<br />
</code></p>
<p>Create a password file containing users that have access to the Subversion reposatories and Trac<br />
<code>htpasswd -c /etc/apache2/svn.passwd user1<br />
htpasswd /etc/apache2/svn.passwd user2<br />
</code></p>
<p>Edit the apache configurations to enable Trac and Subversion SVN (pico /etc/apache2/sites-enabled/000-default). Add the following lines:<br />
<code>&lt;Location /svn&gt;<br />
DAV svn<br />
SVNParentPath /var/svn<br />
SVNAutoversioning on<br />
AuthType Basic<br />
AuthName "Subversion Repository"<br />
AuthUserFile /etc/apache2/svn.passwd<br />
Require valid-user<br />
&lt;/Location&gt;</code></p>
<p>&lt;Directory "/usr/share/trac/htdocs"&gt;<br />
Options Indexes MultiViews<br />
AllowOverride None<br />
Order allow,deny<br />
Allow from all<br />
&lt;/Directory&gt;</p>
<p>Alias /trac "/usr/share/trac/htdocs"<br />
Create a directory for Trac projects<br />
<code>mkdir /var/trac<br />
</code></p>
<p><strong>Create projects</strong></p>
<p>Subversion reposatory<br />
<code>svnadmin create /var/svn/myproject --fs-type fsfs<br />
svn import /var/svn/tmpproject file:///var/svn/myproject -m "initial import"<br />
find /var/svn/myproject -type f -exec chmod 660 {} \;<br />
find /var/svn/myproject -type d -exec chmod 2770 {} \;<br />
chown -R root.www-data /var/svn/myproject<br />
</code></p>
<p>Trac project<br />
<code>trac-admin /var/trac/myproject initenv<br />
find /var/trac/myproject -type f -exec chmod 660 {} \;<br />
find /var/trac/myproject -type d -exec chmod 2770 {} \;<br />
chown -R root.www-data /var/trac/myproject<br />
</code></p>
<p>Configure Apache to publish the new project (pico /etc/apache2/sites-enabled/000-default). Add the following lines:<br />
<code>ScriptAlias /projects/myproject /usr/share/trac/cgi-bin/trac.cgi<br />
a<br />
&lt;Location "/projects/myproject"&gt;<br />
SetEnv TRAC_ENV "/var/trac/myproject"<br />
&lt;/Location&gt;<br />
&nbsp;<br />
&lt;Location "/projects/myproject"&gt;<br />
AuthType Basic<br />
AuthName "Trac - myproject"<br />
AuthUserFile /etc/apache2/svn.passwd<br />
Require valid-user<br />
&lt;/Location&gt;<br />
</code></p>
<p>Restart Apache<br />
<code>/etc/init.d/apache2 force-reload<br />
</code></p>
<p>Give a user administrator permissions to the project<br />
<code>trac-admin /var/trac/myproject<br />
permission add user1 TRAC_ADMIN<br />
</code></p>
<p>You can now access your Trac project by browsing with your favorite browser to http://localhost/projects/myproject.</p>
<p>To access the Subversion reposatory you can use any Subversion client. If you're using Windows, <a href="http://tortoisesvn.tigris.org/">TortoiseSVN</a> would be a good choice.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/setup-trac-and-subversion/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
